feat: ez config + draft, no-pr, default-from, rerere#9
Merged
Conversation
Adds ez config list/get/set subcommands to view and update repo settings. Supported keys: trunk, remote, default_from, repo. New optional fields in StackState are backward-compatible with existing stack.json files. Closes #8.
This was referenced Apr 12, 2026
This was referenced Apr 13, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Adds
ez config list/get/setfor post-init configuration.Changes
ez configcommand withlist,get,setsubcommandsdraft(bool),no_pr(bool),rerere(bool) with validationdefault_fromwired intoez create— when on trunk with no--from, uses config--no-prflag onez push— push without creating/updating a PR--no-draftflag onez push/ez submit— override draft configez initprompts to enablegit rererewithrr-cachefallbackstack.jsonloads fine)Commits (6)
93afc5bfeat: add ez config command for post-init configurationa834a5afeat: add draft, no_pr, rerere config keys with bool validationf979f00feat: wire default_from config into ez createb803bdefeat: add --no-pr, --no-draft flags and wire draft config into push/submitf4389d3feat: add rerere prompt to ez init with fallback to rr-cache directorya538d55test: add draft/no-pr resolution and stack ancestor edge case testsResolves #5
Resolves #7
Resolves #8
Resolves #17
Stack (this PR is 1 of 5):