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

Implement logs command
This commit is contained in:
David Boreham 2023-03-07 11:58:41 -07:00 committed by GitHub
commit ba5cc68794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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):