Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate CLI to use cobra package #160

Open
arnabghose997 opened this issue May 20, 2024 · 0 comments · May be fixed by #172
Open

Migrate CLI to use cobra package #160

arnabghose997 opened this issue May 20, 2024 · 0 comments · May be fixed by #172
Assignees
Labels
enhancement New feature or request

Comments

@arnabghose997
Copy link
Collaborator

arnabghose997 commented May 20, 2024

In the current CLI implementation, the help menu for every command lists all available flags, regardless of whether they are required for that specific command. This makes it difficult to determine which flags are necessary and leads to reliance on checking the code frequently if the developer is not well acquainted with the CLI command beforehand.

While adding or removing new commands, we have to ensure that commands and commandHelp are of same length

The use of cobra will help in mitigating the above mentioned concern, providing a efficient way to maintain the CLI

@arnabghose997 arnabghose997 self-assigned this May 20, 2024
@arnabghose997 arnabghose997 added the enhancement New feature or request label May 20, 2024
@arnabghose997 arnabghose997 linked a pull request May 31, 2024 that will close this issue
@arnabghose997 arnabghose997 linked a pull request May 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant