Merge pull request #411 from Banno/fig-pull

adding "fig pull [SERVICE]" to pull service images
This commit is contained in:
Ben Firshman 2014-09-10 23:57:20 +01:00
commit fc4c35e977
5 changed files with 28 additions and 1 deletions

View file

@ -180,6 +180,10 @@ class Project(object):
return running_containers
def pull(self, service_names=None):
for service in self.get_services(service_names, include_links=True):
service.pull()
def remove_stopped(self, service_names=None, **options):
for service in self.get_services(service_names):
service.remove_stopped(**options)