Skip to content

feat: prompt for root branch name on stack create - #41

Merged
jondeibel merged 1 commit into
mainfrom
feat/stack-create-branch-prompt
Mar 10, 2026
Merged

jondeibel merged 1 commit into
mainfrom
feat/stack-create-branch-prompt

Conversation

@jondeibel

Copy link
Copy Markdown
Owner

Summary

  • gw stack create now prompts for the root branch name interactively instead of always using the stack name
  • New --branch flag lets you skip the prompt and pass the name directly
  • Non-TTY environments (CI, MCP server) fall back to the stack name as default

Test plan

  • All 146 existing tests pass (non-TTY falls back to stack name, preserving backward compat)
  • Manual test: gw stack create foo prompts for branch name, enter accepts default
  • Manual test: gw stack create foo --branch bar creates branch bar without prompting

🤖 Generated with Claude Code

stack create now asks for the root branch name interactively instead of
always using the stack name. You can also pass --branch to skip the
prompt. Non-TTY environments fall back to the stack name as default.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jondeibel
jondeibel merged commit 182b8c6 into main Mar 10, 2026
1 check passed
@jondeibel
jondeibel deleted the feat/stack-create-branch-prompt branch March 10, 2026 11:52
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