fix: don't recommend hidden commands
Metadata
Current evaluation
Merged fix preventing hidden commands from appearing in the 'See also' section of command help text. Resolves issue #449. Approved by two reviewers with all CI checks passing. Modified three files.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
---
Fixes a bug where hidden commands were shown in the 'See also' section of a command's help text.
Fixes https://github.com/canonical/craft-cli/issues/449
(CRAFT-5213)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix preventing hidden commands from appearing in the 'See also' section of command help text. Resolves issue #449. Approved by two reviewers with all CI checks passing. Modified three files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix that prevents hidden commands from appearing in the 'See also' section of command help text, resolving issue #449. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #302 fix: don't suggest hidden commands | craft-cli | merged | Merged to resolve issue #297 by preventing hidden command suggestions. Approved by two reviewers, passed CI checks, and updated three files with a +26/-1 line change. | |
| #309 fix: hide positional arguments with no help | craft-cli | merged | Merged, resolving issue #308. The change hides positional arguments without help text while preserving them in command syntax. Approved by two reviewers, passed CI checks, and updated three files (+102/-11 lines). | |
| #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. | |
| #402 fix: add missing description in commands inspector | fetch-service | merged | Merged following approval by two reviewers. Fixes a missing description in the commands inspector. The change adds three lines and removes two across a single file. | |
| #449 Command help 'See also' should filter hidden commands | craft-cli | closed | Closed without a direct fix. The issue was synced to Jira (CRAFT-5213) for internal tracking, indicating it was deferred or resolved externally. No pull request or merge details were provided. | |
| #3163 cli: remove the hidden inspect command | snapcraft | merged | Merged removal of the hidden inspect CLI command due to build environment incompatibility. Approved by a reviewer, passed CI, and deleted 513 lines across five files. | |
| #2432 docs: remove command output example | charmcraft | merged | Merged after two approvals. Removed a command output example from documentation to align with other commands and prevent help text instability. Closes #2375. CI passed except one macOS smoke test, which did not block the merge. |