Skip to content

feat(create): add stepwise interactive prompts when no args given#23

Merged
jamesjohnsdev merged 1 commit into
mainfrom
dev
Jun 18, 2026
Merged

feat(create): add stepwise interactive prompts when no args given#23
jamesjohnsdev merged 1 commit into
mainfrom
dev

Conversation

@jamesjohnsdev

@jamesjohnsdev jamesjohnsdev commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Mirrors UX: prompts for title, body editor,
labels, assignees, and milestone in sequence. Empty or
whitespace-only title aborts without creating a file.

Also adds injectStdin/readMDFiles test helpers, TestCreateInteractive
(9 subtests), and FuzzCreateInteractive covering all prompt fields.


Summary by cubic

Adds an interactive mode to create when no args are given, prompting for title, optional body (via editor), labels, assignees, and milestone. Also tightens arg handling to create [title] and aborts cleanly on empty titles.

  • New Features
    • No-arg run enters prompts; type e to open body in $VISUAL/$EDITOR if set.
    • Empty/whitespace-only title cancels with no file created.
    • Filenames use next T-number and a slug from the title.
    • Accepts at most one arg; with a title arg, opens editor if available; --editor still requires $VISUAL/$EDITOR.

Written for commit 7d8c141. Summary will update on new commits.

Review in cubic

Mirrors  UX: prompts for title, body editor,
labels, assignees, and milestone in sequence. Empty or
whitespace-only title aborts without creating a file.

Also adds injectStdin/readMDFiles test helpers, TestCreateInteractive
(9 subtests), and FuzzCreateInteractive covering all prompt fields.
@jamesjohnsdev jamesjohnsdev merged commit 3f9a4d4 into main Jun 18, 2026
6 checks passed
@jamesjohnsdev jamesjohnsdev deleted the dev branch June 18, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant