notiflow 2.0.1

Telegram notifier for CI and the terminal — a GitHub Action and a standalone CLI in one binary
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Thin entry point: run the CLI, map an error onto an exit code, print nothing else.

use notiflow::cli;
use notiflow::error::Rendered;

fn main() {
    match cli::dispatch() {
        Ok(code) => std::process::exit(code),
        Err(err) => {
            notiflow::safe_eprintln!("{}", Rendered(&err));
            std::process::exit(err.exit_code());
        }
    }
}