Commit 117bff6
Initialize global consola logger in CLI (#70)
* Disable consola timestamp in CLI output
Set formatOptions.date to false to suppress timestamps that are
unnecessary for CLI usage.
https://claude.ai/code/session_011823SsAVT5oAoqN7YvGzuh
* Use basic reporter instead of fancy for consola
CLI tool doesn't need fancy reporter's box decorations or timestamps.
Switch to basic reporter via createConsola({ fancy: false }).
https://claude.ai/code/session_011823SsAVT5oAoqN7YvGzuh
* fix: use consola.options.formatOptions.date to disable timestamp
Simplify the approach to disable timestamps by setting the option
on the existing consola instance instead of creating a new one
with the basic reporter. This fixes the TypeScript type error.
https://claude.ai/code/session_011823SsAVT5oAoqN7YvGzuh
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 81ae11a commit 117bff6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments