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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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