| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Multiarg.Examples.Telly
Description
Telly is a simple command-line program to test command-line parsers that do not have multiple modes. This includes most command-line programs; you build parsers like this using Multiarg. This module provides an example for documentation purposes; it also provides fodder for the QuickCheck test cases. You will want to look at the source code.
Synopsis
Documentation
A data type to hold the result of command line parsing.
Constructors
| PosArg String | Positional argument |
| Empty |
|
| Single String |
|
| Double String String |
|
| Triple String String String |
|
| Zero | -0 |
| One String | -1 |
| Two String String | -2 |
| Three String String String | -3 |
| Cero | --cero |
| Uno String | --uno |
| Dos String String | --dos |
| Tres String String String | --tres |