diff --git a/obsws_cli/input.py b/obsws_cli/input.py index a3f4a04..68ae9b0 100644 --- a/obsws_cli/input.py +++ b/obsws_cli/input.py @@ -77,7 +77,7 @@ def unmute(ctx: typer.Context, input_name: str): ) -@app.command() +@app.command('toggle | tg') def toggle(ctx: typer.Context, input_name: str): """Toggle an input.""" if not _input_in_inputs(ctx, input_name): diff --git a/obsws_cli/stream.py b/obsws_cli/stream.py index 6ecad62..6a2c4ac 100644 --- a/obsws_cli/stream.py +++ b/obsws_cli/stream.py @@ -69,7 +69,7 @@ def status(ctx: typer.Context): typer.echo('Streaming is not in progress.') -@app.command() +@app.command('toggle | tg') def toggle(ctx: typer.Context): """Toggle streaming.""" active, _ = _get_streaming_status(ctx)