We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f759c20 commit 75f9906Copy full SHA for 75f9906
1 file changed
scripts/utils/logger.mjs
@@ -69,4 +69,18 @@ export const logger = {
69
console.log(message)
70
return this
71
},
72
+
73
+ clearLine() {
74
+ // Clear the current line by moving cursor to the beginning
75
+ if (process.stdout.isTTY) {
76
+ process.stdout.clearLine(0)
77
+ process.stdout.cursorTo(0)
78
+ }
79
+ return this
80
+ },
81
82
+ done(...args) {
83
+ console.log(LOG_SYMBOLS.success, ...args)
84
85
86
}
0 commit comments