arci-speak-cmd 0.1.0

arci::Speaker implementation using local command
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use arci::Speaker;
use arci_speak_cmd::LocalCommand;
use structopt::StructOpt;

#[derive(Debug, StructOpt)]
struct Args {
    message: String,
}

fn main() {
    env_logger::init();
    let args = Args::from_args();

    let speaker = LocalCommand::default();
    speaker.speak(&args.message)
}