diff --git a/src/kiwi/subcommands/_subcommand.py b/src/kiwi/subcommands/_subcommand.py index 61db871..75d8d0c 100644 --- a/src/kiwi/subcommands/_subcommand.py +++ b/src/kiwi/subcommands/_subcommand.py @@ -98,7 +98,7 @@ class FlexCommand(ServiceCommand): return result def _run_project(self, runner, config, args): - pass + return self._run_services(runner, config, args, []) def _run_services(self, runner, config, args, services): pass diff --git a/src/kiwi/subcommands/down.py b/src/kiwi/subcommands/down.py index 2950cdd..013f6a4 100644 --- a/src/kiwi/subcommands/down.py +++ b/src/kiwi/subcommands/down.py @@ -1,6 +1,3 @@ -# system -import logging - # local from ._subcommand import FlexCommand from .utils.dockercommand import DockerCommand diff --git a/src/kiwi/subcommands/up.py b/src/kiwi/subcommands/up.py index f8290a6..0c16713 100644 --- a/src/kiwi/subcommands/up.py +++ b/src/kiwi/subcommands/up.py @@ -1,6 +1,3 @@ -# system -import logging - # local from ._subcommand import FlexCommand from .utils.dockercommand import DockerCommand @@ -15,15 +12,6 @@ class UpCommand(FlexCommand): description="Bring up the whole instance, a project or service(s) inside a project" ) - def _run_project(self, runner, config, args): - if runner.run('net-up'): - DockerCommand('docker-compose').run( - config, args, ['up', '-d'] - ) - return True - - return False - def _run_services(self, runner, config, args, services): if runner.run('net-up'): DockerCommand('docker-compose').run(