mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-06-07 12:10:32 +01:00
write version to rich console
This commit is contained in:
parent
3dbff1cc4d
commit
7b94ca2d7d
@ -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"
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user