Skip to content

feat(create): allow --branch without value for interactive branch picker#453

Merged
henrikje merged 1 commit intomainfrom
create-branch-without-arg
Mar 28, 2026
Merged

feat(create): allow --branch without value for interactive branch picker#453
henrikje merged 1 commit intomainfrom
create-branch-without-arg

Conversation

@henrikje
Copy link
Copy Markdown
Owner

arb create --branch (no value) now opens an interactive branch picker
and derives the workspace name from the selected branch. Uses
Commander's optional value syntax so --branch alone sets true as a
sentinel while --branch preserves existing behavior.

Guards added for non-TTY (requires explicit value) and --yes (conflicts
with interactive picker). Shell completion updated for both bash and zsh.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

arb create --branch (no value) now opens an interactive branch picker
and derives the workspace name from the selected branch. Uses
Commander's optional value syntax so --branch alone sets true as a
sentinel while --branch <name> preserves existing behavior.

Guards added for non-TTY (requires explicit value) and --yes (conflicts
with interactive picker). Shell completion updated for both bash and zsh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@henrikje henrikje enabled auto-merge (rebase) March 28, 2026 21:28
@henrikje henrikje merged commit 619268b into main Mar 28, 2026
10 checks passed
@henrikje henrikje deleted the create-branch-without-arg branch March 28, 2026 21:32
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