@clawcard/cli 2.0.4 → 2.0.5
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 +2 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -397,6 +397,7 @@ if (process.argv.length <= 2) {
|
|
|
397
397
|
{ value: "topup", label: "Top up my account", hint: "add balance (10% fee)" },
|
|
398
398
|
{ value: "referral", label: "Referral", hint: "share & earn $5" },
|
|
399
399
|
{ value: "whoami", label: "Who am I?", hint: "show current account" },
|
|
400
|
+
{ value: "dashboard", label: "Open dashboard", hint: "open in browser" },
|
|
400
401
|
{ value: "logout", label: "Logout", hint: "clear session" },
|
|
401
402
|
{ value: "help", label: "Help", hint: "show all commands" },
|
|
402
403
|
];
|
|
@@ -421,6 +422,7 @@ if (process.argv.length <= 2) {
|
|
|
421
422
|
"agent-fund": () => import("./commands/keys.js").then((m) => m.agentFundCommand()),
|
|
422
423
|
"keys-create": () => import("./commands/keys.js").then((m) => m.keysCreateCommand()),
|
|
423
424
|
"topup": () => import("./commands/billing.js").then((m) => m.billingTopupCommand()),
|
|
425
|
+
"dashboard": async () => { const { default: open } = await import("open"); await open("https://www.clawcard.sh/dashboard"); },
|
|
424
426
|
keys: () => import("./commands/keys.js").then((m) => m.keysCommand()),
|
|
425
427
|
setup: () => import("./commands/setup.js").then((m) => m.setupCommand()),
|
|
426
428
|
billing: () =>
|