mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 15:28:27 +01:00
Merge pull request #3026 from Suor/relink-autocompl
ui: add checkout --relink to autocomplete scripts
This commit is contained in:
@@ -18,7 +18,7 @@ _dvc_global_options='-h --help -q --quiet -v --verbose'
|
||||
_dvc_add='-R --recursive -f --file --no-commit $(compgen -G *)'
|
||||
_dvc_cache='dir'
|
||||
_dvc_cache_dir=' --global --system --local -u --unset'
|
||||
_dvc_checkout='-f --force -d --with-deps -R --recursive $(compgen -G *.dvc)'
|
||||
_dvc_checkout='-d --with-deps -R --recursive -f --force --relink $(compgen -G *.dvc)'
|
||||
_dvc_commit='-f --force -d --with-deps -R --recursive $(compgen -G *.dvc)'
|
||||
_dvc_config='-u --unset --local --system --global'
|
||||
_dvc_destroy='-f --force'
|
||||
|
||||
@@ -72,8 +72,9 @@ _dvc_cache=(
|
||||
|
||||
_dvc_checkout=(
|
||||
{-d,--with-deps}"[Checkout all dependencies of the specified target.]"
|
||||
{-f,--force}"[Do not prompt when removing working directory files.]"
|
||||
{-R,--recursive}"[Checkout all subdirectories of the specified directory.]"
|
||||
{-f,--force}"[Do not prompt when removing working directory files.]"
|
||||
{--relink}"[Recreate links or copies from cache to workspace.]"
|
||||
"1:Stages:_files -g '(*.dvc|Dvcfile)'"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user