refactor: added flag to set secrets file for crawl

This commit is contained in:
David Allen 2025-03-20 09:11:21 -06:00 committed by David Allen
parent 149fcaec6d
commit 8866dff307
Signed by: towk
GPG key ID: 0430CDBE22619155
2 changed files with 2 additions and 1 deletions

View file

@ -215,7 +215,7 @@ var secretsRemoveCmd = &cobra.Command{
}
func init() {
secretsCmd.Flags().StringVarP(&secretsFile, "file", "f", "nodes.json", "")
secretsCmd.Flags().StringVarP(&secretsFile, "file", "f", "nodes.json", "set the secrets file with BMC credentials")
secretsStoreCmd.Flags().StringVar(&secretsStoreFormat, "format", "json", "set the input format for the secrets file (json|base64)")
secretsStoreCmd.Flags().StringVarP(&secretsStoreInputFile, "input-file", "i", "", "set the file to read as input")