Options
All
  • Public
  • Public/Protected
  • All
Menu

pretty-exec — Reference

Index

Variables

Const DEFAULT_ARGUMENT_STYLING_FUNC

DEFAULT_ARGUMENT_STYLING_FUNC: StylingFunc = chalk

Const DEFAULT_COLOR_SCHEMES

DEFAULT_COLOR_SCHEMES: ColorSchemes

Const DEFAULT_COMMAND_STYLING_FUNC

DEFAULT_COMMAND_STYLING_FUNC: StylingFunc = chalk.green

Const DEFAULT_FLAG_STYLING_FUNC

DEFAULT_FLAG_STYLING_FUNC: StylingFunc = chalk.red

Const DEFAULT_OPTION_KEY_STYLING_FUNC

DEFAULT_OPTION_KEY_STYLING_FUNC: StylingFunc = chalk.red

Const DEFAULT_OPTION_VALUE_STYLING_FUNC

DEFAULT_OPTION_VALUE_STYLING_FUNC: StylingFunc = chalk

Const DEFAULT_PREFIX

DEFAULT_PREFIX: ["$"] = ['$'] as const

Const DEFAULT_PREFIX_STYLING_FUNC

DEFAULT_PREFIX_STYLING_FUNC: StylingFunc = chalk.dim

Functions

createPrettyExec

escape

  • escape(...args: string[]): any

main

  • main<Status>(options: CliExecEnv<Status>): Status | -1

parseCommandArguments

parseSingleCommandArgument

Object literals

Const SPAWN_OPTIONS

SPAWN_OPTIONS: object

stdio

stdio: "inherit" = "inherit"

Generated using TypeDoc