Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd reference: document new ls options #5318

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading