Skip to content

Commit

Permalink
Merge pull request #23 from benammann/gs-22-fix-set-secret-cmd
Browse files Browse the repository at this point in the history
(fix) #22 adds missing --value flag to set secret cmd
  • Loading branch information
benammann committed Jun 20, 2022
2 parents b2468ab + d3f14a4 commit 918357e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func init() {
for _, cmd := range []*cobra.Command{setConfigCmd, setSecretCmd} {
cmd.Flags().Bool(FlagForce, false, "use --force to overwrite an existing value")
}
setSecretCmd.Flags().String(FlagValue, "", "--value <secretValue>: This is insecure, use --value $ENV_VALUE to not write the secret value to the history file.")
rootCmd.AddCommand(setCmd)
setCmd.AddCommand(setConfigCmd)
setCmd.AddCommand(setSecretCmd)
Expand Down

0 comments on commit 918357e

Please sign in to comment.