Adding context to print_header

This commit is contained in:
jpk 2023-01-16 16:33:11 +01:00
parent 8a30974d57
commit f60c1a3828
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def list(ctx):
@click.pass_context
@services.only_if_service_exists
def edit(ctx, service):
output.print_header(f"Editing {service}")
output.print_header(ctx, f"Editing {service}")
compose_file = services.get_compose_file(
Path(ctx.obj["CONFIG"].root_directory) / service
)
@ -70,7 +70,7 @@ def edit(ctx, service):
@click.pass_context
@services.only_if_service_exists
def control(ctx, service, command):
output.print_header(f"Controlling {service}")
output.print_header(ctx, f"Controlling {service}")
compose_file = services.get_compose_file(
Path(ctx.obj["CONFIG"].root_directory) / service
)