Implement kill and rm

This commit is contained in:
Aanand Prasad 2013-12-20 16:53:07 +00:00
commit 81093627fe
4 changed files with 51 additions and 0 deletions

View file

@ -74,6 +74,14 @@ class Project(object):
for service in self.services:
service.stop(**options)
def kill(self, **options):
for service in self.services:
service.kill(**options)
def remove_stopped(self, **options):
for service in self.services:
service.remove_stopped(**options)
def containers(self, *args, **kwargs):
l = []
for service in self.services: