ccclub 0.2.56 → 0.2.57
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 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -756,7 +756,7 @@ async function rankCommand(options) {
|
|
|
756
756
|
console.log(chalk5.red("No group found. Run 'ccclub init' or 'ccclub join <code>' first."));
|
|
757
757
|
return;
|
|
758
758
|
}
|
|
759
|
-
const spinner = ora4("
|
|
759
|
+
const spinner = ora4("Loading leaderboard...").start();
|
|
760
760
|
try {
|
|
761
761
|
for (let i = 0; i < codes.length; i++) {
|
|
762
762
|
const code = codes[i];
|
|
@@ -1129,12 +1129,12 @@ async function hookCommand() {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
// src/index.ts
|
|
1132
|
-
var VERSION = "0.2.
|
|
1132
|
+
var VERSION = "0.2.57";
|
|
1133
1133
|
startUpdateCheck(VERSION);
|
|
1134
1134
|
var program = new Command();
|
|
1135
1135
|
program.name("ccclub").description("Claude Code leaderboard among friends").version(VERSION, "-v, -V, --version");
|
|
1136
1136
|
program.command("rank", { isDefault: true, hidden: true }).description("Show leaderboard").option("-d, --days <days>", "Time window: 7 | 30 | all").addOption(new Option("-p, --period [period]").hideHelp()).option("-g, --group <code>", "Group invite code").option("--global", "Show global public ranking").option("--cache", "Include cache tokens in count").action(rankCommand);
|
|
1137
|
-
program.command("init").description("Create a group and
|
|
1137
|
+
program.command("init").description("Create a group and get started (first-time setup)").action(initCommand);
|
|
1138
1138
|
program.command("join").description("Join a group with a 6-letter invite code").argument("<invite-code>", "6-character invite code").action(joinCommand);
|
|
1139
1139
|
program.command("sync").description("Upload usage data (runs automatically after each chat)").addOption(new Option("-s, --silent").hideHelp()).option("-f, --force", "Force full re-sync of all data").addOption(new Option("--full", "Same as --force").hideHelp()).action(
|
|
1140
1140
|
(options) => syncCommand({ ...options, full: options.full || options.force })
|