Description
Especially useful for "browsing" external DVC projects on Git hosting before using dvc get
or dvc import
. Looking at the Git repo doesn't show the artifacts because they're only referenced in DVC-files (which can be found anywhere), not tracked by Git.
Perhaps dvc list
or dvc artifacts
? (Or/and both dvc get list
and dvc import list
)
As mentioned in iterative/dvc.org#611 (comment) and other discussions.
UPDATE: Proposed spec (from #2509 (comment)):
usage: dvc list [-h] [-q | -v] [--recursive [LEVEL]] [--rev REV | --versions]
url [target [target ...]]
positional arguments:
url URL of Git repository with DVC project to download from.
target Paths to DVC-files or directories within the repository to list outputs
for.
UPDATE: Don't forget to update docs AND tab completion scripts when this is implemented.