Repository URL to install this package:
|
Version:
0.3.30 ▾
|
from . import base
from ... import commands
class Remove(base.BaseCommand):
names = ['rm', 'remove']
help = 'Remove container'
arguments = (
dict(
dest='hosts',
action='store',
nargs='*',
help='Hosts to connect to'
),
(
('--force', '-f'),
dict(action='store_true', default=False, help="Force remove containers")
),
dict(
dest='container_ids',
action='store',
help="Container ID (or IDs) to remove"
)
)
def run(self):
return commands.rm(app=self.app, **self.kwargs)