write version to rich console

This commit is contained in:
onyx-and-iris 2025-06-02 18:24:19 +01:00
parent 3dbff1cc4d
commit 7b94ca2d7d
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2025-present onyx-and-iris <code@onyxandiris.online>
#
# SPDX-License-Identifier: MIT
__version__ = "0.15.0"
__version__ = "0.15.1"

View File

@ -53,7 +53,7 @@ err_console = Console(stderr=True)
def version_callback(value: bool):
"""Show the version of the CLI."""
if value:
typer.echo(f'obsws_cli version: {obsws_cli_version}')
out_console.print(f'obsws_cli version: {obsws_cli_version}')
raise typer.Exit()