← Back to issue list

cli: implement help <command>

View original Github issue

Metadata

Project
snapcraft
Number
#1845
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

PR #1845 (commit cf20b3593) by sergiusens merged command-specific help support, adding `snapcraft help <command>` to the CLI and closing feature request #1699.

Resolution: closed resolved

Reason: Merged into the Snapcraft codebase as commit cf20b3593 ("cli: implement help <command> (#1845)"), after review approval with the4 review comments addressed. The PR explicitly states "Closes: #1699", and #1699 is recorded as closed by this implementation.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved PR #1845 (commit cf20b3593) by sergiusens merged command-specific help support, adding `snapcraft help <command>` to the CLI and closing feature request #1699.
stealth/space-bunny-alpha — closed resolved Merged PR #1845 (commit cf20b3593) added command-specific help support and closed #1699.
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.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#1699 (confidence 97%)

    Tracked feature request 'snapcraft <help> command'; the PR body declares 'Closes: #1699' and that issue is closed by it.

Related issues

Issue Project State Summary Similarity
#1699 snapcraft <help> command snapcraft closed Feature request by maintainer sergiusens to add a `snapcraft help <command>` sub-command. Resolved by merged PR #1845, commit cf20b3593 ("cli: implement help <command> (#1845)"), which added command-specific help support.
88%
#1789 cli: improve the help command snapcraft merged Merged PR #1789 in commit e66b29d84, giving snapcraft help parity with --help and exposing topic and plugin help; it resolved snapcraft#1698.
82%
#2429 cli: fix usage string in help command snapcraft merged Merged a one-line CLI fix so `snapcraft help` displays the correct usage string.
77%
#3735 commands: help for all legacy commands snapcraft merged Merged PR #3735, adding help passthrough for all legacy Snapcraft commands; merged as commit 8f8b2df42.
76%
#1582506 --help needs some love snapcraft (launchpad) closed Resolved by snapcore/snapcraft#1307 (commit d34dc16af), replacing docopt with Click and adding clearer per-subcommand help and option summaries.
76%
#1986645 Some snapcraft 7.x commands have irrelevant "help" info snapcraft (launchpad) closed Fixed in Snapcraft 8 by command-group help refactoring merged in canonical/snapcraft#4934 (commit 6a388877f).
75%
#1510683 Add help subcommand snapcraft (launchpad) closed Help subcommand with topic and plugin support added in snapcraft (commit 1d4f90583 "Add help", plus follow-ups on snapcraft/help.py such as 0b91f34fb fixing plugin listing). Confirmed by elopio and closed by sergiusens as released in snapcraft 0.4.
75%
#5169 snapcraft help fails on many commands snapcraft closed Fixed by merged PR #5178 (commit f97d032bf), adding missing help text for positional args; maintainer closed the issue noting the fix ships in snapcraft 8.5.1.
74%
#1701 snapcraft help” only command summary snapcraft closed Request for concise `snapcraft help` output was closed without implementation or explanation; no resolving PR or commit was recorded.
74%
#32 Add help subcommand snapcraft closed Implemented snapcraft help in commit 3c3cbcf84; the maintainer confirmed topic and plugin help worked as expected before closure.
74%