maton github label create

maton github label create <name> [flags]

Create a new label. The color is a 6-character hex string (no leading #). When –force is set, an existing label with the same name is patched in place rather than producing a 422.

Options

-c, --color <string>
Label color in 6-character hex (e.g. d73a4a)
--connection <string>
Connection ID to route through (Maton-Connection header)
-d, --description <string>
Label description
--dry-run
Print the request that would be sent without executing it
-f, --force
Update the label if it already exists
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--paginate
Follow next_cursor and concatenate all pages (list commands only)
-R, --repo <owner/repo>
Target repository in owner/repo form (required)
--template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton github label create bug --repo maton-ai/cli --color d73a4a --description "Something isn't working"
$ maton github label create bug --repo maton-ai/cli --color d73a4a --force

See also