Safe Haskell | None |
---|---|
Language | Haskell98 |
Darcs.Commands
Documentation
data CommandControl Source
Constructors
CommandData DarcsCommand | |
HiddenCommand DarcsCommand | |
GroupName String |
data DarcsCommand Source
Constructors
DarcsCommand | |
Fields
| |
SuperCommand | |
Fields
|
commandAlias :: String -> Maybe DarcsCommand -> DarcsCommand -> DarcsCommand Source
commandStub :: String -> String -> String -> DarcsCommand -> DarcsCommand Source
commandOptions :: AbsolutePath -> DarcsCommand -> ([OptDescr DarcsFlag], [OptDescr DarcsFlag]) Source
commandAlloptions :: DarcsCommand -> ([DarcsOption], [DarcsOption]) Source
disambiguateCommands :: [CommandControl] -> String -> [String] -> Either String (CommandArgs, [String]) Source
data CommandArgs Source
getCommandHelp :: Maybe DarcsCommand -> DarcsCommand -> String Source
usage :: [CommandControl] -> String Source
usageHelper :: [CommandControl] -> String Source
subusage :: DarcsCommand -> String Source
chompNewline :: String -> String Source
extractCommands :: [CommandControl] -> [DarcsCommand] Source
superName :: Maybe DarcsCommand -> String Source
nodefaults :: [DarcsFlag] -> AbsolutePath -> [String] -> IO [String] Source
putVerbose :: [DarcsFlag] -> Doc -> IO () Source
putWarning :: [DarcsFlag] -> Doc -> IO () Source