hamsql-0.8.0.0: HamSql
Database.HamSql.Internal.Option
boolFlag :: Mod FlagFields Bool -> Parser Bool Source #
val :: (HasMetavar f, HasValue f) => String -> Mod f String Source #
parserInfoHamsql :: ParserInfo Command Source #
data Command Source #
Constructors
Instances
Methods
showsPrec :: Int -> Command -> ShowS #
show :: Command -> String #
showList :: [Command] -> ShowS #
parserCommand :: Parser Command Source #
parserCmdInstall :: Parser Command Source #
parserCmdUpgrade :: Parser Command Source #
parserCmdDoc :: Parser Command Source #
data OptCommon Source #
Fields
showsPrec :: Int -> OptCommon -> ShowS #
show :: OptCommon -> String #
showList :: [OptCommon] -> ShowS #
parserOptCommon :: Parser OptCommon Source #
data OptCommonDb Source #
showsPrec :: Int -> OptCommonDb -> ShowS #
show :: OptCommonDb -> String #
showList :: [OptCommonDb] -> ShowS #
justStr :: ReadM (Maybe String) Source #
parserOptCommonDb :: Parser OptCommonDb Source #
data OptInstall Source #
showsPrec :: Int -> OptInstall -> ShowS #
show :: OptInstall -> String #
showList :: [OptInstall] -> ShowS #
parserOptInstall :: Parser OptInstall Source #
data OptNoCommand Source #
showsPrec :: Int -> OptNoCommand -> ShowS #
show :: OptNoCommand -> String #
showList :: [OptNoCommand] -> ShowS #
parserOptNoCommand :: Parser Command Source #
data OptDoc Source #
showsPrec :: Int -> OptDoc -> ShowS #
show :: OptDoc -> String #
showList :: [OptDoc] -> ShowS #
parserOptDoc :: Parser OptDoc Source #