Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mainWithParameters :: Args -> ExecutableParameters -> IO ()
- data ExecutableParameters = ExecutableParameters {}
- data Configuration = Configuration {}
- type Args = [String]
- usage :: IO a
- usageSpecific :: Command -> IO a
- procArgs :: Args -> IO (Command, CommandOptions, [String])
Documentation
mainWithParameters :: Args -> ExecutableParameters -> IO () Source #
data ExecutableParameters Source #
A value of type ExecutableParameters is what a moo executable (moo-postgresql, |moo-mysql, etc.) pass to the core package when they want to execute a |command.
data Configuration Source #
Loading the configuration from a file or having it specified via environment |variables results in a value of type Configuration.
usageSpecific :: Command -> IO a Source #