diff --git a/cve_bin_tool/version.py b/cve_bin_tool/version.py index 9bf90f3c74..cbf64cc83d 100644 --- a/cve_bin_tool/version.py +++ b/cve_bin_tool/version.py @@ -34,12 +34,15 @@ def check_latest_version(): ) ) else: - # TODO In future mark me with some color ( prefer yellow or red ) LOGGER.info( - f"You are running version {VERSION} of {name} but the latest PyPI Version is {pypi_version}." + f"[bold red]You are running version {VERSION} of {name} but the latest PyPI Version is {pypi_version}.[/]", + extra={"markup": True}, ) if version.parse(VERSION) < version.parse(pypi_version): - LOGGER.info("Alert: We recommend using the latest stable release.") + LOGGER.info( + "[bold yellow]Alert: We recommend using the latest stable release.[/]", + extra={"markup": True}, + ) except Exception as error: LOGGER.warning( textwrap.dedent(