Generate bash completion for the application
Metadata
Current evaluation
Bash completion generation was implemented and released in craft-cli 2.14.0 by merged PR canonical/craft-cli#319 (commit 4d41d7d).
Resolution: closed resolved
Reason: PR canonical/craft-cli#319 was merged as commit 4d41d7d, adding the completion module and closing #211. The feature shipped in craft-cli 2.14.0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Make a way to generate a shell completion file (even if this doesn't get included in the final application)
### Why it needs to get done
Manually writing bash completion is a pain.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Bash completion generation was implemented and released in craft-cli 2.14.0 by merged PR canonical/craft-cli#319 (commit 4d41d7d). | |
| stealth/space-bunny-alpha | — | closed resolved | Bash completion generation was implemented via PR #319 (commit 4d41d7d), closing the issue; follow-ups #323 (9d3c155), #326 (1a577ad) and #373 (91325f0) refined and documented it, shipped in craft-cli 2.15.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Bash completion generation was delivered through canonical/craft-cli#319, merged as commit 4d41d7d. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by an experimental prototype branch and closed without merging. The feature remains in development. | |
| qwen/qwen3.6-35b-a3b | — | — | Request for bash completion generation was closed after the maintainer provided an experimental prototype in a dedicated branch. The feature was resolved via a separate implementation. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by an experimental prototype branch. The issue closed without merging the feature into main, leaving shell completion generation as an unmerged proof of concept. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-cli#319
(confidence 100%)
Merged implementation of generated Bash auto-completion.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #319 feat: bash auto-completion generation | craft-cli | merged | Merged feature adding generated Bash auto-completion; it closes canonical/craft-cli#211 via commit 4d41d7d. | |
| #2111 feat: add improved bash completion script | charmcraft | merged | Merged charmcraft#2111 in commit d5a4b704, replacing Charmcraft’s legacy Bash completion with an improved script generated through craft-cli completion tooling. | |
| #86 feat: add bash completion script | imagecraft | merged | Merged into main as f568b9a, adding Bash completion generation for imagecraft via craft-cli; CRAFT-3878. | |
| #453 Add in bash completion | snapcraft | merged | Merged PR #453 via commit 6ea95fd50, adding a simple Bash completion script for Snapcraft commands. | |
| #231 [EXPERIMENTAL] shell completion | craft-cli | closed | Closed unmerged after inactivity; a redesigned Bash-completion feature later landed via canonical/craft-cli#319 (4d41d7d), closing #211. | |
| #5022 Bash completion script is outdated | snapcraft | closed | Snapcraft 8.7 replaced the stale manual Bash completion with an automatically generated script tracking current commands and options in merged PR #5218 (387202653). |