Repository URL to install this package:
|
Version:
0.3.30 ▾
|
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)