mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
refactor: changed short opts for secret store
This commit is contained in:
parent
daa7a32b14
commit
8f96a2f686
1 changed files with 2 additions and 2 deletions
|
|
@ -252,8 +252,8 @@ var secretsRemoveCmd = &cobra.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
secretsCmd.Flags().StringVarP(&secretsFile, "output-file", "o", "nodes.json", "set the secrets file with BMC credentials")
|
secretsCmd.Flags().StringVarP(&secretsFile, "file", "f", "nodes.json", "set the secrets file with BMC credentials")
|
||||||
secretsStoreCmd.Flags().StringVarP(&secretsStoreFormat, "format", "f", "basic", "set the input format for the secrets file (basic|json|base64)")
|
secretsStoreCmd.Flags().StringVarP(&secretsStoreFormat, "format", "F", "basic", "set the input format for the secrets file (basic|json|base64)")
|
||||||
secretsStoreCmd.Flags().StringVarP(&secretsStoreInputFile, "input-file", "i", "", "set the file to read as input")
|
secretsStoreCmd.Flags().StringVarP(&secretsStoreInputFile, "input-file", "i", "", "set the file to read as input")
|
||||||
|
|
||||||
secretsCmd.AddCommand(secretsGenerateKeyCmd)
|
secretsCmd.AddCommand(secretsGenerateKeyCmd)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue