Skip to content

get/import: update output (again?) #3196

@jorgeorpinel

Description

@jorgeorpinel

I'm not sure what happened because I think we've changed this recently (e.g. #3077), but I'm seeing:

$ dvc version
DVC version: 0.80.0
Python version: 3.7.6
Platform: Darwin-19.0.0-x86_64-i386-64bit
Binary: False
Package: brew

$ dvc get -h
usage: dvc get [-h] [-q | -v] [-o [OUT]] [--rev [REV]] url path

Download/copy files or directories from DVC repository...

positional arguments:
  url                   URL of Git repository with DVC project to download
                        from.
  path                  Path to a file or directory within a DVC repository.
...

$ dvc import -h
usage: dvc import [-h] [-q | -v] [-o [OUT]] [--rev [REV]] url path

Download data from DVC repository and take it under DVC control...

positional arguments:
  url                   URL of Git repository with DVC project to download from.
  path                  Path to data within DVC repository.
...

The descriptions of the commands as well as of their arguments are outdated. Maybe there was a bad merge somewhere but from what I'm seeing in the docs, they should be something like:

get
Download file or directory from any DVC project or Git repository.

import
Download file or directory from any DVC project or Git repository into the workspace, and track it.

positional arguments

  url         Location of DVC project or Git repository to download from
  path        Path to a file or directory within the project or repository

which I remember came from PRs to this repo. So anyway, we should update it again, I think. I can do it myself if people agree.

Metadata

Metadata

Labels

enhancementEnhances DVCp1-importantImportant, aka current backlog of things to douiuser interface / interaction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions