Skip to content

garden label

Manage a repository’s labels

Terminal window
garden label

Create a label

Terminal window
garden label create <name>
Flag Type Default Description
--color string Hex color, e.g. #d73a4a
--description string Description
--json bool Output as JSON
-o, --org string Organization slug (defaults to the checkout’s org)
-R, --repo string Repository slug (defaults to the current checkout)

Delete a label (removes it from all PRs)

Terminal window
garden label delete <name>

Aliases: rm

Flag Type Default Description
-o, --org string Organization slug (defaults to the checkout’s org)
-R, --repo string Repository slug (defaults to the current checkout)

Update a label’s color or description

Terminal window
garden label edit <name>

Aliases: update

Flag Type Default Description
--color string New hex color, e.g. #d73a4a
--description string New description
--json bool Output as JSON
-o, --org string Organization slug (defaults to the checkout’s org)
-R, --repo string Repository slug (defaults to the current checkout)

List the repository’s labels

Terminal window
garden label list

Aliases: ls

Flag Type Default Description
--json bool Output as JSON
-o, --org string Organization slug (defaults to the checkout’s org)
-R, --repo string Repository slug (defaults to the current checkout)