scripts: update autocomplete per diff changes

per https://github.com/iterative/dvc/pull/3244#pullrequestreview-351108115
This commit is contained in:
Jorge Orpinel
2020-01-30 18:23:58 -06:00
parent 5019fe147c
commit 611c1d600f
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -34,9 +34,10 @@ _dvc_install=''
_dvc_lock='$(compgen -G *.dvc)'
_dvc_metrics='add modify rmeove show'
_dvc_metrics_add='-t --type -x --xpath $(compgen -G *)'
_dvc_metrics_show='$(-t --type -x --xpath -a --all-branches -T --all-tags -R --recursive $(compgen -G *)'
_dvc_metrics_diff='--targets -t --type -x --xpath -R --show-json'
_dvc_metrics_modify='-t --type -x --xpath $(compgen -G *)'
_dvc_metrics_remove='$(compgen -G *)'
_dvc_metrics_show='$(-t --type -x --xpath -a --all-branches -T --all-tags -R --recursive $(compgen -G *)'
_dvc_move='$(compgen -G *)'
_dvc_pipeline='list show'
_dvc_pipeline_list=''
+3 -2
View File
@@ -99,7 +99,8 @@ _dvc_destroy=(
_dvc_diff=(
"--show-json[Format the output into a JSON]"
"--checksums[Display checksums for each entry]"
{1,2}":Git revision (e.g. branch, tag, SHA):"
"1:Git reference to the older version:"
"2:Git reference to the newer version:"
)
_dvc_fetch=(
@@ -160,7 +161,7 @@ _dvc_lock=(
)
_dvc_metrics=(
"1:Sub command:(show add modify remove)"
"1:Sub command:(add show diff modify remove)"
)
_dvc_move=(