mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-18 23:10:14 +01:00
dvc: introduce -m option for repro
Fixes #188 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -18,6 +18,8 @@ class CmdRepro(CmdBase):
|
||||
self.project.reproduce(target,
|
||||
recursive=recursive,
|
||||
force=self.args.force)
|
||||
if self.args.metrics:
|
||||
self.project.metrics_show()
|
||||
except ReproductionError as ex:
|
||||
msg = 'Failed to reproduce \'{}\''.format(target)
|
||||
self.project.logger.error(msg, ex)
|
||||
|
||||
Reference in New Issue
Block a user