From 08ebec9906fd57322e10984a8bb48d567b79ad8c Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Wed, 20 Nov 2024 14:16:32 +0000 Subject: [PATCH] Tidy print statement and add colour --- data_safe_haven/commands/sre.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data_safe_haven/commands/sre.py b/data_safe_haven/commands/sre.py index 4aa6c1e84c..14330c2cff 100644 --- a/data_safe_haven/commands/sre.py +++ b/data_safe_haven/commands/sre.py @@ -165,8 +165,9 @@ def deploy( manager.run() console.print( - f"Secure Research Environment '[green]{name}[/]' has been successfully deployed. \n" - f"The SRE can be accessed at https://{stack.output("sre_fqdn")}" + f"Secure Research Environment '[green]{name}[/]' has been successfully deployed.", + f"The SRE can be accessed at [green]https://{stack.output('sre_fqdn')}[/]", + sep="\n", ) except DataSafeHavenError as exc: