diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-04-25 17:41:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 17:41:44 +0200 |
| commit | d89e3e9e697a675b1a1d186dad1ea673ae9a199a (patch) | |
| tree | 809c8da46a25c87b36fe8d20ffba40b62f36eff5 /src/cli.rs | |
| parent | Merge pull request #356 from zellij-org/add-auto-release (diff) | |
| parent | fixup! Add subcommand to generate completions (diff) | |
| download | sl0ppij-d89e3e9e697a675b1a1d186dad1ea673ae9a199a.tar.gz sl0ppij-d89e3e9e697a675b1a1d186dad1ea673ae9a199a.tar.xz sl0ppij-d89e3e9e697a675b1a1d186dad1ea673ae9a199a.zip | |
Merge pull request #369 from matthiasbeyer/clap-generate-shellcompletion
Add subcommand to generate completions, remove build.rs
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,4 +51,7 @@ pub enum ConfigCli { /// Disables loading of configuration file at default location clean: bool, }, + + #[structopt(name = "generate-completion")] + GenerateCompletion { shell: String }, } |
