Options
All
  • Public
  • Public/Protected
  • All
Menu

Class YargsConfigurer

Before invoking commands, this class configures some settings and callbacks in Yargs, including what happens on syntax failures.

Hierarchy

  • YargsConfigurer

Index

Constructors

constructor

Properties

Private commandLine

commandLine: string

Private commandRespParms

commandRespParms: ICommandResponseParms

Private envVariablePrefix

envVariablePrefix: string

Private experimentalCommandDescription

experimentalCommandDescription: string

Private helpGeneratorFactory

helpGeneratorFactory: IHelpGeneratorFactory

Private profileManagerFactory

Private promptPhrase

promptPhrase: string

Private rootCommand

rootCommand: ICommandDefinition

Private rootCommandName

rootCommandName: string

Private yargs

yargs: any

Methods

Private buildFailureMessage

  • buildFailureMessage(closestCommand?: string): string

configure

  • configure(): void

Generated using TypeDoc