Class Command<T_CommandOptions>Internal

Class to group common behavior among commands.

Type Parameters

  • T_CommandOptions extends {
        [index: string]: any;
    }

Hierarchy

Constructors

  • Type Parameters

    • T_CommandOptions extends {
          [index: string]: any;
      }

    Parameters

    • schemaId: SchemaIds
    • schema: JSONSchemaType<T_CommandOptions>
    • options: T_CommandOptions
    • globalOptions: GlobalOptions
    • ipCmd: string[]

    Returns Command<T_CommandOptions>

Properties

_cmd: (string | number)[] = []
_cmdToExec: string = ''
globalOptions: GlobalOptions
ipCmd: string[]
options: T_CommandOptions
schema: JSONSchemaType<T_CommandOptions>
schemaId: SchemaIds

Accessors

Methods

  • Parameters

    • value: any
    • key: string = ''
    • orderKeysBySchema: boolean = true
    • Optional schema: JSONSchemaType<any>
      Optional

    Returns (string | number)[]

Generated using TypeDoc