Skip to content

Commit

Permalink
chore: add missing phase option to node cli command (#4825)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark White <mark@markwhite.com>
  • Loading branch information
markterm committed Jan 5, 2021
1 parent f0a315c commit 5f8a83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argo/commands/node.go
Expand Up @@ -91,6 +91,7 @@ func NewNodeCommand() *cobra.Command {
},
}
command.Flags().StringVar(&setArgs.nodeFieldSelector, "node-field-selector", "", "Selector of node to set, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
command.Flags().StringVar(&setArgs.phase, "phase", "", "Phase to set the node to, eg: --phase Succeeded")
command.Flags().StringArrayVarP(&setArgs.outputParameters, "output-parameter", "p", []string{}, "Set a \"supplied\" output parameter of node, eg: --output-parameter parameter-name=\"Hello, world!\"")
command.Flags().StringVarP(&setArgs.message, "message", "m", "", "Set the message of a node, eg: --message \"Hello, world!\"")
return command
Expand Down
1 change: 1 addition & 0 deletions docs/cli/argo_node.md
Expand Up @@ -30,6 +30,7 @@ argo node ACTION WORKFLOW FLAGS [flags]
-m, --message string Set the message of a node, eg: --message "Hello, world!"
--node-field-selector string Selector of node to set, eg: --node-field-selector inputs.paramaters.myparam.value=abc
-p, --output-parameter stringArray Set a "supplied" output parameter of node, eg: --output-parameter parameter-name="Hello, world!"
--phase string Phase to set the node to, eg: --phase Succeeded
```

### Options inherited from parent commands
Expand Down

0 comments on commit 5f8a83a

Please sign in to comment.