UsageWriterWriteCommandListUsageCore Method

Creates the usage help for a Ookii.CommandLine.CommandsCommandManager instance.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected virtual void WriteCommandListUsageCore()

Remarks

This is the primary method used to generate usage help for the Ookii.CommandLine.CommandsCommandManager class. It calls into the various other methods of this class, so overriding this method should not typically be necessary unless you wish to deviate from the order in which usage elements are written.

The base implementation writes the application description, followed by the list of commands, followed by a footer, which may include a message indicating how to get help on a command. Which elements are included exactly can be influenced by the properties of this class.

See Also