Safe Haskell | None |
---|---|
Language | Haskell98 |
System.Console.GetOpt.Generics
Description
"getopt-generics" tries to make it very simple to create command line argument parsers. Documentation can be found in the README.
Documentation
withArguments :: forall a. (Generic a, HasDatatypeInfo a, All2 Option (Code a)) => (a -> IO ()) -> IO () Source
Minimal complete definition
Methods
toOption :: ArgDescr (FieldState a) Source
emptyOption :: String -> FieldState a Source
accumulate :: a -> a -> a Source