Options
All
  • Public
  • Public/Protected
  • All
Menu

Imports a Configuration and sets it as default if specified.

Hierarchy

  • default
    • default

Index

Constructors

Properties

Methods

Constructors

  • new default(argv: string[], config: IConfig): default
  • Parameters

    • argv: string[]
    • config: IConfig

    Returns default

Properties

args: { description: string; name: string }[] = ...
description: string = 'Import a config and set as default if specified'
flags: { default: IBooleanFlag<boolean>; help: IBooleanFlag<void>; key: IOptionFlag<undefined | string> } = ...

Type declaration

  • default: IBooleanFlag<boolean>
  • help: IBooleanFlag<void>
  • key: IOptionFlag<undefined | string>

Methods

  • run(): Promise<any>
  • Returns Promise<any>