diff --git a/.submodules/setup/__main__.py b/.submodules/setup/__main__.py index e6f5f05e..e7d77258 100644 --- a/.submodules/setup/__main__.py +++ b/.submodules/setup/__main__.py @@ -58,8 +58,23 @@ def print_intro(): "https://www.codeforlife.education/", "visit our site", ) - + ".\n\n" - + "👇👀👇 " + + ".\n" + ) + + answers = inquirer.prompt( + [ + inquirer.Confirm( + "proceed", + message="Would you like to proceed with setting up your dev container?", + ) + ] + ) + + if answers and not t.cast(bool, answers["proceed"]): + sys.exit() + + print( + "👇👀👇 " + Style.BRIGHT + Back.YELLOW + "PLEASE READ INSTRUCTIONS" @@ -100,18 +115,6 @@ def print_intro(): ) print() - answers = inquirer.prompt( - [ - inquirer.Confirm( - "proceed", - message="Would you like to proceed with setting up your dev container?", - ) - ] - ) - - if answers and not t.cast(bool, answers["proceed"]): - sys.exit() - def print_exit(error: bool): """Prints the exiting statement to the console.