Skip to content

Commit

Permalink
Adds missing flags to variable update
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaize Kaye committed Jan 30, 2025
1 parent a786312 commit 48409f6
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 add")
updateVariableCmd.Flags().StringP("value", "V", "", "Value of the variable to add")
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 add
-S, --scope string Scope of the variable[global, build, runtime, container_registry, internal_container_registry]
-V, --value string Value of the variable to add
```

### Options inherited from parent commands
Expand Down

0 comments on commit 48409f6

Please sign in to comment.