feat: rename cascade command to restack, keep cascade as alias#32
Merged
feat: rename cascade command to restack, keep cascade as alias#32
Conversation
Owner
Author
Stack
Managed by gh-stack |
There was a problem hiding this comment.
Pull request overview
Renames the user-facing cascade command to restack while keeping cascade as a Cobra alias, and updates help text/output/docs to use the new terminology (including renaming sync’s --no-cascade flag to --no-restack).
Changes:
- Rename the Cobra command
cascade→restackand keepcascadeas an alias. - Update user-facing strings in CLI commands (
sync,submit,continue,undo,abort) to say “restack”. - Update docs (
README.md,ARCHITECTURE.md,e2e/README.md) to reflect the rename and flag change.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| e2e/README.md | Updates E2E docs to refer to “restack” workflows/tests. |
| cmd/undo.go | Updates undo help/error messaging to say “restack”. |
| cmd/sync.go | Updates sync help text and renames flag to --no-restack. |
| cmd/submit.go | Updates submit help text and phase output to “restack”. |
| cmd/continue.go | Updates continue help/success messaging to “restack”. |
| cmd/cascade.go | Implements the restack command name with cascade alias and updates output strings. |
| cmd/abort.go | Updates abort help/output messaging to “restack”. |
| README.md | Updates user documentation and command reference to “restack” (and notes alias). |
| ARCHITECTURE.md | Updates architecture docs to reflect restack naming while preserving internal cascade operation state. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7d1877b to
55e58bf
Compare
55e58bf to
938f1d2
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 8 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The `cascade` command is now `restack`, with `cascade` retained as a Cobra alias for backward compatibility. All user-facing strings (help text, output messages, error messages) and documentation updated accordingly. The `--no-cascade` flag on `sync` is now `--no-restack`. Internal identifiers (function names, `STACK_CASCADE_STATE`, `OperationCascade`, etc.) are intentionally unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
938f1d2 to
6fb8cbd
Compare
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.
The
cascadecommand is nowrestack, withcascaderetained as aCobra alias for backward compatibility. All user-facing strings (help
text, output messages, error messages) and documentation updated
accordingly. The
--no-cascadeflag onsyncis now--no-restack.Internal identifiers (function names,
STACK_CASCADE_STATE,OperationCascade, etc.) are intentionally unchanged.