ICommandRun Method

Runs the command.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
int Run()

Return Value

Int32
The exit code for the command.

Remarks

Typically, your application's Main() method should return the exit code of the command that was executed.

See Also