CliHelpBuilderWriteCommandOptionsSection Method

Writes a help section describing a command's options. Similar to:
console
Options:
  -o, --option-1 <option-1>  Description for Option1 [default: DefaultForOption1]
  -v, --version              Show version information
  -?, -h, --help             Show help and usage information

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public virtual bool WriteCommandOptionsSection(
	HelpContext helpContext
)

Parameters

helpContext  HelpContext
The help context.

Return Value

Boolean
if section was written, if section was skipped.

See Also