@cardano / optparse-applicative-fork

Utilities and combinators for parsing command line options

Latest0.19.0.0

About

Metadata

Links

Installation

Tested Compilers

  1. 9.12.1
  2. 9.10.1
  3. 9.8.4
  4. 9.6.1
  5. 9.4.4
  6. 9.2.7
  7. 9.0.2
  8. 8.10.7
  9. 8.8.4
  10. 8.6.5
  11. 8.4.4
  12. 8.2.2
  13. 8.0.2
  14. 7.10.3

Package Flags

Use the -f option with cabal commands to enable flags

    process (on by default)

    Depend on the process package for Bash autocompletion

Readme

optparse-applicative-fork is a haskell library for parsing options on the command line, and providing a powerful applicative interface for composing them.

optparse-applicative-fork takes care of reading and validating the arguments passed to the command line, handling and reporting errors, generating a usage line, a comprehensive help screen, and enabling context-sensitive bash, zsh, and fish completions.

See the included README for detailed instructions and examples, which is also available on github https://github.com/pcapriotti/optparse-applicative-fork.