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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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 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