CommandOptionsAutoVersionCommand Property

Gets or sets a value that indicates whether a version command should automatically be created.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.0.0
C#
public bool AutoVersionCommand { get; set; }

Property Value

Boolean
to automatically create a version command; otherwise, . The default is .

Remarks

If this property is true, a command named "version" will be automatically added to the list of available commands, unless a command with that name already exists. When invoked, the command will show version information for the application, based on the entry point assembly.

See Also