Lennart Spitzner
11db0a98ab
Fix InputString parsing for addFlagStringParam function family
2016-12-30 22:16:04 +01:00
Lennart Spitzner
f35ebb733a
Fix/Implement knot-tying of the CommandDesc cyclic graph structure
2016-12-30 22:16:03 +01:00
Lennart Spitzner
b11663d910
Add 'suggestion' functionality
...
i.e. possible additional input that could make the input valid
(or at least less invalid).
2016-12-30 22:16:03 +01:00
Lennart Spitzner
a3ff58c682
Allow returning remaining-non-childcommand input
...
more specifically, the part of the input that is not part of any
successfully parsed subcommand invocation. "remaining" is not
completely accurate because this works even when all input
is processed.
2016-12-30 22:02:32 +01:00
Lennart Spitzner
04cb0bdea5
Clean up imports; Reduce dep footprint s/lens/microlens/
2016-10-11 00:27:26 +02:00
Lennart Spitzner
66e2737e87
Fix test import (oops)
2016-10-11 00:24:31 +02:00
Lennart Spitzner
2d0b77ac9f
Silence some iridium checks
2016-10-11 00:24:08 +02:00
Lennart Spitzner
8b721f7e17
Update README.md
2016-09-29 21:41:11 +02:00
Lennart Spitzner
e69ee89423
Add iridium.yaml
2016-09-29 21:32:49 +02:00
Lennart Spitzner
902ef4c580
Fix cabal file; ghc-7.10 compatibility; Bump to 0.2.0.0
2016-09-29 21:32:34 +02:00
Lennart Spitzner
37fa57dfc2
Create `addFlagFooParam` variants matching exactly once (breaking change)
...
- addFlagReadParams was previously named addFlagReadParam, similarly
addFlagStringParams/addFlagStringParam.
- The "singular" variants have semantics that did not exist before:
to match exactly once and thus having type `CmdParser f out p` instead
of `CmdParser f out [p]`.
2016-09-29 21:31:27 +02:00
Lennart Spitzner
e0885a4f48
Add addStringParam, addStringParamOpt
2016-09-06 15:09:46 +02:00
Lennart Spitzner
a4e3d155d6
Fix: Print errors to stderr, not stdout
2016-09-04 00:50:03 +02:00
Lennart Spitzner
4b7f8681e7
Fix addFlagReadParamAll for InputArgs case
2016-08-03 22:57:08 +02:00
Lennart Spitzner
7132a79b50
Add project-spec. prelude; Remove q-prelude dependency
2016-07-30 16:44:31 +02:00
Lennart Spitzner
f033c9e0ab
Rename to butcher, Change everything else
2016-07-30 16:25:28 +02:00
Lennart Spitzner
4f93f79f5f
initial commit
2016-06-08 12:42:22 +02:00