Repository navigation
fix(minimald,minimal): rename the in-box min add --session to --box and rewrite the helper's help - #4071
Open
minimal-backporter[bot] wants to merge 1 commit into
Open
fix(minimald,minimal): rename the in-box min add --session to --box and rewrite the helper's help#4071minimal-backporter[bot] wants to merge 1 commit into
minimal-backporter[bot] wants to merge 1 commit into
Conversation
…and rewrite the helper's help (#4027) * feat(minimald): name the in-box min add flag --box, keep --session The box helper's `min add --box <pkg>` installs the packages and records them in the packages list of [defaults.session] in the box's minimal.toml. That is what `min add --session` did. A plain `min add <pkg>` is still the same command, and `min package add` takes the same flags. `--session` still works in 0.8. It sends the same request and prints one line on stderr that names the new spelling with the packages filled in. The error for an unknown flag lists --box, --build and --runtime. The request the helper sends the daemon keeps its name, `add-session`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(minimald): group the in-box min help and explain each command `min --help` now groups the box helper's commands under Packages, Project and Network. It says that the box lifecycle commands run on the host, and it names the short forms min pkg, min run and min search. Its first line is "Usage: min <command> [args]". Each command's help gives a usage line, says what the command does, explains each flag and ends with an example. The flags come from what the daemon reads from each request: --rebuild and --verbose for package build, --fix, --packages and --stacks for check, -o and --arch for materialize, and --public for net expose. `min task run --help` and `min run --help` print the help of task run, not of task. Help still makes no request to the daemon. The slots that read a bare `help` as a help request are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(minimal,minimald): point host hints at min add --box The texts that tell the user to install a package from inside a box now name `min add --box`: the shell-missing notice, the box banner and the note after a host-side `min add --session`. The shell-missing notice also loses its em dash and says box, not session. The e2e script greps the notice for the new text, and its egress build leg runs `min add --box`. The host CLI's own `min add --session`, in README.md and docs/guide/dev-shell.md, is a different flag and stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(reference): describe min add --box in the box helper The add section of the sandbox operations reference names --box as the box helper's flag that records packages in [defaults.session]. It says that --session still works in a box in 0.8, prints a line that names --box, and leaves in 0.9. The mip run helper keeps --session. The page also says what the box helper's --help prints now, and lists the --rebuild and --verbose flags of package build. Every anchor stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit a3769fe)
Contributor
|
Important Review skippedBot user detected. Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.
|
Contributor
|
Approved: no findings at Nothing to do. Clobber: none found. |
This branch has not been deployed
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.
Backport of #4027 to
release/0.8.x.Squash-merge this PR and keep the PR title as the subject. The cherry-picked commit keeps the source subject.