move subcommand.py
This commit is contained in:
parent
717010d9b4
commit
bf5bed8734
19 changed files with 21 additions and 37 deletions
|
@ -3,7 +3,7 @@ import logging
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
# parent
|
||||
# local
|
||||
from .config import LoadedConfig
|
||||
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
import logging
|
||||
import os
|
||||
|
||||
# parent
|
||||
from ..parser import Parser
|
||||
from ..project import Projects
|
||||
# local
|
||||
from .parser import Parser
|
||||
from .project import Projects
|
||||
|
||||
|
||||
class SubCommand:
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
from ..subcommand import ServiceCommand
|
||||
|
||||
|
||||
class BuildCommand(ServiceCommand):
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import logging
|
||||
|
||||
# local
|
||||
from ._subcommand import ProjectCommand
|
||||
from ..subcommand import ProjectCommand
|
||||
|
||||
|
||||
class CmdCommand(ProjectCommand):
|
||||
|
|
|
@ -3,10 +3,8 @@ import logging
|
|||
import subprocess
|
||||
|
||||
# local
|
||||
from ._subcommand import SubCommand
|
||||
|
||||
# parent
|
||||
from .._constants import CONF_DIRECTORY_NAME
|
||||
from ..subcommand import SubCommand
|
||||
from ..config import LoadedConfig
|
||||
from ..project import Projects
|
||||
from ..rootkit import Rootkit, prefix_path_mnt
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ProjectCommand
|
||||
from ..subcommand import ProjectCommand
|
||||
|
||||
|
||||
class DisableCommand(ProjectCommand):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
from ..subcommand import ServiceCommand
|
||||
from ..misc import are_you_sure
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ProjectCommand
|
||||
from ..subcommand import ProjectCommand
|
||||
|
||||
|
||||
class EnableCommand(ProjectCommand):
|
||||
|
|
|
@ -3,10 +3,8 @@ import logging
|
|||
import os
|
||||
|
||||
# local
|
||||
from ._subcommand import SubCommand
|
||||
|
||||
# parent (display purposes only)
|
||||
from .._constants import KIWI_CONF_NAME
|
||||
from ..subcommand import SubCommand
|
||||
from ..config import DefaultConfig, LoadedConfig
|
||||
|
||||
|
||||
|
|
|
@ -4,9 +4,7 @@ import os
|
|||
import yaml
|
||||
|
||||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
|
||||
# parent
|
||||
from ..subcommand import ServiceCommand
|
||||
from ..project import Project, Projects
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
from ..subcommand import ServiceCommand
|
||||
|
||||
|
||||
class LogsCommand(ServiceCommand):
|
||||
|
|
|
@ -3,9 +3,7 @@ import logging
|
|||
import subprocess
|
||||
|
||||
# local
|
||||
from ._subcommand import SubCommand
|
||||
|
||||
# parent
|
||||
from ..subcommand import SubCommand
|
||||
from ..config import LoadedConfig
|
||||
from ..executable import Executable
|
||||
from ..misc import are_you_sure
|
||||
|
|
|
@ -4,10 +4,8 @@ import os
|
|||
import shutil
|
||||
|
||||
# local
|
||||
from ._subcommand import ProjectCommand
|
||||
|
||||
# parent
|
||||
from .._constants import DEFAULT_DOCKER_COMPOSE_NAME
|
||||
from ..subcommand import ProjectCommand
|
||||
|
||||
|
||||
class NewCommand(ProjectCommand):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
from ..subcommand import ServiceCommand
|
||||
|
||||
|
||||
class PullCommand(ServiceCommand):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
from ..subcommand import ServiceCommand
|
||||
|
||||
|
||||
class PushCommand(ServiceCommand):
|
||||
|
|
|
@ -3,9 +3,7 @@ import logging
|
|||
import subprocess
|
||||
|
||||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
|
||||
# parent
|
||||
from ..subcommand import ServiceCommand
|
||||
from ..config import LoadedConfig
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import SubCommand
|
||||
|
||||
# parent
|
||||
from ..subcommand import SubCommand
|
||||
from ..config import LoadedConfig
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
from ..subcommand import ServiceCommand
|
||||
|
||||
|
||||
class UpCommand(ServiceCommand):
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
# local
|
||||
from ._subcommand import ServiceCommand
|
||||
|
||||
# parent
|
||||
from ..subcommand import ServiceCommand
|
||||
from ..misc import are_you_sure
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue