consta 0.6.1

Git contribution statistics tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
use consta::{cli::Args, git, table};
use std::time::Instant;

fn main() {
    let start = Instant::now();
    let args = Args::parse();
    let stats = git::collect(&args);
    table::print_summary(&stats, args.breakdown);
    table::print_grid(&stats, args.grid);
    if args.debug {
        eprintln!("Finished in {:.2?}", start.elapsed());
    }
}