Path to this page:
./
devel/hs-optparse-applicative,
Utilities and combinators for parsing command line options
Branch: CURRENT,
Version: 0.18.1.0nb2,
Package name: hs-optparse-applicative-0.18.1.0nb2,
Maintainer: phooptparse-applicative is a haskell library for parsing options on the
command line, providing a powerful applicative interface for composing
these options.
optparse-applicative 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 completions.
Required to run:[
devel/hs-transformers-compat] [
lang/ghc88] [
textproc/hs-ansi-wl-pprint]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 59.26 KB
Version history: (Expand)
- (2024-05-09) Updated to version: hs-optparse-applicative-0.18.1.0nb2
- (2023-11-02) Updated to version: hs-optparse-applicative-0.18.1.0nb1
- (2023-10-29) Updated to version: hs-optparse-applicative-0.18.1.0
- (2023-10-09) Updated to version: hs-optparse-applicative-0.17.0.0nb5
- (2023-02-09) Updated to version: hs-optparse-applicative-0.17.0.0nb4
- (2022-09-07) Updated to version: hs-optparse-applicative-0.17.0.0nb3
CVS history: (Expand)
2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141) |
Log message:
Revbump all Haskell after updating lang/ghc96
|
2023-10-29 12:31:29 by Masatake Daimon | Files touched by this commit (4) |
Log message:
devel/hs-optparse-applicative: Update to 0.18.1.0
Version 0.18.1.0 (29 May 2023)
* Change pretty printer layout algorithm used.
The layoutSmart algorithm appears to be extremely slow with some command
line sets, to the point where the program appears to hang.
Fixes issues:
# 476 - Stack executable 'hangs' with 0.17.1 and 0.18.0.
* Render help text with AnsiStyle aware rendering functions.
Version 0.18.0.0 (22 May 2023)
* Move to 'prettyprinter` library for pretty printing.
* This is a potentially breaking change when one uses the '*Doc' family of
functions (like headerDoc) from Options.Applicative. However, as versions
of 'ansi-wl-pprint > 1.0' export a compatible Doc type, this can be
mitigated by using a recent version.
* One can also either import directly from Options.Applicative.Help or from
the Prettyprinter module of 'prettyprinter'.
* Allow commands to be disambiguated in a similar manner to flags when the
disambiguate modifier is used.
* This is a potentially breaking change as the internal CmdReader
constructor has been adapted so it is able to be inspected to a greater
degree to support finding prefix matches.
Version 0.17.1.0 (22 May 2023)
* Widen bounds for ansi-wl-pprint. This supports the use of prettyprinter
in a non-breaking way, as the ansi-wl-pprint > 1.0 support the newer
library.
* Export helpIndent from Options.Applicative.
* Export completion script generators from
Options.Applicative.BashCompletion.
* Add simpleVersioner utility for adding a '--version' option to a parser.
* Improve documentation.
* Drop support for GHC 7.0 and 7.2.
|
2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988) |
Log message:
Bump Haskell packages after updating lang/ghc94
|
2022-09-07 08:50:53 by Masatake Daimon | Files touched by this commit (149) | |
Log message:
Recursive bump for recently updated Haskell packages
|
2022-09-03 18:27:56 by Masatake Daimon | Files touched by this commit (1) |
Log message:
Fix a grammatical error in a comment
|
2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872) |
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
|
2022-02-23 17:08:02 by Masatake Daimon | Files touched by this commit (1) |
Log message:
devel/hs-optparse-applicative: Add a mk fragment application.mk
optparse-applicative has a really nice feature that enables any tools
parsing command-line arguments with the library to automatically generate
bash, fish, and zsh completion scripts via hidden options, by hidden it
means they aren't shown in the "--help" message.
Packages that install executables using optparse-applicative can now
include this file to automatically generate and install such scripts.
|
2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575) |
Log message:
revbump after changing the default Haskell compiler
|