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

Consider moving to the cobra module #74

Open
acidprime opened this issue Oct 7, 2024 · 1 comment
Open

Consider moving to the cobra module #74

acidprime opened this issue Oct 7, 2024 · 1 comment

Comments

@acidprime
Copy link

This CLI was a little confusing to me as long arguments used a single dash instead of two and when using two it didn't give an error. I have had great success with the Cobra I think with its built in modern standards and auto complention it might be a good update for this projects ease of use.

@Mic92
Copy link
Owner

Mic92 commented Oct 8, 2024

Go's own parser also supports -- actually: https://github.com/numtide/nixos-facter/blob/4386a33b033f846de055ee32a1ddb0fd8ae270f2/cmd/root.go#L74

I would like to avoid big dependencies because most of the maintenance work actually comes from having to bumping libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants