optstream: Command line option parsing library with a twice applicative interface
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.
Modules
[Index] [Quick Jump]
Downloads
- optstream-0.1.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 | 179 total (8 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] |