issue close: leave a closing comment with -c/--comment or -F #22
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jeff/zfj#22
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported by harrier, which is moving its issue workflow from fj to zfj.
What
zfj issue close <n> -c <text>(and-F <file>,-for stdin) posts the comment, then closes the issue — the convention of closing with a word on why, in one command rather thanissue commentfollowed byissue close.Decided
-cis fj's spelling and gh's (gh issue close -c).-Freads a file, as forcomment. No editor is opened: without either flag,closecloses with no comment, as now.Done when
issue close <n> -c "..."leaves the comment on the issue and the issue closed; the VM test checks it, and docs/agents/issue-tracker.md's Close line says to use it.