uselagoon / uselagoon/lagoon-cli

Remove redundant options from commands that do not need them

Open
#93 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2023-rewrite
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.