Skip to content

Commit

Permalink
Merge pull request #418 from uselagoon/hotfix/fixes_flags_in_var_update
Browse files Browse the repository at this point in the history
fix: Adds missing flags to variable update
  • Loading branch information
bomoko authored Jan 30, 2025
2 parents a786312 + ba83cbe commit b20e333
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cmd/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,8 @@ func init() {
addVariableCmd.Flags().StringP("name", "N", "", "Name of the variable to add")
addVariableCmd.Flags().StringP("value", "V", "", "Value of the variable to add")
addVariableCmd.Flags().StringP("scope", "S", "", "Scope of the variable[global, build, runtime, container_registry, internal_container_registry]")
updateVariableCmd.Flags().StringP("name", "N", "", "Name of the variable to update")
updateVariableCmd.Flags().StringP("value", "V", "", "Value of the variable to update")
updateVariableCmd.Flags().StringP("scope", "S", "", "Scope of the variable[global, build, runtime, container_registry, internal_container_registry]")
deleteVariableCmd.Flags().StringP("name", "N", "", "Name of the variable to delete")
}
5 changes: 4 additions & 1 deletion docs/commands/lagoon_update_variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ lagoon update variable [flags]
### Options

```
-h, --help help for variable
-h, --help help for variable
-N, --name string Name of the variable to update
-S, --scope string Scope of the variable[global, build, runtime, container_registry, internal_container_registry]
-V, --value string Value of the variable to update
```

### Options inherited from parent commands
Expand Down

0 comments on commit b20e333

Please sign in to comment.