Accept -f
as a shorthand for --skip-preview
on up
, refresh
and destroy
operations (#5556)
Fixes: #2321
This commit is contained in:
parent
156aa9862e
commit
095da7084c
|
@ -38,6 +38,9 @@ CHANGELOG
|
|||
- [cli] Ensure old secret provider variables are cleaned up when changing between secret providers
|
||||
[#5545](https://github.com/pulumi/pulumi/pull/5545)
|
||||
|
||||
- [cli] Accept `-f` as a shorthand for `--skip-preview` on `pulumi up`, `pulumi refresh` and `pulumi destroy` operations
|
||||
[#5556](https://github.com/pulumi/pulumi/pull/5556)
|
||||
|
||||
- [cli] Validate cloudUrl formats before `pulumi login` and throw an error if incorrect format specified
|
||||
[#5550](https://github.com/pulumi/pulumi/pull/5545)
|
||||
|
||||
|
|
|
@ -193,8 +193,8 @@ func newDestroyCmd() *cobra.Command {
|
|||
cmd.PersistentFlags().BoolVar(
|
||||
&showSames, "show-sames", false,
|
||||
"Show resources that don't need to be updated because they haven't changed, alongside those that do")
|
||||
cmd.PersistentFlags().BoolVar(
|
||||
&skipPreview, "skip-preview", false,
|
||||
cmd.PersistentFlags().BoolVarP(
|
||||
&skipPreview, "skip-preview", "f", false,
|
||||
"Do not perform a preview before performing the destroy")
|
||||
cmd.PersistentFlags().BoolVar(
|
||||
&suppressOutputs, "suppress-outputs", false,
|
||||
|
|
|
@ -186,8 +186,8 @@ func newRefreshCmd() *cobra.Command {
|
|||
cmd.PersistentFlags().BoolVar(
|
||||
&showSames, "show-sames", false,
|
||||
"Show resources that needn't be updated because they haven't changed, alongside those that do")
|
||||
cmd.PersistentFlags().BoolVar(
|
||||
&skipPreview, "skip-preview", false,
|
||||
cmd.PersistentFlags().BoolVarP(
|
||||
&skipPreview, "skip-preview", "f", false,
|
||||
"Do not perform a preview before performing the refresh")
|
||||
cmd.PersistentFlags().BoolVar(
|
||||
&suppressOutputs, "suppress-outputs", false,
|
||||
|
|
|
@ -454,8 +454,8 @@ func newUpCmd() *cobra.Command {
|
|||
&showReads, "show-reads", false,
|
||||
"Show resources that are being read in, alongside those being managed directly in the stack")
|
||||
|
||||
cmd.PersistentFlags().BoolVar(
|
||||
&skipPreview, "skip-preview", false,
|
||||
cmd.PersistentFlags().BoolVarP(
|
||||
&skipPreview, "skip-preview", "f", false,
|
||||
"Do not perform a preview before performing the update")
|
||||
cmd.PersistentFlags().BoolVar(
|
||||
&suppressOutputs, "suppress-outputs", false,
|
||||
|
|
Loading…
Reference in a new issue