from ec2mc.utils.base_classes import ParentCommand

from ec2mc.commands.servers_sub import check_cmd
from ec2mc.commands.servers_sub import start_cmd
from ec2mc.commands.servers_sub import stop_cmd

class Servers(ParentCommand):

    _sub_commands = [
        check_cmd.CheckServers,
        start_cmd.StartServers,
        stop_cmd.StopServers
    ]

    def main(self, cmd_args):
        """interact with one or more existing instances"""
        super().main(cmd_args)

from ec2mc.utils.base_classes import ParentCommand

from ec2mc.commands.servers_sub import check_cmd
from ec2mc.commands.servers_sub import start_cmd
from ec2mc.commands.servers_sub import stop_cmd

class Servers(ParentCommand):

    _sub_commands = [
        check_cmd.CheckServers,
        start_cmd.StartServers,
        stop_cmd.StopServers
    ]

    def main(self, cmd_args):
        """interact with one or more existing instances"""
        super().main(cmd_args)

interact with one or more existing instances