uselagoon / uselagoon/lagoon-cli
Add shell completion
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 28
- Forks
- 14
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
I would love shell completion for all Lagoon CLI commands and arguments.
Describe the solution you'd like
I believe Cobra has basic support for this
lagoon completion zsh > /tmp/lagoon.sh && source /tmp/lagoon.sh
However, this does not list the arguments from what I can tell.
It would also be nice to have documentation about this, perhaps around the installation instructions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Lagoon CLI's Cobra command setup and the existing lagoon completion zsh entry point. Check how command arguments are defined and whether generated completions include them, then update the installation documentation with the supported shell-completion workflow. Done means completion works for all CLI commands and arguments and the setup is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100