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 library for argument parsing #125

Closed
davidzchen opened this issue Mar 10, 2016 · 1 comment
Closed

Use a library for argument parsing #125

davidzchen opened this issue Mar 10, 2016 · 1 comment

Comments

@davidzchen
Copy link
Contributor

I think using a library such as getopt or gflags for argument parsing can make the code in the jsonnet tool a lot cleaner. We would probably want to go with getopt since gflags has a slightly different syntax for flags (getopt --long-opt vs gflags --long_opt).

@sparkprime
Copy link
Contributor

Obvious question is do we want to add extra dependencies? I did use getopt in some previous projects and I found it rather obtuse. That's just my opinion though.

By how much would it make the code cleaner?

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