Skip to content

Commit

Permalink
move: Alias mv to move (#9905)
Browse files Browse the repository at this point in the history
* Alias mv to move

* Add alias for mv

* Add aliases for rm, exp rm, exp ls
  • Loading branch information
BradyJ27 authored Sep 3, 2023
1 parent f47d21b commit 3528c37
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions dvc/commands/experiments/ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def add_parser(experiments_subparsers, parent_parser):
EXPERIMENTS_LIST_HELP = "List local and remote experiments."
experiments_list_parser = experiments_subparsers.add_parser(
"list",
aliases=["ls"],
parents=[parent_parser],
description=append_doc_link(EXPERIMENTS_LIST_HELP, "exp/list"),
help=EXPERIMENTS_LIST_HELP,
Expand Down
1 change: 1 addition & 0 deletions dvc/commands/experiments/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def add_parser(experiments_subparsers, parent_parser):
EXPERIMENTS_REMOVE_HELP = "Remove experiments."
experiments_remove_parser = experiments_subparsers.add_parser(
"remove",
aliases=["rm"],
parents=[parent_parser],
description=append_doc_link(EXPERIMENTS_REMOVE_HELP, "exp/remove"),
help=EXPERIMENTS_REMOVE_HELP,
Expand Down
1 change: 1 addition & 0 deletions dvc/commands/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def add_parser(subparsers, parent_parser):

move_parser = subparsers.add_parser(
"move",
aliases=["mv"],
parents=[parent_parser],
description=append_doc_link(MOVE_DESCRIPTION, "move"),
help=MOVE_HELP,
Expand Down
1 change: 1 addition & 0 deletions dvc/commands/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def add_parser(subparsers, parent_parser):
)
remove_parser = subparsers.add_parser(
"remove",
aliases=["rm"],
parents=[parent_parser],
description=append_doc_link(REMOVE_HELP, "remove"),
help=REMOVE_HELP,
Expand Down

0 comments on commit 3528c37

Please sign in to comment.