zola/build.rs

16 lines
417 B
Rust
Raw Normal View History

2017-07-15 04:24:31 +00:00
#[macro_use]
extern crate clap;
use clap::Shell;
include!("src/cli.rs");
fn main() {
let mut app = build_cli();
println!("hello");
app.gen_completions("gutenberg", Shell::Bash, "completions/");
app.gen_completions("gutenberg", Shell::Fish, "completions/");
app.gen_completions("gutenberg", Shell::Zsh, "completions/");
app.gen_completions("gutenberg", Shell::PowerShell, "completions/");
}