Skip to content

Commit

Permalink
Make --keychain-passphrase flag persistent (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
majd authored Jun 7, 2023
1 parent 9db93c8 commit b031cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func rootCmd() *cobra.Command {
}, enumflag.EnumCaseSensitive), "format", "", "sets output format for command; can be 'text', 'json'")
cmd.PersistentFlags().BoolVar(&verbose, "verbose", false, "enables verbose logs")
cmd.PersistentFlags().BoolVarP(&nonInteractive, "non-interactive", "", false, "run in non-interactive session")
cmd.Flags().StringVar(&keychainPassphrase, "keychain-passphrase", "", "passphrase for unlocking keychain")
cmd.PersistentFlags().StringVar(&keychainPassphrase, "keychain-passphrase", "", "passphrase for unlocking keychain")

cmd.AddCommand(authCmd())
cmd.AddCommand(downloadCmd())
Expand Down

0 comments on commit b031cd2

Please sign in to comment.