mirror of
https://github.com/getzola/zola
synced 2024-11-10 22:34:33 +00:00
16 lines
417 B
Rust
16 lines
417 B
Rust
|
#[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/");
|
||
|
}
|