yaop-0.1.2.1: Yet another option parser

Safe HaskellNone

System.Console.YAOP.Actions

Synopsis

Documentation

data Action g Source

Constructors

forall l . Action 

Fields

actName :: String
 
actOptDesc :: OptM l ()
 
actDefOpts :: l
 
actAction :: g -> l -> [String] -> IO ()
 
actShortDesc :: String
 
actLongDesc :: String
 

runApplication :: Application g -> [String] -> IO ()Source

Runs application: parses args, looks up an action and runs it