Interface ICommand
Namespace: Catalyst.Abstractions.Cli.CommandTypes
Assembly: Catalyst.Abstractions.dll
Syntax
public interface ICommand
Properties
| Improve this Doc View SourceCommandName
Gets the name of the command.
Declaration
string CommandName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the command. |
OptionType
Gets the type of the option.
Declaration
Type OptionType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type | The type of the option. |
Methods
| Improve this Doc View SourceParse(String[])
Parses the specified arguments.
Declaration
bool Parse(string[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | args | The arguments. |
Returns
| Type | Description |
|---|---|
| System.Boolean |