Summary
The help command should have --name=<name> --value=<value> in the Usage section. It currently omits these required fields.
$ ./coder parameters create --help
Usage:
coder parameters create <scope> [name] [flags]
Also we should provide examples with concrete values, as it's unclear what the second arg is. The function takes exactly 2 arguments, but <scope> is a single value.
We need to correct the usage, and ideally provide concrete examples with Cobra's Example: "coder parameters create arg1 arg2 --name=SomeName --value=SomeValue" field
Summary
The help command should have
--name=<name> --value=<value>in the Usage section. It currently omits these required fields.Also we should provide examples with concrete values, as it's unclear what the second arg is. The function takes exactly 2 arguments, but
<scope>is a single value.We need to correct the usage, and ideally provide concrete examples with Cobra's
Example: "coder parameters create arg1 arg2 --name=SomeName --value=SomeValue"field