diff --git a/gilt/util.py b/gilt/util.py index 9f2354f..e79ae4b 100644 --- a/gilt/util.py +++ b/gilt/util.py @@ -26,6 +26,7 @@ import sh import shutil +import click import colorama colorama.init(autoreset=True) @@ -33,12 +34,12 @@ def print_info(msg): """Print the given message to STDOUT. """ - print(msg) + click.echo(msg) def print_warn(msg): """Print the given message to STDOUT in YELLOW. """ - print("{}{}".format(colorama.Fore.YELLOW, msg)) + click.echo("{}{}".format(colorama.Fore.YELLOW, msg)) def run_command(cmd, debug=False):