Skip to content

Commit

Permalink
cmd reference: document new ls options
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Oct 22, 2024
1 parent 9194bcb commit 9922796
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions content/docs/command-reference/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ and by Git.
## Synopsis

```usage
usage: dvc list [-h] [-q | -v] [-R] [--dvc-only]
usage: dvc list [-h] [-q | -v] [-R|-T] [-L depth] [--dvc-only]
[--json] [--rev [<commit>]]
[--config <path>] [--remote <name>]
[--remote-config [<name>=<value> ...]]
[--size]
[--size] [--show-hash]
url [path]
positional arguments:
Expand Down Expand Up @@ -63,6 +63,10 @@ accessed with `dvc get`, `dvc import`, or `dvc.api`.

- `-R`, `--recursive` - recursively list files in all subdirectories.

- `-T`, `--tree` - recurse into directories as a tree.

- `-L`, `--level <depth>` - limit the depth of recursion.

- `--dvc-only` - show only DVC-tracked files and directories
(<abbr>outputs</abbr>).

Expand Down

0 comments on commit 9922796

Please sign in to comment.