refactor: added flag to set secrets file for crawl

This commit is contained in:
David Allen 2025-03-20 09:11:21 -06:00
parent 41346aebbb
commit 7990ec097d
Signed by: towk
GPG key ID: 793B2924A49B3A3F
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")