midnight 0.4.0

Send mail later via batch queueing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Result;
use midnight::Midnight;

fn main() -> Result<()> {
    Midnight::flags()?;
    let args = std::env::args().collect::<Vec<String>>();
    if args.len() < 2 {
        eprintln!("Usage: mnrm <jobid>");
        std::process::exit(1);
    }
    Midnight::rm(&args[1])
}