1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-21 20:33:00 +00:00

move subcommand.py

This commit is contained in:
Jörn-Michael Miehe 2020-08-19 17:21:38 +02:00
parent 717010d9b4
commit bf5bed8734
19 changed files with 21 additions and 37 deletions

View file

@ -3,7 +3,7 @@ import logging
import os import os
import subprocess import subprocess
# parent # local
from .config import LoadedConfig from .config import LoadedConfig

View file

@ -2,9 +2,9 @@
import logging import logging
import os import os
# parent # local
from ..parser import Parser from .parser import Parser
from ..project import Projects from .project import Projects
class SubCommand: class SubCommand:

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
class BuildCommand(ServiceCommand): class BuildCommand(ServiceCommand):

View file

@ -2,7 +2,7 @@
import logging import logging
# local # local
from ._subcommand import ProjectCommand from ..subcommand import ProjectCommand
class CmdCommand(ProjectCommand): class CmdCommand(ProjectCommand):

View file

@ -3,10 +3,8 @@ import logging
import subprocess import subprocess
# local # local
from ._subcommand import SubCommand
# parent
from .._constants import CONF_DIRECTORY_NAME from .._constants import CONF_DIRECTORY_NAME
from ..subcommand import SubCommand
from ..config import LoadedConfig from ..config import LoadedConfig
from ..project import Projects from ..project import Projects
from ..rootkit import Rootkit, prefix_path_mnt from ..rootkit import Rootkit, prefix_path_mnt

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ProjectCommand from ..subcommand import ProjectCommand
class DisableCommand(ProjectCommand): class DisableCommand(ProjectCommand):

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
from ..misc import are_you_sure from ..misc import are_you_sure

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ProjectCommand from ..subcommand import ProjectCommand
class EnableCommand(ProjectCommand): class EnableCommand(ProjectCommand):

View file

@ -3,10 +3,8 @@ import logging
import os import os
# local # local
from ._subcommand import SubCommand
# parent (display purposes only)
from .._constants import KIWI_CONF_NAME from .._constants import KIWI_CONF_NAME
from ..subcommand import SubCommand
from ..config import DefaultConfig, LoadedConfig from ..config import DefaultConfig, LoadedConfig

View file

@ -4,9 +4,7 @@ import os
import yaml import yaml
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
# parent
from ..project import Project, Projects from ..project import Project, Projects

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
class LogsCommand(ServiceCommand): class LogsCommand(ServiceCommand):

View file

@ -3,9 +3,7 @@ import logging
import subprocess import subprocess
# local # local
from ._subcommand import SubCommand from ..subcommand import SubCommand
# parent
from ..config import LoadedConfig from ..config import LoadedConfig
from ..executable import Executable from ..executable import Executable
from ..misc import are_you_sure from ..misc import are_you_sure

View file

@ -4,10 +4,8 @@ import os
import shutil import shutil
# local # local
from ._subcommand import ProjectCommand
# parent
from .._constants import DEFAULT_DOCKER_COMPOSE_NAME from .._constants import DEFAULT_DOCKER_COMPOSE_NAME
from ..subcommand import ProjectCommand
class NewCommand(ProjectCommand): class NewCommand(ProjectCommand):

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
class PullCommand(ServiceCommand): class PullCommand(ServiceCommand):

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
class PushCommand(ServiceCommand): class PushCommand(ServiceCommand):

View file

@ -3,9 +3,7 @@ import logging
import subprocess import subprocess
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
# parent
from ..config import LoadedConfig from ..config import LoadedConfig

View file

@ -1,7 +1,5 @@
# local # local
from ._subcommand import SubCommand from ..subcommand import SubCommand
# parent
from ..config import LoadedConfig from ..config import LoadedConfig

View file

@ -1,5 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
class UpCommand(ServiceCommand): class UpCommand(ServiceCommand):

View file

@ -1,7 +1,5 @@
# local # local
from ._subcommand import ServiceCommand from ..subcommand import ServiceCommand
# parent
from ..misc import are_you_sure from ..misc import are_you_sure