Show / Hide Table of Contents

    Interface ICatalystCli

    Namespace: Catalyst.Abstractions.Cli
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface ICatalystCli

    Methods

    | Improve this Doc View Source

    ParseCommand(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

    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network