import: require 'path' argument

`dvc import` doesn't yet support importing the whole package.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-06-25 01:54:32 +03:00
parent 2141a5ac65
commit 1123a303bf
+2 -2
View File
@@ -20,7 +20,7 @@ class CmdImport(CmdBase):
try:
self.repo.imp(
self.args.url,
path=self.args.path,
self.args.path,
out=self.args.out,
rev=self.args.rev,
)
@@ -49,7 +49,7 @@ def add_parser(subparsers, parent_parser):
)
import_parser.add_argument("url", help="DVC repository URL.")
import_parser.add_argument(
"path", nargs="?", help="Path to data within DVC repository."
"path", help="Path to data within DVC repository."
)
import_parser.add_argument(
"-o", "--out", nargs="?", help="Destination path to put data to."