feat(cli): support the git-style help subcommand#1682
Open
JulianMaurin wants to merge 3 commits into
Open
Conversation
This was referenced Jun 23, 2026
This was referenced Jun 23, 2026
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Contributor
Merge Protections🔴 2 of 7 protections blocking · waiting on 👀 reviews
🔴 👀 Review RequirementsWaiting for
This rule is failing.
🔴 🔎 ReviewsWaiting for
This rule is failing.
Show 5 satisfied protections🟢 ⛓️ Depends-On RequirementsRequirement based on the presence of
🟢 🤖 Continuous Integration
🟢 Enforce conventional commitMake sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 📕 PR description
🟢 🚦 Auto-queueWhen all merge protections are satisfied, this pull request will be queued automatically. |
3011212 to
c34f8a9
Compare
9efb54a to
1e5b61c
Compare
Contributor
Author
Revision history
|
1e5b61c to
284a7d1
Compare
c34f8a9 to
30e3f27
Compare
284a7d1 to
f3d0eee
Compare
30e3f27 to
b706170
Compare
`ci scopes --write <path>` mapped an unwritable output path to exit 8 (configuration error), but the config parsed fine — the failure is a plain I/O error. Map it to the generic runtime code (exit 1) and keep the OS error as the cause. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Change-Id: I1d4454775ae43a306ee2d4f5bb8fae2fec63f4a6
`stack checkout <name>` printed "No stacked pull requests found" but exited 0, so a script couldn't tell a successful checkout from an empty result. Return exit 3 (not-found) for the empty case, matching `stack open`'s empty-stack handling. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Change-Id: Ide52684a19e6e16aff82888e95316d59f8e2767c
`mergify help` and `mergify help <command>` failed with exit 2
("unrecognized subcommand 'help'") because `disable_help_subcommand`
was set, even though every other CLI offers the git-style help verb
alongside `--help`. Drop the flag so clap handles both forms.
Filter clap's synthetic `help` subcommand out of the published CLI
schema, the same way the `--help`/`--version` args are already
excluded — it's universal plumbing, not part of the reference.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Change-Id: I2f463a21cb20c0901e93bd963783369d06bb2d41
f3d0eee to
a50f23c
Compare
b706170 to
1084872
Compare
Base automatically changed from
devs/JulianMaurin/feat/rust-cli-excellence/exit-found-checkout-finds-stack--de52684a
to
main
June 25, 2026 15:57
kozlek
approved these changes
Jun 25, 2026
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.
mergify helpandmergify help <command>failed with exit 2("unrecognized subcommand 'help'") because
disable_help_subcommandwas set, even though every other CLI offers the git-style help verb
alongside
--help. Drop the flag so clap handles both forms.Filter clap's synthetic
helpsubcommand out of the published CLIschema, the same way the
--help/--versionargs are alreadyexcluded — it's universal plumbing, not part of the reference.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Depends-On: #1681