Implement logs command

Former-commit-id: b488d82b8f
This commit is contained in:
David Boreham 2023-03-07 11:57:24 -07:00
parent a900945698
commit fae8fbed5e

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