Skip to content

Bug: parameters create --help usage is incorrect, needs examples #495

Closed
@Emyrk

Description

@Emyrk

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

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions