halp 0.2.0

A CLI tool to get help with CLI tools 🐙
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::Parser;
use halp::cli::CliArgs;
use std::io;
use std::process;

fn main() {
    let args = CliArgs::parse();
    let mut stdout = io::stdout();
    match halp::run(args, &mut stdout) {
        Ok(_) => process::exit(0),
        Err(e) => {
            eprintln!("{e}");
            process::exit(1)
        }
    }
}