Skip to content

Commit 7a9b78e

Browse files
committed
feat: add cli log level
1 parent b228181 commit 7a9b78e

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
@@ -65,6 +65,10 @@ export function apply(program: Command): Command {
6565
'--watch',
6666
'Enable watch mode to automatically rebuild on file changes',
6767
)
68+
.option(
69+
'--log-level <level>',
70+
'Set the log level (info | warn | error | silent)',
71+
)
6872
.action(
6973
(buildOptions: BuildOptions) =>
7074
import('./build.js').then(({ build }) =>

0 commit comments

Comments
 (0)