mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 23:11:44 +01:00
update zsh autocomplete script with current command help messages + (#2064)
* dvc: fixes dvc.scm.Git.get_diff_trees docstring imprecision. Parentheses were used in the "Returns:" description but its a dict, so changed to curly brackets; and specified the 2 possible forms of the return structure. * dvc: updates zsh autocomplete script with current command help messages. Comparing vs actually running each command's `-h` help output. * dvc: begins updating bask autocomplete script... Only reorders existing commands and adds comments for those missing. * scripts: removes temporary comments in bash autocomplete script. Per https://github.com/iterative/dvc/pull/2064#pullrequestreview-243578115 Related to #2069
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
ca63d729e9
commit
8df0712b06
+19
-18
@@ -12,30 +12,31 @@ _dvc_commands='init destroy add import checkout run pull push fetch \
|
||||
status repro remove move unprotect gc config remote metrics \
|
||||
install root lock unlock pipeline commit'
|
||||
|
||||
_dvc_global_options="-h --help -q --quiet -V --verbose"
|
||||
_dvc_options="-h --help -v --version"
|
||||
_dvc_init="--no-scm -f --force"
|
||||
_dvc_destroy="-f --force"
|
||||
_dvc_global_options="-h --help -q --quiet -V --verbose"
|
||||
|
||||
_dvc_add="-R --recursive -f --file --no-commit"
|
||||
_dvc_run="--no-exec -f --file -c --cwd -d --deps -o --outs -O --outs-no-cache -M --metrics-no-cache -y --yes --overwrite-dvc-file --ignore-build-cache --remove-outs --no-commit -w --wdir"
|
||||
_dvc_checkout="$(compgen -G '*.dvc')"
|
||||
_dvc_config="-u --unset --local --system --global"
|
||||
_dvc_destroy="-f --force"
|
||||
_dvc_fetch="--show-checksums -j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -R --recursive"
|
||||
_dvc_gc="-a --all-branches -T --all-tags -c --cloud -r --remote -f --force -p --project"
|
||||
_dvc_import="--resume"
|
||||
_dvc_init="--no-scm -f --force"
|
||||
_dvc_install=""
|
||||
_dvc_lock="$(compgen -G '*.dvc')"
|
||||
_dvc_metrics=""
|
||||
_dvc_move="$(compgen -G '*')"
|
||||
_dvc_pipeline=""
|
||||
_dvc_pull="--show-checksums -j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -f --force -R --recursive"
|
||||
_dvc_push="--show-checksums -j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -R --recursive"
|
||||
_dvc_fetch="--show-checksums -j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -R --recursive"
|
||||
_dvc_status="--show-checksums -j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -c --cloud -q --quiet"
|
||||
_dvc_repro="--dry -f --force -s --single-item -c --cwd -m --metrics -i --interactive -p --pipeline -P --all-pipelines --ignore-build-cache --no-commit -s --single-item"
|
||||
_dvc_remove="--dry -o --outs -p --purge --force"
|
||||
_dvc_gc="-a --all-branches -T --all-tags -c --cloud -r --remote -f --force -p --project"
|
||||
_dvc_config="-u --unset --local --system --global"
|
||||
_dvc_checkout="$(compgen -G '*.dvc')"
|
||||
_dvc_move="$(compgen -G '*')"
|
||||
_dvc_lock="$(compgen -G '*.dvc')"
|
||||
_dvc_unlock="$(compgen -G '*.dvc')"
|
||||
_dvc_import="--resume"
|
||||
_dvc_remote=""
|
||||
_dvc_metrics=""
|
||||
_dvc_install=""
|
||||
_dvc_remove="--dry -o --outs -p --purge --force"
|
||||
_dvc_repro="--dry -f --force -s --single-item -c --cwd -m --metrics -i --interactive -p --pipeline -P --all-pipelines --ignore-build-cache --no-commit -s --single-item"
|
||||
_dvc_root=""
|
||||
_dvc_pipeline=""
|
||||
_dvc_run="--no-exec -f --file -c --cwd -d --deps -o --outs -O --outs-no-cache -M --metrics-no-cache -y --yes --overwrite-dvc-file --ignore-build-cache --remove-outs --no-commit -w --wdir"
|
||||
_dvc_status="--show-checksums -j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -c --cloud -q --quiet"
|
||||
_dvc_unlock="$(compgen -G '*.dvc')"
|
||||
|
||||
# Notes:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user