mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-08-05 11:31:44 +00:00
update the --help message
add descriptions for filter + scene command groups Usage now after main CLI description
This commit is contained in:
parent
105aaf29b7
commit
de1c604c46
@ -19,9 +19,11 @@ app = App(
|
||||
'OBS_'
|
||||
), # Environment variable prefix for configuration parameters
|
||||
version=version,
|
||||
usage='[bold][yellow]Usage:[/yellow] [white]obsws-cli [OPTIONS] COMMAND [ARGS]...[/white][/bold]',
|
||||
)
|
||||
app.meta.group_parameters = Group('Session Parameters', sort_key=0)
|
||||
app.meta.group_parameters = Group('Options', sort_key=0)
|
||||
for sub_app in (
|
||||
'group',
|
||||
'filter',
|
||||
'scene',
|
||||
):
|
||||
@ -74,7 +76,7 @@ def launcher(
|
||||
Parameter(validator=setup_logging),
|
||||
] = False,
|
||||
):
|
||||
"""Initialize the OBS WebSocket client and return the context."""
|
||||
"""Command line interface for the OBS WebSocket API."""
|
||||
with obsws.ReqClient(
|
||||
host=obs_config.host,
|
||||
port=obs_config.port,
|
||||
|
@ -12,7 +12,7 @@ from .context import Context
|
||||
from .enum import ExitCode
|
||||
from .error import OBSWSCLIError
|
||||
|
||||
app = App(name='filter')
|
||||
app = App(name='filter', help='Commands for managing filters in OBS sources')
|
||||
|
||||
|
||||
@app.command(name=['list', 'ls'])
|
||||
|
@ -11,7 +11,7 @@ from .context import Context
|
||||
from .enum import ExitCode
|
||||
from .error import OBSWSCLIError
|
||||
|
||||
app = App(name='scene')
|
||||
app = App(name='scene', help='Commands for managing OBS scenes')
|
||||
|
||||
|
||||
@app.command(name=['list', 'ls'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user