Skip to content

Commit

Permalink
Add aliases for common commands (#4926)
Browse files Browse the repository at this point in the history
* Add aliases for common commands

* Add aliases to linked terms; Fix typos
  • Loading branch information
BradyJ27 authored Nov 1, 2023
1 parent 405a6aa commit fe336d2
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/docs/command-reference/exp/list.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# exp list

> Aliased to `dvc exp ls`.
List experiments in a <abbr>DVC repository</abbr> (remote or local).

## Synopsis
Expand Down
2 changes: 2 additions & 0 deletions content/docs/command-reference/exp/remove.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# exp remove

> Aliased to `dvc exp rm`.
Delete specific experiments from the <abbr>project</abbr>.

## Synopsis
Expand Down
2 changes: 2 additions & 0 deletions content/docs/command-reference/move.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# move

> Aliased to `dvc mv`.
Rename a file or directory tracked with a `.dvc` file, and modify the `.dvc`
file to reflect the change. The `.dvc` file is renamed if the file or directory
has the same base name (typical).
Expand Down
2 changes: 2 additions & 0 deletions content/docs/command-reference/remove.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# remove

> Aliased to `dvc rm`.
Remove stages from `dvc.yaml` and/or stop tracking files or directories (and
optionally delete them).

Expand Down
16 changes: 16 additions & 0 deletions content/linked-terms.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,21 @@ module.exports = [
{
matches: 'dvc ls',
url: '/doc/command-reference/list'
},
{
matches: 'dvc mv',
url: '/doc/command-reference/move'
},
{
matches: 'dvc rm',
url: '/doc/command-reference/remove'
},
{
matches: 'dvc exp ls',
url: '/doc/command-reference/exp/list'
},
{
matches: 'dvc exp rm',
url: '/doc/command-reference/exp/remove'
}
]

0 comments on commit fe336d2

Please sign in to comment.