LoopLoop

Labels

List, create, and delete labels using the loop CLI.

Labels

The labels command group manages labels for categorizing issues. Labels have a name and a color (hex code).

loop labels list

List all labels with pagination.

loop labels list [options]

Options

FlagDefaultDescription
--limit <n>50Maximum number of results
--offset <n>0Pagination offset

Example

loop labels list

Sample output

┌──────────────────────────┬──────────────┬─────────┬──────────┐
│ ID                       │ NAME         │ COLOR   │ CREATED  │
├──────────────────────────┼──────────────┼─────────┼──────────┤
│ clx1abc2def3ghi4jkl5mnop │ bug          │ #ef4444 │ 5d ago   │
│ clx2bcd3efg4hij5klm6nopq │ backend      │ #3b82f6 │ 5d ago   │
│ clx3cde4fgh5ijk6lmn7opqr │ performance  │ #f59e0b │ 3d ago   │
└──────────────────────────┴──────────────┴─────────┴──────────┘
Showing 3 of 3 labels

loop labels create

Create a new label with a name and color.

loop labels create --name <name> --color <color>

Options

FlagRequiredDescription
--name <name>YesLabel name
--color <color>YesLabel color (hex code)

Examples

loop labels create --name bug --color "#ef4444"
loop labels create --name infrastructure --color "#6366f1"

Sample output

Label created: bug (clx1abc2def3ghi4jkl5mnop)

loop labels delete

Delete a label by ID (soft-delete).

loop labels delete <id>

Arguments

ArgumentDescription
idLabel ID (CUID2)

Example

loop labels delete clx1abc2def3ghi4jkl5mnop

Sample output

Label clx1abc2def3ghi4jkl5mnop deleted.

Typical label workflow

# 1. List existing labels
loop labels list

# 2. Create a new label
loop labels create --name "agent-generated" --color "#8b5cf6"

# 3. Delete a label you no longer need
loop labels delete clx1abc2def3ghi4jkl5mnop