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

Use a better flag parsing library than stdlib #9

Open
runcom opened this issue Feb 3, 2025 · 1 comment
Open

Use a better flag parsing library than stdlib #9

runcom opened this issue Feb 3, 2025 · 1 comment

Comments

@runcom
Copy link
Contributor

runcom commented Feb 3, 2025

This is the very same issue tracking as fido-device-onboard/go-fdo-client#6

This code is very messy, because it started from the go-fdo library example. The example was meant to be simple (though it probably gained too many features to still be called that), so it did not use Cobra or anything.

@ben-krieger are you open to also use cobra in go-fdo-server? it's pretty confusing over there, especially since a single binary is handling different server roles and doesn't allow for proper configuration files to be setup per-role

@rprakashg-rh
Copy link

+1 ./fdo-server -h is getting too massive currently could benefit from cobra (testability, structure etc)

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