add short configuration options

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

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",