Interface TaskDefinition

Hierarchy

Properties

action: ActionType<any>
addFlag: ((name: string, description?: string) => TaskDefinition)

Type declaration

addOptionalParam: (<T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>) => TaskDefinition)

Type declaration

    • <T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>): TaskDefinition
    • Type Parameters

      • T

      Parameters

      • name: string
      • Optional description: string
      • Optional defaultValue: T
      • Optional type: ArgumentType<T>

      Returns TaskDefinition

addOptionalPositionalParam: (<T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>) => TaskDefinition)

Type declaration

    • <T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>): TaskDefinition
    • Type Parameters

      • T

      Parameters

      • name: string
      • Optional description: string
      • Optional defaultValue: T
      • Optional type: ArgumentType<T>

      Returns TaskDefinition

addOptionalVariadicPositionalParam: (<T>(name: string, description?: string, defaultValue?: T[], type?: ArgumentType<T>) => TaskDefinition)

Type declaration

    • <T>(name: string, description?: string, defaultValue?: T[], type?: ArgumentType<T>): TaskDefinition
    • Type Parameters

      • T

      Parameters

      • name: string
      • Optional description: string
      • Optional defaultValue: T[]
      • Optional type: ArgumentType<T>

      Returns TaskDefinition

addParam: (<T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>, isOptional?: boolean) => TaskDefinition)

Type declaration

    • <T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>, isOptional?: boolean): TaskDefinition
    • Type Parameters

      • T

      Parameters

      • name: string
      • Optional description: string
      • Optional defaultValue: T
      • Optional type: ArgumentType<T>
      • Optional isOptional: boolean

      Returns TaskDefinition

addPositionalParam: (<T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>, isOptional?: boolean) => TaskDefinition)

Type declaration

    • <T>(name: string, description?: string, defaultValue?: T, type?: ArgumentType<T>, isOptional?: boolean): TaskDefinition
    • Type Parameters

      • T

      Parameters

      • name: string
      • Optional description: string
      • Optional defaultValue: T
      • Optional type: ArgumentType<T>
      • Optional isOptional: boolean

      Returns TaskDefinition

addVariadicPositionalParam: (<T>(name: string, description?: string, defaultValue?: T[], type?: ArgumentType<T>, isOptional?: boolean) => TaskDefinition)

Type declaration

    • <T>(name: string, description?: string, defaultValue?: T[], type?: ArgumentType<T>, isOptional?: boolean): TaskDefinition
    • Type Parameters

      • T

      Parameters

      • name: string
      • Optional description: string
      • Optional defaultValue: T[]
      • Optional type: ArgumentType<T>
      • Optional isOptional: boolean

      Returns TaskDefinition

description?: string
isInternal: boolean
name: string
paramDefinitions: ParamDefinitionsMap
positionalParamDefinitions: ParamDefinitionAny[]
setAction: ((action: ActionType<any>) => TaskDefinition)

Type declaration

setDescription: ((description: string) => TaskDefinition)

Type declaration

Generated using TypeDoc