diff --git a/obsws_cli/__about__.py b/obsws_cli/__about__.py index 774e75d..8e8dd91 100644 --- a/obsws_cli/__about__.py +++ b/obsws_cli/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2025-present onyx-and-iris # # SPDX-License-Identifier: MIT -__version__ = "0.18.1" +__version__ = "0.18.2" diff --git a/obsws_cli/util.py b/obsws_cli/util.py index f95a99e..6832ef3 100644 --- a/obsws_cli/util.py +++ b/obsws_cli/util.py @@ -1,5 +1,7 @@ """module contains utility functions for the obsws_cli package.""" +import os + import typer @@ -13,6 +15,6 @@ def check_mark(ctx: typer.Context, value: bool, empty_if_false: bool = False) -> if empty_if_false and not value: return '' - if ctx.obj['style'].name == 'no_colour': + if os.getenv('NO_COLOR', '') != '' or ctx.obj['style'].name == 'no_colour': return '✓' if value else '✗' return '✅' if value else '❌'