Merge pull request #208 from cerc-io/dboreham/implement-logs-command

Implement logs command

Former-commit-id: ba5cc68794
This commit is contained in:
David Boreham 2023-03-07 11:58:41 -07:00 committed by GitHub
commit 4092a127ef

View File

@ -114,7 +114,8 @@ def command(ctx, include, exclude, cluster, command, extra_args):
elif command == "logs": elif command == "logs":
if verbose: if verbose:
print("Running compose logs") print("Running compose logs")
docker.compose.logs() logs_output = docker.compose.logs(services=extra_args_list if extra_args_list != None else [])
print(logs_output)
def get_stack_status(ctx, stack): def get_stack_status(ctx, stack):