write version to rich console

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

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()