Skip to content
[ 03 ]Commands

copia-cli label edit

copia-cli label edit <name> [flags]

Update a label in a Copia repository.

A label can be renamed using the --name flag.

The label color needs to be a 6 character hex value; a leading # is dropped.

Options

-c, --color <string>
Color of the label
-d, --description <string>
Description of the label
-n, --name <string>
New name of the label

Options inherited from parent commands

--host <string>
Target Copia host
-R, --repo <string>
Select repository (owner/repo)
--token <string>
Authentication token

Examples

# Update the color of the bug label
$ copia-cli label edit bug --color FF0000

# Rename and edit the description of the bug label
$ copia-cli label edit bug --name big-bug \
    --description "Bigger than normal bug"

See also