Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
hubboss / boss / app / commands / logs.py
Size: Mime:
from . import base
from ... import commands

class Logs(base.BaseCommand):
    help = 'Container Logs'
    arguments = (
        dict(dest='host', action='store', help='Hosts to connect to'),
        dict(dest='container_id', action='store', help="Container ID (or IDs) to get logs"),
        (('--follow', '-f',), dict(action='store_true', default=False, help="Container Logs",)),
    )

    def run(self):
        return commands.logs(app=self.app, **self.kwargs)