distats-cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/loader.js +4 -1
- package/src/utils/logger.js +1 -1
package/package.json
CHANGED
package/src/utils/loader.js
CHANGED
|
@@ -10,6 +10,9 @@ export function createLoader(text = "Loading...") {
|
|
|
10
10
|
update(message) {
|
|
11
11
|
spinner.text = message;
|
|
12
12
|
},
|
|
13
|
+
stop() {
|
|
14
|
+
spinner.stop();
|
|
15
|
+
},
|
|
13
16
|
succeed(message) {
|
|
14
17
|
spinner.succeed(message);
|
|
15
18
|
},
|
|
@@ -17,4 +20,4 @@ export function createLoader(text = "Loading...") {
|
|
|
17
20
|
spinner.fail(message);
|
|
18
21
|
},
|
|
19
22
|
};
|
|
20
|
-
}
|
|
23
|
+
}
|
package/src/utils/logger.js
CHANGED
|
@@ -17,7 +17,7 @@ export function logError(message) {
|
|
|
17
17
|
* Features a minimalist text-only header box with a clickable link.
|
|
18
18
|
*/
|
|
19
19
|
export function showWelcome() {
|
|
20
|
-
const version = "1.0.
|
|
20
|
+
const version = "1.0.0";
|
|
21
21
|
|
|
22
22
|
// Helper for clickable terminal links
|
|
23
23
|
const link = (text, url) => `\u001b]8;;${url}\u001b\\${text}\u001b]8;;\u001b\\`;
|