mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 06:53:38 +00:00
write version to rich console
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user