Skip to content

Commit

Permalink
plot: completion for zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
pared committed May 4, 2020
1 parent 2dda540 commit fdfca5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/completion/dvc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ _dvc_commands() {
"pipeline:Manage pipelines."
"pull:Pull data files from a DVC remote storage."
"push:Push data files to a DVC remote storage."
"plot:Generate plot for metrics structured as JSON, CSV or TSV."
"remote:Manage remote storage configuration."
"remove:Remove outputs of DVC-file."
"repro:Check for changes and reproduce DVC-file and dependencies."
Expand Down Expand Up @@ -206,6 +207,10 @@ _dvc_push=(
"*:Stages:_files -g '(*.dvc|Dvcfile)'"
)

_dvc_plot=(
"1:Sub command:(show diff)"
)

_dvc_remote=(
"1:Sub command:(add default remove modify list)"
)
Expand Down Expand Up @@ -310,6 +315,7 @@ case $words[1] in
pipeline) _arguments $_dvc_global_options $_dvc_pipeline ;;
pull) _arguments $_dvc_global_options $_dvc_pull ;;
push) _arguments $_dvc_global_options $_dvc_push ;;
plot) _arguments $_dvc_global_options $_dvc_plot ;;
remote) _arguments $_dvc_global_options $_dvc_remote ;;
remove) _arguments $_dvc_global_options $_dvc_remove ;;
repro) _arguments $_dvc_global_options $_dvc_repro ;;
Expand Down

0 comments on commit fdfca5c

Please sign in to comment.