mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
Fixes #660 Fixes #662 Signed-off-by: Ruslan Kuprieiev <[email protected]>
9 lines
255 B
Python
9 lines
255 B
Python
from dvc.command.common.base import CmdBase
|
|
|
|
|
|
class CmdMetrics(CmdBase):
|
|
def run(self):
|
|
for branch, metric in self.project.metrics(self.args.path).items():
|
|
self.project.logger.info("{}: {}".format(branch, metric))
|
|
return 0
|