Skip to content

Commit daeeccb

Browse files
committed
feat: use dailyCommand as a default
1 parent 0bf95c6 commit daeeccb

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

index.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,9 @@ const subCommands = new Map();
1111
subCommands.set("daily", dailyCommand);
1212
subCommands.set("session", sessionCommand);
1313

14-
// Default command shows daily report
15-
const command = define({
16-
description: "Claude Code usage report tool",
17-
async run(ctx) {
18-
// Show help when no subcommand is provided
19-
// The CLI will automatically show available subcommands
20-
return;
21-
},
22-
});
14+
const mainCommand = dailyCommand;
2315

24-
await cli(process.argv.slice(2), command, {
16+
await cli(process.argv.slice(2), mainCommand, {
2517
name,
2618
version,
2719
description,

0 commit comments

Comments
 (0)