浏览代码

Update wrapper

Adjust logging flag.
master
TheoryOfNekomata 8 个月前
父节点
当前提交
107dcfe53d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      packages/cli/src/packages/cli-wrapper.ts

+ 2
- 0
packages/cli/src/packages/cli-wrapper.ts 查看文件

@@ -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',


正在加载...
取消
保存