Options
All
  • Public
  • Public/Protected
  • All
Menu

Init config

Hierarchy

  • InitHandler

Implements

Index

Properties

Private params

Private promptProps

promptProps: string[]

List of property names that have been prompted for.

Methods

Private initForDryRun

  • initForDryRun(config: Config, user: boolean, globalConfig: boolean): Promise<any>

Private initWithSchema

  • initWithSchema(config: Config, user: boolean, globalConfig: boolean, overwrite: boolean): Promise<void>
  • Creates JSON template for config. Also creates a schema file in the same folder alongside the config.

    Parameters

    • config: Config

      Config object to be populated

    • user: boolean

      If true, properties will be left empty for user config

    • globalConfig: boolean

      Is the config to be a global config?

    • overwrite: boolean

      Shall we overwrite an existing config?

    Returns Promise<void>

process

Private promptForProp

Generated using TypeDoc