dvc help messages

This commit is contained in:
Dmitry Petrov
2017-05-01 16:33:58 -07:00
parent 29bdacf5ad
commit 26461e910e
5 changed files with 12 additions and 15 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class CmdDataSync(CmdBase):
def define_args(self, parser):
parser.add_argument('targets',
metavar='',
help='File or directory to sync',
help='File or directory to sync.',
nargs='*')
def run(self):
+2 -2
View File
@@ -17,10 +17,10 @@ class CmdImportBulk(CmdBase):
parser.add_argument('input',
metavar='',
help='Input files',
help='Input files.',
nargs='*')
self.add_string_arg(parser, 'output', 'Output file')
self.add_string_arg(parser, 'output', 'Output file.')
pass
+2 -5
View File
@@ -25,11 +25,8 @@ class CmdImportFile(CmdBase):
def define_args(self, parser):
self.set_no_git_actions(parser)
self.add_string_arg(parser, 'input', 'Input file')
self.add_string_arg(parser, 'output', 'Output file')
parser.add_argument('-r', '--is-reproducible', action='store_false', default=True,
help='Is data file reproducible')
self.add_string_arg(parser, 'input', 'Input file.')
self.add_string_arg(parser, 'output', 'Output file.')
pass
def run(self):
+3 -3
View File
@@ -62,9 +62,9 @@ ProjectName =
def define_args(self, parser):
self.set_no_git_actions(parser)
self.add_string_arg(parser, '--data-dir', 'Data directory', 'data')
self.add_string_arg(parser, '--cache-dir', 'Cache directory', '.cache')
self.add_string_arg(parser, '--state-dir', 'State directory', '.state')
self.add_string_arg(parser, '--data-dir', 'Data directory.', 'data')
self.add_string_arg(parser, '--cache-dir', 'Cache directory.', '.cache')
self.add_string_arg(parser, '--state-dir', 'State directory.', '.state')
pass
def get_not_existing_dir(self, dir):
+4 -4
View File
@@ -21,12 +21,12 @@ class CmdDataRemove(CmdBase):
def define_args(self, parser):
self.set_no_git_actions(parser)
parser.add_argument('target', metavar='', help='Target to remove - file or directory', nargs='*')
parser.add_argument('-r', '--recursive', action='store_true', help='Remove directory recursively')
parser.add_argument('target', metavar='', help='Target to remove - file or directory.', nargs='*')
parser.add_argument('-r', '--recursive', action='store_true', help='Remove directory recursively.')
parser.add_argument('-l', '--keep-in-cloud', action='store_true', default=False,
help='Do not remove data from cloud')
help='Do not remove data from cloud.')
parser.add_argument('-c', '--keep-in-cache', action='store_false', default=False,
help='Do not remove data from cache')
help='Do not remove data from cache.')
pass
def run(self):