ICommandRun Method

Runs the command.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
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