shellshot 0.5.0

Transform your command-line output into clean, shareable images with a single command.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;
use shellshot::{Args, run_shellshot};
use tracing::warn;

fn main() {
    let args = Args::parse();

    if !args.quiet {
        tracing_subscriber::fmt()
            .without_time()
            .with_target(false)
            .init();
    }

    if let Err(e) = run_shellshot(args) {
        warn!("Error while running shellshot: {e}");
    }
}