label commands: label list and label create #24

Closed
opened 2026-10-14 14:39:11 -05:00 by jeff · 0 comments
Owner

Reported by harrier, whose triage workflow creates labels.

What

Listing or creating a repository's labels now means zfj op issueListLabels / zfj op issueCreateLabel with JSON on stdin. Porcelain for it:

  • zfj label list [-R] [--json] — name, color, description.
  • zfj label create <name> --color <hex> [--description <text>] [-R].
  • Perhaps label edit and label delete, to settle at triage.

Open

  • Where fj puts these (fj label?) so the flags read the same.
  • Whether create should succeed quietly when the label already exists, which makes a triage setup script rerunnable.
Reported by harrier, whose triage workflow creates labels. ## What Listing or creating a repository's labels now means `zfj op issueListLabels` / `zfj op issueCreateLabel` with JSON on stdin. Porcelain for it: - `zfj label list [-R] [--json]` — name, color, description. - `zfj label create <name> --color <hex> [--description <text>] [-R]`. - Perhaps `label edit` and `label delete`, to settle at triage. ## Open - Where fj puts these (`fj label`?) so the flags read the same. - Whether `create` should succeed quietly when the label already exists, which makes a triage setup script rerunnable.
jeff closed this issue 2026-10-14 15:34:51 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jeff/zfj#24
No description provided.