Files
dvc/dvc/command/install.py
T
2018-07-19 07:00:39 +03:00

13 lines
295 B
Python

from dvc.logger import Logger
from dvc.command.base import CmdBase
class CmdInstall(CmdBase):
def run_cmd(self):
try:
self.project.install()
except Exception as e:
Logger.error('Failed to install dvc hooks', e)
return 1
return 0