ashlr__issue_close
Close a GitHub issue via the gh CLI. Set ASHLR_REQUIRE_GH_CONFIRM=1 for explicit confirmation before destructive operations.
ashlr__issue_close closes a GitHub issue via the gh CLI.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
issue | number | yes | Issue number to close. |
comment | string | no | Optional comment to post before closing. |
reason | "completed" | "not_planned" | no | Optional close reason |
repo | string | no | owner/repo (default: auto-detect from cwd git remote) |
confirm | boolean | no | Required when ASHLR_REQUIRE_GH_CONFIRM=1 |
Notes
- Requires
ghCLI to be installed and authenticated. - Set
ASHLR_REQUIRE_GH_CONFIRM=1to require explicit confirmation before closing. - Closing is not reversible via this tool — reopen through the GitHub UI or
gh issue reopen.
Related
ashlr__issue_create— create an issueashlr__issue— read an issue- Capabilities matrix