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

Switch to use a library for arguments parsing #13

Open
pablitovicente opened this issue Mar 13, 2023 · 0 comments
Open

Switch to use a library for arguments parsing #13

pablitovicente opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request V2 Version 2 of the tool

Comments

@pablitovicente
Copy link
Owner

pablitovicente commented Mar 13, 2023

As the complexity of the tool increases the flag package from the standard library starts to show its limitations so a better library for command arguments should be selected and implemented.

https://github.com/spf13/cobra is going to be used as this is marked for V2 which can break compatibility, this library is also used by Kubernetes so probably can offer a familiar UX.

These change will transform the multiple tools and binaries that exist today into a single command with sub-commands.

  • A single binary will be provided
  • Sub-commands generate and check will be initially provided
  • To provide a better UX the tool will most probably be renamed
@pablitovicente pablitovicente added enhancement New feature or request V2 Version 2 of the tool labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request V2 Version 2 of the tool
Projects
None yet
Development

No branches or pull requests

1 participant