multiarg-0.30.0.8: Command lines for options that take multiple arguments

Safe HaskellSafe-Inferred
LanguageHaskell2010

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

data Telly Source

A data type to hold the result of command line parsing.

Constructors

PosArg String

Positional argument

Empty

--empty, -e

Single String

--single, -s

Double String String

--double, -d

Triple String String String

--triple, -t

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

Instances