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 cmdliner in all bin/ programs #218

Closed
rgrinberg opened this issue Dec 22, 2014 · 1 comment
Closed

Use cmdliner in all bin/ programs #218

rgrinberg opened this issue Dec 22, 2014 · 1 comment

Comments

@rgrinberg
Copy link
Member

Or at the very least use cmdliner in the ones that are meant for public consumption. E.g.:

https://github.com/mirage/ocaml-cohttp/blob/master/bin/cohttp_server_lwt.ml#L163

I'd also prefer to use cmdliner over core's command even in the async backend. Because:

  • cmdliner is better
  • It's more uniform this way
@avsm
Copy link
Member

avsm commented Dec 22, 2014

I agree with all of that except for the Async backend. If Command's the canonical CLI parser there, it's best to stick to that stdlib's conventions...

rgrinberg added a commit that referenced this issue Jan 3, 2015
@avsm avsm mentioned this issue Jan 10, 2015
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