commandline interface collection context

Hierarchy

  • CommandContext

Constructors

Methods

  • sometime we have to add path to commandline name when commandline is not in $PATH or it's yarn bin files

    Returns

    valid commandline name

    Parameters

    • cmd: string

      commandline name

    Returns string

  • build eslint command with input argument

    Parameters

    • configPath: string

      .eslintrc.json

    • Rest ...args: string[]

      eslint arguments

    Returns string[]

  • build jest command with input argument

    Parameters

    • configPath: string

      jest.config.js

    • Rest ...args: string[]

      jest arguments

    Returns string[]

  • build stryker run command with input option

    Parameters

    • configPath: string

      stryker.conf.js

    • Rest ...args: string[]

      stryker option arguments

    Returns string[]

  • build tsc command with input argument

    Returns

    tsc command in cli

    Parameters

    • configPath: string

      tsconfig.json

    • Rest ...args: string[]

      tsc arguments

    Returns string[]

Generated using TypeDoc