optstream: Command line option parsing library with a twice applicative interface

[ bsd3, cli, library, options, parsing ] [ Propose Tags ] [ Report a vulnerability ]

Provides tools to create command line parsers. The library has a simple interface to create atomic parsers and combine them into more complex structures. The interface has a low-level feel but still lets you solve common use-cases with minimal work.

Has support for:

  • Generating a help screen.

  • Multi-argument options.

  • Short flags with bundling.

  • Subcommands via <|>.

  • Parsing "in sequence" via <*> and "in parallel" via <#>.

  • Options with custom types via <$?>.

  • Monadic bind if you need it.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0
Change log CHANGELOG.md
Dependencies base (>=4.12.0 && <4.16) [details]
License BSD-3-Clause
Copyright (c) 2022 Dan Shved
Author Dan Shved <danshved@gmail.com>
Maintainer danshved@gmail.com
Category CLI, Options, Parsing
Home page https://github.com/danshved/optstream
Bug tracker https://github.com/danshved/optstream/issues
Source repo head: git clone https://github.com/danshved/optstream.git
Uploaded by danshved at 2022-04-14T14:28:43Z
Distributions
Downloads 176 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-04-14 [all 1 reports]