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]
|
||||
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"]
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user