Skip to content

Commit 6bca0a0

Browse files
committed
feat: add cli log level
1 parent 8983d4c commit 6bca0a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/rspeedy/core/src/cli/commands.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ function applyCommonOptions(command: Command) {
4343
'-r --root <root>',
4444
'set the project root directory (absolute path or relative to cwd)',
4545
)
46+
.option(
47+
'--log-level <level>',
48+
'Set the log level (info | warn | error | silent)',
49+
)
4650
}
4751

4852
function resolveRoot(cwd: string, root?: string): string {

0 commit comments

Comments
 (0)