Add(TCommand, String, String?) Method

Definition

Assembly XenoAtom.CommandLine.dll

Adds the remainder positional argument (<>) to this command container. All remaining arguments are passed unprocessed to the command action.

public static TCommand Add<TCommand>(this TCommand command, string prototype, string? description)
    where TCommand : CommandContainer

Type parameters

TCommand
Type of the command container.

Parameters

command
{TCommand}

The command container.

prototype
String

Must be "<>".

description
String

The help description for this remainder argument.

Returns

{TCommand}
The command container.