Summary
Three subcommands (issue create, issue refresh, issue dispatch), the $EDITOR helper, output formatters, and the main CLI entry point.
Tasks
Body overflow handling
When body > BODY_LIMIT (65 000 chars):
issue create → hard error unless --non-interactive (truncates + posts overflow as comment)
issue refresh → silently truncates + posts overflow as comment
Acceptance criteria
bun run build succeeds
./dist/github-issue-ops --help shows all commands
./dist/github-issue-ops issue create --help lists all flags
--dry-run prints body without calling GitHub API
Summary
Three subcommands (
issue create,issue refresh,issue dispatch), the$EDITORhelper, output formatters, and the main CLI entry point.Tasks
src/output/format.ts—buildEpicBody,buildSubIssueBody,buildPlanTable,bodyLengthWarning,splitBodyAtLimit,printDispatchSummarysrc/tui/editor.ts—openEditor(content),resolveEditor()(respects$VISUAL→$EDITOR→vi)src/commands/create.ts—issue createaction: stdin → EPIC issue + overflow commentsrc/commands/refresh.ts—issue refreshaction: diff + update + metadata patchsrc/commands/dispatch.ts—issue dispatchaction: plan table + per-repo sub-issuesgithub-issue-ops.ts— Commander entry point,--non-interactive,--dry-run,upgradecommandBody overflow handling
When body >
BODY_LIMIT(65 000 chars):issue create→ hard error unless--non-interactive(truncates + posts overflow as comment)issue refresh→ silently truncates + posts overflow as commentAcceptance criteria
bun run buildsucceeds./dist/github-issue-ops --helpshows all commands./dist/github-issue-ops issue create --helplists all flags--dry-runprints body without calling GitHub API