1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Shell completion generation for `xark`.
//!
//! Usage:
//!
//! ```text
//! # bash
//! xark completions bash > ~/.local/share/bash-completion/completions/xark
//!
//! # zsh
//! xark completions zsh > ~/.local/share/zsh/site-functions/_xark
//!
//! # fish
//! xark completions fish > ~/.config/fish/completions/xark.fish
//!
//! # elvish
//! xark completions elvish > ~/.config/elvish/completions/xark.elv
//! ```
//!
//! Package maintainers can use this to ship completions alongside the binary.
use io;
use Result;
use ;
use Shell;
use Cli;