optparse-applicative 0.13.2

@HuwCampbell HuwCampbell released this Mar 9, 2017 · 53 commits to master since this release

  • Updated dependency bounds.

  • Doc

Downloads

optparse-applicative 0.13.1

@HuwCampbell HuwCampbell released this Feb 10, 2017 · 56 commits to master since this release

  • Updated dependency bounds.
  • Add required test files to cabal package.
  • Doc

Downloads

optparse-applicative 0.13.0

@HuwCampbell HuwCampbell released this Aug 15, 2016 · 91 commits to master since this release

  • Implement command groups, which allow subcommands to have their own
    usage description.
  • Implement showHelpOnEmpty, which is similar to showHelpOnError, but only
    fires when a command or subcommand is begun, and suppresses the "Missing:"
    error text.
  • Fix ghc 8.0 warnings
  • Fix ghc 7.10 warnings
  • Bump dependency bounds
  • Add maybeReader function for convenient ReadM creation
  • Move eitherReader to Readers section (for better discoverability)
  • Fix hsubparser metavar override
  • Remove ComplError, which was dead code.
  • Reimplement Missing error generation, which overly complicated evalParser.
  • Export Semigroup instances for types which are also Monoids. Removes
    mappend synonym (<>) export, as it clashes with Semigroup exports.
    One may need to import Data.Monoid or Data.Semigroup when upgrading.
  • Use a Cabal test suite for tests, simplify test dependencies.

Downloads

optparse-applicative 0.12.1

@HuwCampbell HuwCampbell released this Jan 19, 2016 · 136 commits to master since this release

  • Updated dependency bounds.
  • Improve subparser contexts to improve usage error texts
  • Doc
  • Fixed bugs
    • #164 - Invalid options and invalid arguments after parser has succeeded not displaying
    • #146 - multi-word filename completion is broken

Downloads

optparse-applicative 0.12.0

@HuwCampbell HuwCampbell released this Sep 25, 2015 · 157 commits to master since this release

  • Add "missing" error condition descriptions when required flags and arguments
    are not provided.
  • Allow multiple short flags to be concatenated together behind a single
    hyphen, e.g. "-xcf".
  • Updated dependency bounds on process and ansi-wl-pprint.
  • Add Show and Eq instances to some types for easier debugging.
  • Add defaultPrefs, a default preferences value
  • Docs.

Downloads

optparse-applicative 0.11.0.2

@HuwCampbell HuwCampbell released this Sep 25, 2015 · 177 commits to master since this release

  • Updated dependency bounds.

Downloads

optparse-applicative 0.11.0.1

@pcapriotti pcapriotti released this Oct 5, 2014 · 187 commits to master since this release

  • Updated documentation.

Downloads

optparse-applicative 0.11.0

@pcapriotti pcapriotti released this Oct 4, 2014 · 189 commits to master since this release

  • Added Alternative instances for Chunk and ReadM.
  • The ReadM monad is now a ReaderT for the argument being parsed. User
    defined readers do not need to handle their argument explicitly, but can
    always access it using readerAsk.
  • Argument builders now take a ReadM parameter, just like options.
  • Fixed bugs
    • #106 - argument should perhaps use ReadM

Downloads

optparse-applicative 0.10.0

@pcapriotti pcapriotti released this Sep 1, 2014 · 210 commits to master since this release

  • Parser execution and help text generation are now more modular, and allow for
    greater customisation.
  • More consistent API for option and argument builders: now option takes
    a reader as argument, and nullOption is deprecated in favour of option.
    The reader modifier is gone. Quick migration guide:
    • option (without a reader modifier) => option auto
    • nullOption (without a reader modifier) => option disabled
    • option/nullOption (with a reader r modifier) => option r.
  • Added convenience builder strArgument, equivalent to argument str.
  • Removed functions deprecated from at least version 0.8.0.
  • Switched test infrastructure to tasty.
  • Fixed bugs
    • #63 - Inconsistency between 'argument' and 'strOption' types

Downloads

optparse-applicative 0.9.1.1

@pcapriotti pcapriotti released this Oct 4, 2014 · 237 commits to master since this release

  • Fixed bugs
    • #97 - Version 0.9.1 fails test suite

Downloads