cli: refactor into a module

By splitting dvc.cli into a module, we'll be able to share cli-related
utilities, split parser-related stuffs into smaller parts, improve
reusability and improve API for command extensions in the future.
This commit is contained in:
Saugat Pachhai (सौगात)
2022-01-19 12:22:07 +02:00
committed by Ruslan Kuprieiev
parent 69ff760e4b
commit f5baf990cf
46 changed files with 184 additions and 178 deletions
+1 -1
View File
@@ -4,9 +4,9 @@ import stat
import configobj
import pytest
from dvc.cli import main
from dvc.data.db import ODBManager
from dvc.hash_info import HashInfo
from dvc.main import main
from dvc.objects.errors import ObjectFormatError
from dvc.utils import relpath
from tests.basic_env import TestDir, TestDvc