server-watchdog 0.1.0

A server monitoring and remote control tool via messenger.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use clap::Parser;
use log::{debug, trace};
use server_watchdog::infrastructure::cli::Cli;

#[tokio::main]
async fn main() {
    env_logger::init();
    trace!("main start");

    let cli = Cli::parse();
    debug!("command: {:?}", &cli.command);

    cli.command.run().await;
    trace!("main end");
}