From a62a753656164f66c8a486ad06c3c9d7c2c663e0 Mon Sep 17 00:00:00 2001 From: codex-bot-andresmgsl <4+codex-bot-andresmgsl@users.noreply.github.com> Date: Tue, 18 Aug 2026 00:46:47 +0000 Subject: [PATCH] Document issue create labels --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d80322d..d2a3b28 100644 --- a/README.md +++ b/README.md @@ -432,13 +432,17 @@ Options: -b, --body issue body (markdown) --body-file read the issue body from a file --assignee assign the issue to one or more users + --label apply one or more labels by name ``` ```bash -stoke issue create -o heavy-duty -r stoke -t "Ship v2" --body-file body.md +stoke issue create -o heavy-duty -r stoke -t "Ship v2" --body-file body.md \ + --label ready --label enhancement ``` -Calls `POST /api/v1/repos/{owner}/{repo}/issues`. +Requested label names are resolved through the paginated repository label list, +then their numeric IDs are included in `POST /api/v1/repos/{owner}/{repo}/issues`. +An unknown label fails before the issue is created. ### `stoke issue show`