Options
All
  • Public
  • Public/Protected
  • All
Menu

Module util/command

Index

Interfaces

Type aliases

Functions

Type aliases

ICliCommandOptions

ICliCommandOptions<OwnArgs>: Required<{[ key in keyof OwnArgs]: Options }>

Type parameters

  • OwnArgs

Functions

registerCommandToYargs

  • registerCommandToYargs(yargs: Argv, cliCommand: ICliCommand<any, any>): void
  • Register a ICliCommand type to yargs. Recursively registers subcommands too.

    Parameters

    Returns void

Generated using TypeDoc