From f60c1a3828cfe9f6c8e339955c8f87337c45afb4 Mon Sep 17 00:00:00 2001 From: jpk Date: Mon, 16 Jan 2023 16:33:11 +0100 Subject: [PATCH] Adding context to print_header --- doxy/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doxy/cli.py b/doxy/cli.py index 7bab5ab..10a92f8 100644 --- a/doxy/cli.py +++ b/doxy/cli.py @@ -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 )