Module clap

Source
Available on crate feature clap only.
Expand description

Notifications for your clap arguments.

use clap::Parser;

#[derive(Parser)]
pub struct Cli {
    #[command(flatten)]
    pub notifications: pling::clap::Args,
}

let matches = Cli::parse();
matches.notifications.send_ureq("Hello world!")?;

Structsยง

Args
Matrix
Slack
Telegram
Webhook