Skip to content

Commit

Permalink
cmd reference: document new ls options (#5318)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Oct 23, 2024
1 parent 9194bcb commit f7bb9de
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 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 All @@ -86,6 +90,8 @@ accessed with `dvc get`, `dvc import`, or `dvc.api`.

- `--size` - show sizes.

- `--show-hash` - show hash value of each item.

- `-h`, `--help` - prints the usage/help message, and exit.

- `-q`, `--quiet` - do not write anything to standard output. Exit with 0 if no
Expand Down

0 comments on commit f7bb9de

Please sign in to comment.