cli: add missing -y short flag to iam create (#1572)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-31 11:26:14 -04:00 committed by GitHub
parent 66ee24b5b2
commit b8d6b110b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ func newIAMCreateCmd() *cobra.Command {
Args: cobra.ExactArgs(0),
}
cmd.PersistentFlags().Bool("yes", false, "create the IAM configuration without further confirmation")
cmd.PersistentFlags().BoolP("yes", "y", false, "create the IAM configuration without further confirmation")
cmd.PersistentFlags().Bool("generate-config", false, "automatically generate a configuration file and fill in the required fields")
cmd.PersistentFlags().StringP("kubernetes", "k", semver.MajorMinor(config.Default().KubernetesVersion), "Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config")

View File

@ -536,7 +536,7 @@ Create IAM configuration on a cloud platform for your Constellation cluster.
--generate-config automatically generate a configuration file and fill in the required fields
-h, --help help for create
-k, --kubernetes string Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config (default "v1.25")
--yes create the IAM configuration without further confirmation
-y, --yes create the IAM configuration without further confirmation
```
### Options inherited from parent commands
@ -576,7 +576,7 @@ constellation iam create aws [flags]
--force disable version compatibility checks - might result in corrupted clusters
--generate-config automatically generate a configuration file and fill in the required fields
-k, --kubernetes string Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config (default "v1.25")
--yes create the IAM configuration without further confirmation
-y, --yes create the IAM configuration without further confirmation
```
## constellation iam create azure
@ -608,7 +608,7 @@ constellation iam create azure [flags]
--force disable version compatibility checks - might result in corrupted clusters
--generate-config automatically generate a configuration file and fill in the required fields
-k, --kubernetes string Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config (default "v1.25")
--yes create the IAM configuration without further confirmation
-y, --yes create the IAM configuration without further confirmation
```
## constellation iam create gcp
@ -643,7 +643,7 @@ constellation iam create gcp [flags]
--force disable version compatibility checks - might result in corrupted clusters
--generate-config automatically generate a configuration file and fill in the required fields
-k, --kubernetes string Kubernetes version to use in format MAJOR.MINOR - only usable in combination with --generate-config (default "v1.25")
--yes create the IAM configuration without further confirmation
-y, --yes create the IAM configuration without further confirmation
```
## constellation iam destroy