mirror of
https://github.com/dalance/procs.git
synced 2026-10-12 02:12:39 +00:00
14 lines
433 B
Rust
14 lines
433 B
Rust
include!("src/opt.rs");
|
|
|
|
fn main() {
|
|
if let Ok(path) = std::env::var("COMPLETION_PATH") {
|
|
let out_dir = PathBuf::from(path);
|
|
|
|
gen_completion(Shell::Bash, &out_dir).unwrap();
|
|
gen_completion(Shell::Elvish, &out_dir).unwrap();
|
|
gen_completion(Shell::Fish, &out_dir).unwrap();
|
|
gen_completion(Shell::PowerShell, &out_dir).unwrap();
|
|
gen_completion(Shell::Zsh, &out_dir).unwrap();
|
|
}
|
|
}
|