add short configuration options

This commit is contained in:
onyx-and-iris 2025-06-10 19:42:11 +01:00
parent 020f376010
commit 6a2464f10b
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "slobs-cli"
version = "0.7.2"
version = "0.7.3"
description = "A command line application for Streamlabs Desktop"
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
dependencies = ["pyslobs>=2.0.4", "asyncclick>=8.1.8"]

View File

@ -5,6 +5,7 @@ from pyslobs import ConnectionConfig, SlobsConnection
@click.group()
@click.option(
"-d",
"--domain",
default="localhost",
show_default=True,
@ -13,6 +14,7 @@ from pyslobs import ConnectionConfig, SlobsConnection
envvar="SLOBS_DOMAIN",
)
@click.option(
"-p",
"--port",
default=59650,
show_default=True,
@ -21,6 +23,7 @@ from pyslobs import ConnectionConfig, SlobsConnection
envvar="SLOBS_PORT",
)
@click.option(
"-t",
"--token",
help="The token for the SLOBS server.",
envvar="SLOBS_TOKEN",