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

Allow passing ParserPrefs for optparse-applicative #19

Open
roman opened this issue Apr 4, 2018 · 0 comments
Open

Allow passing ParserPrefs for optparse-applicative #19

roman opened this issue Apr 4, 2018 · 0 comments

Comments

@roman
Copy link
Owner

roman commented Apr 4, 2018

Context

The current release only allows to generate optparse-applicative parsers with default parsing preferences, provide functions for both Cli and Plain optparse resolvers to pass optparse-applicative ParserPrefs records

Allow the CliProgramOpts record to contain an Aeson.Value that later can be parsed to a ParserPrefs with default values, that way, the CLI options are part of the file spec

@roman roman changed the title Allow passing ParserPrefs to optparse-applicative Allow passing ParserPrefs for optparse-applicative Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant