Skip to content

Commit 48409f6

Browse files
author
Blaize Kaye
committed
Adds missing flags to variable update
1 parent a786312 commit 48409f6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

cmd/variables.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,8 @@ func init() {
166166
addVariableCmd.Flags().StringP("name", "N", "", "Name of the variable to add")
167167
addVariableCmd.Flags().StringP("value", "V", "", "Value of the variable to add")
168168
addVariableCmd.Flags().StringP("scope", "S", "", "Scope of the variable[global, build, runtime, container_registry, internal_container_registry]")
169+
updateVariableCmd.Flags().StringP("name", "N", "", "Name of the variable to add")
170+
updateVariableCmd.Flags().StringP("value", "V", "", "Value of the variable to add")
171+
updateVariableCmd.Flags().StringP("scope", "S", "", "Scope of the variable[global, build, runtime, container_registry, internal_container_registry]")
169172
deleteVariableCmd.Flags().StringP("name", "N", "", "Name of the variable to delete")
170173
}

docs/commands/lagoon_update_variable.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ lagoon update variable [flags]
99
### Options
1010

1111
```
12-
-h, --help help for variable
12+
-h, --help help for variable
13+
-N, --name string Name of the variable to add
14+
-S, --scope string Scope of the variable[global, build, runtime, container_registry, internal_container_registry]
15+
-V, --value string Value of the variable to add
1316
```
1417

1518
### Options inherited from parent commands

0 commit comments

Comments
 (0)