Explorar el Código

Update wrapper

Adjust logging flag.
master
TheoryOfNekomata hace 3 semanas
padre
commit
107dcfe53d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      packages/cli/src/packages/cli-wrapper.ts

+ 2
- 0
packages/cli/src/packages/cli-wrapper.ts Ver fichero

@@ -213,6 +213,7 @@ export class Cli {
const loggerFn = thisCli.options.logger;
const defaultLogger = {
level: 'info',
enabled: typeof loggerFn === 'boolean' ? loggerFn : true,
debug: stdoutLogFn,
info: stdoutLogFn,
warn: stdoutLogFn,
@@ -252,6 +253,7 @@ export class Cli {
}

command({ parameters, command, interactiveMode = true, handler, ...args }: CommandArgs): Cli {
// TODO type-safe declaration of positional/optional arguments
const {
option = 'interactive',
alias = 'i',


Cargando…
Cancelar
Guardar