Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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.
Instances
Show ExecutableParameters Source # | |
Defined in Moo.Core showsPrec :: Int -> ExecutableParameters -> ShowS # show :: ExecutableParameters -> String # showList :: [ExecutableParameters] -> ShowS # |
data Configuration Source #
Loading the configuration from a file or having it specified via environment |variables results in a value of type Configuration.
Instances
Show Configuration Source # | |
Defined in Moo.Core showsPrec :: Int -> Configuration -> ShowS # show :: Configuration -> String # showList :: [Configuration] -> ShowS # |
usageSpecific :: Command -> IO a Source #