From e929f6566b3f00ff48a8c65b440a15ca75404d91 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..9029ec355c 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: