cnc-rs 0.1.4

A Rust-based project for PostgreSQL replication and email notifications with a configurable CLI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
use std::path::PathBuf;

#[derive(Parser)]
#[command(version, about, long_about = None)]
pub struct Cli {
    pub config_file: PathBuf,

    #[arg(long)]
    pub verbose: bool,

    #[arg(long)]
    pub email: Option<bool>,
}