-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2135 from jqnatividad/v0.134.0-completions
`contrib(completions)`: update completions for qsv v0.134.0 and fix subcommand options
- Loading branch information
Showing
26 changed files
with
7,089 additions
and
408 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
use clap::{arg, Command}; | ||
|
||
pub fn apply_cmd() -> Command { | ||
let global_args = [ | ||
arg!(--"new-column"), | ||
arg!(--rename), | ||
arg!(--comparand), | ||
arg!(--replacement), | ||
arg!(--formatstr), | ||
arg!(--jobs), | ||
arg!(--batch), | ||
arg!(--output), | ||
arg!(--"no-headers"), | ||
arg!(--delimiter), | ||
arg!(--progressbar), | ||
]; | ||
Command::new("apply") | ||
.subcommands([ | ||
Command::new("operations"), | ||
Command::new("emptyreplace"), | ||
Command::new("dynfmt"), | ||
Command::new("calcconv"), | ||
]) | ||
.args([ | ||
arg!(--"new-column"), | ||
arg!(--rename), | ||
arg!(--comparand), | ||
arg!(--replacement), | ||
arg!(--formatstr), | ||
arg!(--jobs), | ||
arg!(--batch), | ||
arg!(--output), | ||
arg!(--"no-headers"), | ||
arg!(--delimiter), | ||
arg!(--progressbar), | ||
Command::new("operations").args(&global_args), | ||
Command::new("emptyreplace").args(&global_args), | ||
Command::new("dynfmt").args(&global_args), | ||
Command::new("calcconv").args(&global_args), | ||
]) | ||
.args(global_args) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
use clap::{arg, Command}; | ||
|
||
pub fn cat_cmd() -> Command { | ||
let global_args = vec![arg!(--output), arg!(--"no-headers"), arg!(--delimiter)]; | ||
Command::new("cat") | ||
.subcommands([ | ||
Command::new("rows").args([arg!(--flexible)]), | ||
Command::new("rowskey").args([arg!(--group), arg!(--"group-name")]), | ||
Command::new("columns").args([arg!(--pad)]), | ||
Command::new("rows") | ||
.args([arg!(--flexible)]) | ||
.args(&global_args), | ||
Command::new("rowskey") | ||
.args([arg!(--group), arg!(--"group-name")]) | ||
.args(&global_args), | ||
Command::new("columns") | ||
.args([arg!(--pad)]) | ||
.args(&global_args), | ||
]) | ||
.args([arg!(--output), arg!(--"no-headers"), arg!(--delimiter)]) | ||
.args(global_args) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
use clap::{arg, Command}; | ||
|
||
pub fn lens_cmd() -> Command { | ||
Command::new("lens").args([ | ||
arg!(--delimiter), | ||
arg!(--"tab-separated"), | ||
arg!(--"no-headers"), | ||
arg!(--columns), | ||
arg!(--filter), | ||
arg!(--find), | ||
arg!(--"ignore-case"), | ||
arg!(--"echo-column"), | ||
arg!(--debug), | ||
]) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use clap::Command; | ||
|
||
pub fn pro_cmd() -> Command { | ||
Command::new("pro").subcommands([Command::new("lens"), Command::new("workflow")]) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
use clap::{arg, Command}; | ||
|
||
pub fn py_cmd() -> Command { | ||
Command::new("py").args([ | ||
let global_args = [ | ||
arg!(--helper), | ||
arg!(--batch), | ||
arg!(--output), | ||
arg!(--"no-headers"), | ||
arg!(--delimiter), | ||
arg!(--progressbar), | ||
]) | ||
]; | ||
Command::new("py") | ||
.subcommands([ | ||
Command::new("map").args(&global_args), | ||
Command::new("filter").args(&global_args), | ||
]) | ||
.args(global_args) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
use clap::{arg, Command}; | ||
|
||
pub fn snappy_cmd() -> Command { | ||
let global_args = [ | ||
arg!(--"user-agent"), | ||
arg!(--timeout), | ||
arg!(--output), | ||
arg!(--jobs), | ||
arg!(--quiet), | ||
arg!(--progressbar), | ||
]; | ||
Command::new("snappy") | ||
.subcommands([ | ||
Command::new("compress"), | ||
Command::new("decompress"), | ||
Command::new("check"), | ||
Command::new("validate"), | ||
]) | ||
.args([ | ||
arg!(--"user-agent"), | ||
arg!(--timeout), | ||
arg!(--output), | ||
arg!(--jobs), | ||
arg!(--quiet), | ||
arg!(--progressbar), | ||
Command::new("compress").args(&global_args), | ||
Command::new("decompress").args(&global_args), | ||
Command::new("check").args(&global_args), | ||
Command::new("validate").args(&global_args), | ||
]) | ||
.args(global_args) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters