optparse-applicative-0.13.2.0: Utilities and combinators for parsing command line options

Safe HaskellSafe
LanguageHaskell98

Options.Applicative.Help.Core

Synopsis

Documentation

cmdDesc :: Parser a -> [(Maybe String, Chunk Doc)] #

Generate descriptions for commands.

briefDesc :: ParserPrefs -> Parser a -> Chunk Doc #

Generate a brief help text for a parser.

missingDesc :: ParserPrefs -> Parser a -> Chunk Doc #

Generate a brief help text for a parser, only including mandatory options and arguments.

fullDesc :: ParserPrefs -> Parser a -> Chunk Doc #

Generate a full help text for a parser.

parserHelp :: ParserPrefs -> Parser a -> ParserHelp #

Generate the help text for a program.

parserUsage :: ParserPrefs -> Parser a -> String -> Doc #

Generate option summary.