feat(cli): add --local flag to skip push and PR creation#90
Merged
andoniaf merged 3 commits intonew-productfrom Apr 8, 2026
Merged
feat(cli): add --local flag to skip push and PR creation#90andoniaf merged 3 commits intonew-productfrom
andoniaf merged 3 commits intonew-productfrom
Conversation
Add a --local option to the create_check command that keeps all changes local without pushing to remote or creating a PR. This allows for further local validation before pushing. When --local is used: - Stage 6 (PR Creation) is skipped - Final results show instructions for manual push/PR creation - Warning is shown if --cleanup-worktree is also used
4 tasks
Add a comprehensive CLI options table documenting all available flags including --local, --no-worktree, and --cleanup-worktree.
Using both flags together would delete the worktree before changes are pushed, causing the user to lose their work. This adds upfront validation to prevent this invalid combination. Also updates the README --local example for consistency with other examples that show the branch option.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--localoption to thecreate_checkcommand that keeps all changes local without pushing to remote or creating a PRChanges
When
--localis used:--cleanup-worktreeis also used (since changes haven't been pushed)Test plan
--localflag → Push and PR creation happen (existing behavior)--localflag → All stages 1-5 complete, no push/PR, shows manual commands--local --cleanup-worktree→ Shows warning about unpushed changes before cleanupgit branchafter running with--local