Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- progName :: String
- doSaga :: SagaCmd -> IO FilePath
- saga :: String -> String -> [(String, String)] -> IO ExitCode
- adjustSagaCmdParas :: CmdPars -> SagaCmd -> SagaCmd
- adjustParas :: ParaMap -> CmdPars -> ParaMap
- doCmdChain :: [SagaIoCmdExt] -> CmdPars -> FilePath -> Maybe FilePath -> IO FilePath
- lkpChain :: SagaIoCmdDB -> [String] -> [SagaIoCmdExt]
- lkpCmd :: String -> SagaIoCmdDB -> SagaIoCmdExt
Documentation
:: String | Library name |
-> String | Module name |
-> [(String, String)] | Parameter key-value |
-> IO ExitCode | Output-file |
Wrapper around saga
adjustSagaCmdParas :: CmdPars -> SagaCmd -> SagaCmd Source
adjust default parameters with the ones given on the command-line
:: ParaMap | parameters specified in |
-> CmdPars | parameters given on the cmd-line |
-> ParaMap | adjusted parameters |
Overwrite default parameters with parameters given on the command-line
doCmdChain :: [SagaIoCmdExt] -> CmdPars -> FilePath -> Maybe FilePath -> IO FilePath Source
Execute a SagaIoCmdExt
lkpChain :: SagaIoCmdDB -> [String] -> [SagaIoCmdExt] Source
Lookup a chain
lkpCmd :: String -> SagaIoCmdDB -> SagaIoCmdExt Source
Lookup a single command