src label create

Create Label

Usage

src label create [flags]

Examples

Create label interactively

src label create

Create label with name

src label create --name bug

Create label with custom color (hex)

src label create --name urgent --color ff0000

Create label with custom slug

src label create --name "Help Wanted" --slug help-wanted

Create label in another repository

src label create --name bug -R foo/bar

Flags

Flag Description
--silent
--name string label name
--slug string optional, default slug is generated from name
--color string optional, default color is gray

Inherited flags

Flag Description
--env string Override Sourcecraft environment (use 'src envs' to list available)
--json string Output JSON, optionally filtered (--json or --json=field1,field2)
--json-compact string Output compact JSON, optionally filtered
--plain Output without colors/styling (for LLM consumption)
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

Use src label create <subcommand> --help for more information about a command.

Предыдущая
Следующая