From 585343cd4b83c0594466c1942b8d0a28db92f783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Tue, 22 Oct 2024 21:12:49 +0545 Subject: [PATCH] cmd reference: document new ls options --- content/docs/command-reference/list.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/content/docs/command-reference/list.md b/content/docs/command-reference/list.md index 63525603e7..28b12acfa5 100644 --- a/content/docs/command-reference/list.md +++ b/content/docs/command-reference/list.md @@ -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 []] [--config ] [--remote ] [--remote-config [= ...]] - [--size] + [--size] [--show-hash] url [path] positional arguments: @@ -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 ` - limit the depth of recursion. + - `--dvc-only` - show only DVC-tracked files and directories (outputs). @@ -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