claude-code-transcripts-ingest 0.1.9

CLI that ingests Claude Code transcript JSONL files into a DuckDB database for usage / cost analysis.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;

use claude_code_transcripts_ingest::cli::{Cli, Command};
use claude_code_transcripts_ingest::{info, run, serve};

#[tokio::main]
async fn main() {
    let cli = Cli::parse();
    match cli.command {
        Command::Ingest(args) => run::run(args),
        Command::Serve(args) => serve::run(args).await,
        Command::Info(args) => info::run(args),
    }
}