@clawcard/cli 2.0.1 → 2.0.2
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/index.js +1 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -314,6 +314,7 @@ program
|
|
|
314
314
|
.command("update")
|
|
315
315
|
.description("Update to the latest version")
|
|
316
316
|
.action(async () => {
|
|
317
|
+
const { checkForUpdate } = await import("./splash.js");
|
|
317
318
|
const s = p.spinner();
|
|
318
319
|
s.start("Checking for updates...");
|
|
319
320
|
const latest = await checkForUpdate();
|