Safe Haskell | None |
---|---|
Language | Haskell2010 |
A command line interface for manual integration testing.
- type ExecuteWorkflow = forall x. WorkflowT IO x -> IO x
- type Workflow' = WorkflowT IO ()
- data Action
- cmdln :: ExecuteWorkflow -> IO ()
- evalAction :: ExecuteWorkflow -> String -> Maybe (IO ())
- runAction :: ExecuteWorkflow -> Action -> Maybe (IO ())
- help :: IO ()
- parseAction :: String -> Action
- gAction :: Grammar r (Prod r e [Char] Action)
Documentation
cmdln :: ExecuteWorkflow -> IO () Source #
prefix with a number to pause (for that many seconds) before execution.
prefix with "stay" to disable "alt-tab"ing before execution.
e.g.
> help ... > stay paste > copy # (Having selected some text topmost (besides the current) window) > 1000 paste # Wait a second before pasting > quit
evalAction :: ExecuteWorkflow -> String -> Maybe (IO ()) Source #
parseAction :: String -> Action Source #