Add some further bash-completion
Metadata
Current evaluation
Merged PR #872 via commit 5876e15ba, adding Bash completion for help plugins, snap/tour directories, and .snap files for several commands.
Resolution: closed resolved
Reason: PR #872 was merged as commit 5876e15ba, implementing all three requested completion additions. Pip and snap-installed completion packaging was discussed as separate future work.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Autocomplete the plugins after 'help'
Autocomplete directory names after 'snap' or 'tour'
Autocomplete all '.snap' files after 'gated, upload, push, sign-build, register' or 'validate'
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #872 via commit 5876e15ba, adding Bash completion for help plugins, snap/tour directories, and .snap files for several commands. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #872, commit 5876e15ba, added bash completion for help plugins, snap/tour directories, and .snap files; pip and snap-installed completion remained future work. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged pull request adding bash completion for snapcraft commands. Maintainer noted pip data_files is deprecated and snap completion requires future core team feature work. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged bash completion for snapcraft commands. Maintainers deferred pip and snap installation path discussions to future work, but accepted the script as-is. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#453
(confidence 100%)
Earlier PR #453 introduced the baseline Snapcraft Bash completion that #872 extended.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #453 Add in bash completion | snapcraft | merged | Merged PR #453 via commit 6ea95fd50, adding a simple Bash completion script for Snapcraft commands. | |
| #5218 feat: add improved bash completion script | snapcraft | merged | Merged in #5218 (commit 387202653), replacing the manually maintained Bash completion with a dynamically generated script that tracks current commands and options; shipped in Snapcraft 8.7. | |
| #1390 meta: bash completion support | snapcraft | merged | Merged PR #1390 added bash completion support for snapcraft and snapcraft metadata, landing as commit 2d01bc112. | |
| #1570506 Snapcraft should use bash-completion | snapcraft (launchpad) | closed | Added bash-completion support to snapcraft via merged upstream PR #453 (commit 6ea95fd50, changelog 16e1a9d76). Shipped in snapcraft 2.9 SRU to xenial; verified by elopio and released to -updates on 2016-05-30. | |
| #1646213 Code completion for *.snap on the cli is broken | snapcraft (launchpad) | closed | Fixed by merged canonical/snapcraft#933 (commit 5c41e4bc), which corrected Bash completion for .snap files containing multiple dots. | |
| #1956 snap: actually plug the completer in. | snapcraft | merged | PR #1956 merged as commit 32fbaf3d4, wiring the bundled completion.sh into snap metadata so Snapcraft exposes tab completion. | |
| #4559 bash-completion: update and improve supported completion cases | snapcraft | closed | Completion work in canonical/snapcraft#4559 was closed as stale and superseded by canonical/craft-cli#319, merged in commit 4d41d7d with generated Bash completion. |