Module

Options.Applicative.Help.Core

#cmdDesc

cmdDesc :: forall a. Parser a -> Array (Tuple (Maybe String) (Chunk Doc))

Generate descriptions for commands.

#briefDesc

briefDesc :: forall a. ParserPrefs -> Parser a -> Chunk Doc

Generate a brief help text for a parser.

#missingDesc

missingDesc :: forall a. ParserPrefs -> Parser a -> Chunk Doc

Generate a brief help text for a parser, only including mandatory

#fold_tree

#fullDesc

fullDesc :: forall a. ParserPrefs -> Parser a -> Chunk Doc

Generate a full help text for a parser.

#errorHelp

#headerHelp

#suggestionsHelp

#usageHelp

#bodyHelp

#footerHelp

#parserHelp

parserHelp :: forall a. ParserPrefs -> Parser a -> ParserHelp

Generate the help text for a program.

#parserUsage

parserUsage :: forall a. ParserPrefs -> Parser a -> String -> Doc

Generate option summary.

Re-exports from Options.Applicative.Types

#ParserHelp

newtype ParserHelp

Constructors

Instances

Modules