uselagoon / uselagoon/lagoon-cli
Remove redundant options from commands that do not need them
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.
At the moment, there is no way to hide options for commands that do not use them. This in turn leads to confusion, as the command can choose to completely ignore the options you supplied.
Describe the solution you'd like
Add a way for commands to explicitly declare their options, and remove the ones that are not needed in the --help docs for the command in question.
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 by inspecting how commands declare options and how their --help output is generated. Identify which commands ignore shared options, then define an explicit option declaration path and verify that each command's help output omits unused options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100