Safe Haskell | Safe-Infered |
---|
System.Console.CmdArgs.Test.Implicit.Util
- toDemo :: (Typeable a, Show a) => Mode (CmdArgs a) -> Mode Demo
- invalid :: Data a => (() -> a) -> IO ()
- data Tester a = Tester {}
- testers :: (Show a, Eq a) => String -> [Mode (CmdArgs a)] -> Tester a
- tester :: (Show a, Eq a) => String -> Mode (CmdArgs a) -> Tester a
- match :: [String] -> [String] -> Bool
- matchLine :: String -> String -> Bool
- data Complete
Documentation
data Complete
How to complete a command line option.
The Show
instance is suitable for parsing from shell scripts.
Constructors
CompleteValue String | Complete to a particular value |
CompleteFile String FilePath | Complete to a prefix, and a file |
CompleteDir String FilePath | Complete to a prefix, and a directory |