rustinsight 0.10.0

The launcher app for the interacive book
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use anyhow::Error;
use clap::Parser;
use colored::Colorize;
use rustinsight::app::App;
use rustinsight::opts::Opts;

#[tokio::main]
async fn main() -> Result<(), Error> {
    let opts = Opts::parse();
    if let Err(err) = App::entrypoint(opts, true).await {
        println!("Failed: {}", err.to_string().red());
    }
    Ok(())
}