ICommandWithCustomParsing Interface

Represents a subcommand that does its own argument parsing.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public interface ICommandWithCustomParsing : ICommand
Implements
ICommand

Remarks

Unlike commands that only implement the ICommand interface, commands that implement the ICommandWithCustomParsing interface are not created with the CommandLineParser class. Instead, they must have a public constructor with no parameters, and must parse the arguments manually by implementing the Parse(ReadOnlyMemoryString, CommandManager) method.

Methods

Parse Parses the arguments for the command.
Run Runs the command.
(Inherited from ICommand)

See Also