Repository URL to install this package:
|
Version:
0.3.30 ▾
|
from . import base
from ... import commands
class Stop(base.BaseCommand):
help = 'Stop container'
arguments = (
dict(
dest='hosts',
action='store',
nargs='*',
help='Hosts to connect to'
),
dict(
dest='container_ids',
action='store',
help="Container ID (or IDs) to stop"
),
)
def run(self):
return commands.stop(app=self.app, **self.kwargs)