Show / Hide Table of Contents

    Interface ICommand

    Namespace: Catalyst.Abstractions.Cli.CommandTypes
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface ICommand

    Properties

    | Improve this Doc View Source

    CommandName

    Gets the name of the command.

    Declaration
    string CommandName { get; }
    Property Value
    Type Description
    System.String

    The name of the command.

    | Improve this Doc View Source

    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 Source

    Parse(String[])

    Parses the specified arguments.

    Declaration
    bool Parse(string[] args)
    Parameters
    Type Name Description
    System.String[] args

    The arguments.

    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network