Input object for CommandType.Function and CommandType.Module command types. Stores arguments information and other javascript utilites.

interface CommandHandlerInput<T> {
    args: ArgumentsCamelCase<T>;
    cliUtils: CliUtils;
    iteratorHelper: __module;
    yaml: __module;
}

Type Parameters

  • T

Properties

args: ArgumentsCamelCase<T>

Script's input arguments.

cliUtils: CliUtils

CLI utilities, useful to run commands.

iteratorHelper: __module

Polyfill for iterator helper proposal. For more information refer to iterator-helper npm package.

yaml: __module

Function for reading yaml files. For more information refer to js-yaml npm package.