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

dhall-to-toml: No proper CLI #2353

Closed
amesgen opened this issue Dec 21, 2021 · 1 comment · Fixed by #2355
Closed

dhall-to-toml: No proper CLI #2353

amesgen opened this issue Dec 21, 2021 · 1 comment · Fixed by #2355

Comments

@amesgen
Copy link
Contributor

amesgen commented Dec 21, 2021

The usual stuff provided by optparse-applicative (--version, --help, input/output as file/stdin/stdout) is missing from dhall-to-toml and toml-to-dhall.

This should be easy to add, but maybe there could even be some shared code for the various dhall-someformat projects?

amesgen added a commit to amesgen/easy-dhall-nix that referenced this issue Dec 21, 2021
amesgen added a commit to amesgen/easy-dhall-nix that referenced this issue Dec 21, 2021
@sjakobi
Copy link
Collaborator

sjakobi commented Dec 21, 2021

Yes, proper CLIs would be very nice to have!

This should be easy to add, but maybe there could even be some shared code for the various dhall-someformat projects?

The various option parsers do have things in common, but they also have a lot of differences. I suspect that it might be easiest to keep them separate. AFAIK this hasn't caused us much maintenance hassle so far.

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

Successfully merging a pull request may close this issue.

2 participants