Cling::Formatter
Inherits Reference < Object
Generates a formatted help template for command components.
Constructors
Instance methods
Formats the arguments of the command into the given IO.
Formats the command information including subcommands into the given IO. By default, this does not include hidden commands, but you can override this if you wish.
Formats the description of a command into the given IO.
Formats the header of a command into the given IO.
Formats the options of the command into the given IO.
Formats the usage strings of a command into the given IO.
Generates a help template for the specified command. This will attempt to fill fields that have not been set in the command, for example, command usage strings. Values that are not set, such as arguments and options, will not be written to the IO.
Writes to the IO and returns nothing.
Generates a help template for the specified command. This will attempt to fill fields that have not been set in the command, for example, command usage strings. Values that are not set, such as arguments and options, will not be written to the IO.