Safe Haskell | None |
---|---|
Language | Haskell98 |
- options :: MonadIO m => [OptDescr (DebT m ())]
- compileArgs :: MonadIO m => [String] -> DebT m ()
- compileEnvironmentArgs :: MonadIO m => DebT m ()
- compileCommandlineArgs :: MonadIO m => DebT m ()
- putEnvironmentArgs :: [String] -> IO ()
- withEnvironmentArgs :: MonadIO m => ([String] -> DebT m a) -> DebT m a
Documentation
compileArgs :: MonadIO m => [String] -> DebT m () Source
Apply a list of command line arguments to the monadic state.
compileEnvironmentArgs :: MonadIO m => DebT m () Source
Get a list of arguments from the CABALDEBIAN environment variable and apply them to the monadic state.
compileCommandlineArgs :: MonadIO m => DebT m () Source
Get the list of command line arguments and apply them to the monadic state.
putEnvironmentArgs :: [String] -> IO () Source
Insert a value for CABALDEBIAN into the environment that the withEnvironment* functions above will find and use. E.g. putEnvironmentFlags ["--dry-run", "--validate"] (debianize defaultFlags)