ccclub 0.1.8 → 0.1.9
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -67,7 +67,8 @@ function getApiUrl() {
|
|
|
67
67
|
async function requireConfig() {
|
|
68
68
|
const config = await loadConfig();
|
|
69
69
|
if (!config) {
|
|
70
|
-
|
|
70
|
+
console.error('Not initialized. Run "ccclub init" or "ccclub join <code>" first.');
|
|
71
|
+
process.exit(1);
|
|
71
72
|
}
|
|
72
73
|
return config;
|
|
73
74
|
}
|
|
@@ -685,7 +686,7 @@ async function ensureGlobalInstall() {
|
|
|
685
686
|
|
|
686
687
|
// src/index.ts
|
|
687
688
|
var program = new Command();
|
|
688
|
-
program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.1.
|
|
689
|
+
program.name("ccclub").description("CCClub - Compare Claude Code usage with friends").version("0.1.9");
|
|
689
690
|
program.hook("postAction", () => ensureGlobalInstall());
|
|
690
691
|
program.command("init").description("Initialize CCClub (one-time setup)").action(initCommand);
|
|
691
692
|
program.command("join").description("Join a friend's group").argument("<invite-code>", "6-character invite code").action(joinCommand);
|