Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib(completions): add --table option to qsv excel #2197

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/completions/examples/qsv.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ _qsv() {
return 0
;;
qsv__excel)
opts="-h --sheet --metadata --error-format --flexible --trim --date-format --keep-zero-time --range --jobs --output --delimiter --quiet --help"
opts="-h --sheet --metadata --error-format --flexible --trim --date-format --keep-zero-time --table --range --jobs --output --delimiter --quiet --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.elv
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ set edit:completion:arg-completer[qsv] = {|@words|
cand --trim 'trim'
cand --date-format 'date-format'
cand --keep-zero-time 'keep-zero-time'
cand --table 'table'
cand --range 'range'
cand --jobs 'jobs'
cand --output 'output'
Expand Down
3 changes: 3 additions & 0 deletions contrib/completions/examples/qsv.fig.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,9 @@ const completion: Fig.Spec = {
{
name: "--keep-zero-time",
},
{
name: "--table",
},
{
name: "--range",
},
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.fish
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ complete -c qsv -n "__fish_qsv_using_subcommand excel" -l flexible
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l trim
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l date-format
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l keep-zero-time
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l table
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l range
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l jobs
complete -c qsv -n "__fish_qsv_using_subcommand excel" -l output
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.nu
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ module completions {
--trim
--date-format
--keep-zero-time
--table
--range
--jobs
--output
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ Register-ArgumentCompleter -Native -CommandName 'qsv' -ScriptBlock {
[CompletionResult]::new('--trim', 'trim', [CompletionResultType]::ParameterName, 'trim')
[CompletionResult]::new('--date-format', 'date-format', [CompletionResultType]::ParameterName, 'date-format')
[CompletionResult]::new('--keep-zero-time', 'keep-zero-time', [CompletionResultType]::ParameterName, 'keep-zero-time')
[CompletionResult]::new('--table', 'table', [CompletionResultType]::ParameterName, 'table')
[CompletionResult]::new('--range', 'range', [CompletionResultType]::ParameterName, 'range')
[CompletionResult]::new('--jobs', 'jobs', [CompletionResultType]::ParameterName, 'jobs')
[CompletionResult]::new('--output', 'output', [CompletionResultType]::ParameterName, 'output')
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ _arguments "${_arguments_options[@]}" : \
'--trim[]' \
'--date-format[]' \
'--keep-zero-time[]' \
'--table[]' \
'--range[]' \
'--jobs[]' \
'--output[]' \
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/src/cmd/excel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub fn excel_cmd() -> Command {
arg!(--trim),
arg!(--"date-format"),
arg!(--"keep-zero-time"),
arg!(--table),
arg!(--"range"),
arg!(--jobs),
arg!(--output),
Expand Down