Implements

  • ICliCommandProcessor

Constructors

Properties

author: ICliCommandAuthor = DefaultLibraryAuthor

The author of the command

command: string = 'string'

The command that this processor handles

description: string = 'String commands'

A description of the command

metadata?: CliProcessorMetadata = ...

The metadata for the command processor

processors?: ICliCommandProcessor[] = []

Processors that are nested under this processor

version: string = LIBRARY_VERSION

The version of the command processor

'1.0.0'

Methods

  • Process the command

    Parameters

    • command: CliProcessCommand

      The command to process

    • context: ICliExecutionContext

      The context in which the command is executed

    Returns Promise<void>

  • Write the description of the command

    Parameters

    • context: ICliExecutionContext

      The context in which the command is executed

    Returns void