cargo-blinc 0.1.2

Notifies about commands exit code using LED light blink(1)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use structopt::StructOpt;

#[derive(Debug, StructOpt)]
#[structopt(
    name = "blinc",
    about = "Blinks USB notifier light with different colors depending on command exit code"
)]
pub(crate) enum Opt {
    Blinc {
        /// Initializes configuration file named .blinc (note the dot)
        #[structopt(short, long)]
        init: Option<String>,

        /// Points to configuration file
        #[structopt(short, long, default_value = ".blinc")]
        config: String,
    },
}