mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2025-06-27 15:20:24 +01:00
add short configuration options
This commit is contained in:
parent
020f376010
commit
6a2464f10b
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "slobs-cli"
|
name = "slobs-cli"
|
||||||
version = "0.7.2"
|
version = "0.7.3"
|
||||||
description = "A command line application for Streamlabs Desktop"
|
description = "A command line application for Streamlabs Desktop"
|
||||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||||
dependencies = ["pyslobs>=2.0.4", "asyncclick>=8.1.8"]
|
dependencies = ["pyslobs>=2.0.4", "asyncclick>=8.1.8"]
|
||||||
|
@ -5,6 +5,7 @@ from pyslobs import ConnectionConfig, SlobsConnection
|
|||||||
|
|
||||||
@click.group()
|
@click.group()
|
||||||
@click.option(
|
@click.option(
|
||||||
|
"-d",
|
||||||
"--domain",
|
"--domain",
|
||||||
default="localhost",
|
default="localhost",
|
||||||
show_default=True,
|
show_default=True,
|
||||||
@ -13,6 +14,7 @@ from pyslobs import ConnectionConfig, SlobsConnection
|
|||||||
envvar="SLOBS_DOMAIN",
|
envvar="SLOBS_DOMAIN",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
|
"-p",
|
||||||
"--port",
|
"--port",
|
||||||
default=59650,
|
default=59650,
|
||||||
show_default=True,
|
show_default=True,
|
||||||
@ -21,6 +23,7 @@ from pyslobs import ConnectionConfig, SlobsConnection
|
|||||||
envvar="SLOBS_PORT",
|
envvar="SLOBS_PORT",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
|
"-t",
|
||||||
"--token",
|
"--token",
|
||||||
help="The token for the SLOBS server.",
|
help="The token for the SLOBS server.",
|
||||||
envvar="SLOBS_TOKEN",
|
envvar="SLOBS_TOKEN",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user