cli: implement help <command>
Metadata
Current evaluation
Implemented snapcraft help <command> CLI functionality. Merged after passing CI checks and receiving reviewer approval. Closes issue #1699.
Suggested action: —
No scores available.
Issue body
Allow for calling `snapcraft help <comand>.
Closes: #1699
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Implemented snapcraft help <command> CLI functionality. Merged after passing CI checks and receiving reviewer approval. Closes issue #1699. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged CLI enhancement adding snapcraft help <command> support, closing issue #1699. Review feedback was addressed and changes were integrated into the codebase. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented snapcraft help <command> CLI functionality. Merged after addressing reviewer feedback, resolving issue #1699. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3917 commands: make help message consistent | snapcraft | merged | Standardized inconsistent help message flags across snapcraft commands. The pull request was merged after approval and passing CI checks, applying a minimal four-line update to align CLI documentation. | |
| #32 Add help subcommand | snapcraft | closed | Implemented the help subcommand for snapcraft topics and plugins. Verified as working by the maintainer and closed as resolved. | |
| #113 fix: #112 and help messages | rockcraft | merged | Merged. Moves the init command out of lifecycle commands and fixes help messages inherited from snapcraft, resolving issue #112. Approved by reviewer and passed CI. | |
| #1746 cli: add version command | snapcraft | merged | Merged after reviewer approval and passing CI. Adds a CLI version command to snapcraft, resolving feedback on click message parameters, type checking, and whitespace before final merge. | |
| #3682 cli: fix help command legacy fallback | snapcraft | merged | Merged fix for the CLI help command legacy fallback. Handles craft-cli's ProvideHelpException to standardize help output. Approved, passed CI, and achieved 100% diff coverage before merging into the 7.0 branch. | |
| #5169 snapcraft help fails on many commands | snapcraft | closed | Fixed a crash in snapcraft help caused by missing help text for certain arguments, triggering an IndexError in craft_cli. Resolved in PR #5178 and released in snapcraft 8.5.1. | |
| #1789 cli: improve the help command | snapcraft | merged | Improved the CLI help command to match --help parity and expose hidden topics and plugin help. Merged after reviewer approval and passing CI, modifying three files with 62 additions and 11 deletions. | |
| #318 Generate reference from snapcraft's "help" command. | snapcraft | merged | Merged. Adds a script to generate reference documentation from snapcraft's help command. The author fixed CI style check failures, addressed reviewer feedback, and the changes were approved and merged. | |
| #84 fix(cli): enable per-command help queries | craft-application | merged | Merged to main, enabling per-command help queries in the CLI and resolving issue #76. Approved by two reviewers, passed CI checks, and achieved 100% diff coverage across three files. | |
| #1701 snapcraft help” only command summary | snapcraft | closed | Requesting snapcraft help to only display command summaries was closed without resolution or comments. The feature appears abandoned or superseded, with no implementation applied. |