Interface ICatalystCli
Namespace: Catalyst.Abstractions.Cli
Assembly: Catalyst.Abstractions.dll
Syntax
public interface ICatalystCli
Methods
| Improve this Doc View SourceParseCommand(String[])
Parses the Options object sent and calls the correct message to handle the option a defined in the MapResult
Declaration
bool ParseCommand(params string[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | args | string array including the parameters passed through the command line |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if a method to handle the options is found otherwise returns false |
RunConsole(CancellationToken)
Runs the main cli ui.
Declaration
bool RunConsole(CancellationToken ct)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | ct |
Returns
Type | Description |
---|---|
System.Boolean |