WIP: 0.3.0 #5

Draft
shimun wants to merge 34 commits from 0.3.0 into master
Showing only changes of commit 8e2948fbb9 - Show all commits

View File

@ -19,6 +19,10 @@ use structopt::StructOpt;
fn main() {
// generate completion scripts, zsh does panic for some reason
for shell in Shell::variants().iter().filter(|shell| **shell != "zsh") {
Args::clap().gen_completions(env!("CARGO_PKG_NAME"), Shell::from_str(shell).unwrap(), ".");
Args::clap().gen_completions(
env!("CARGO_PKG_NAME"),
Shell::from_str(shell).unwrap(),
env!("CARGO_MANIFEST_DIR"),
);
}
}