txt-sushi-0.4.0: Spreadsheets are databases!

Database.TxtSushi.Util.CommandLineArgument

Synopsis

Documentation

formatCommandLine :: CommandLineDescription -> StringSource

converts a command line description into a string version that you can show the user

data OptionDescription Source

a data structure for describing command line arguments

Constructors

OptionDescription 

Fields

isRequired :: Bool

determines if this is a required option or not

optionFlag :: String

What flag should we use. Eg: -pretty-output

argumentNames :: [String]

The name(s) to use for the argument(s).

minArgumentCount :: Int

the minimum number of args allowed

argumentCountIsFixed :: Bool

if true then minArgumentCount is the upper threshold