canonical / craft-cli

https://canonical-craft-cli.readthedocs-hosted.com/en/latest/
GNU Lesser General Public License v3.0
9 stars 14 forks source link

Generate bash completion for the application #211

Open lengau opened 7 months ago

lengau commented 7 months ago

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.

lengau commented 6 months ago

Experimental prototype: https://github.com/canonical/craft-cli/tree/experimental/completion