Skip to content

Commit c5920b0

Browse files
authored
Auto-completion of the dvc remote rename command (#3868)
fix #3847
1 parent ce8036e commit c5920b0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/completion/dvc.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@ _dvc_pull='-j --jobs -r --remote -a --all-branches -T --all-tags -f --force -d -
6060
_dvc_pull_COMPGEN=_dvc_compgen_DVCFiles
6161
_dvc_push='-j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -R --recursive'
6262
_dvc_push_COMPGEN=_dvc_compgen_DVCFiles
63-
_dvc_remote='add default list modify remove'
63+
_dvc_remote='add default list modify remove rename'
6464
_dvc_remote_add='--global --system --local -d --default -f --force'
6565
_dvc_remote_default='--global --system --local -u --unset'
6666
_dvc_remote_list='--global --system --local'
6767
_dvc_remote_modify='--global --system --local -u --unset'
6868
_dvc_remote_remove='--global --system --local'
69+
_dvc_remote_rename='--global --system --local'
6970
_dvc_remove='-o --outs -p --purge -f --force'
7071
_dvc_remove_COMPGEN=_dvc_compgen_DVCFiles
7172
_dvc_repro='-f --force -s --single-item -c --cwd -m --metrics --dry -i --interactive -p --pipeline -P --all-pipelines --no-run-cache --force-downstream --no-commit -R --recursive --downstream'

scripts/completion/dvc.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ _dvc_plots=(
218218
)
219219

220220
_dvc_remote=(
221-
"1:Sub command:(add default remove modify list)"
221+
"1:Sub command:(add default remove modify list rename)"
222222
)
223223

224224
_dvc_remove=(

0 commit comments

Comments
 (0)