mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 15:03:44 +00:00
we lose aliases in the help output but this does fix shell completion, which is more important.
fixes #3
This commit is contained in:
@@ -7,9 +7,8 @@ import obsws_python as obsws
|
||||
import typer
|
||||
|
||||
from obsws_cli import console
|
||||
from obsws_cli.alias import SubTyperAliasGroup
|
||||
|
||||
app = typer.Typer(cls=SubTyperAliasGroup)
|
||||
app = typer.Typer()
|
||||
|
||||
|
||||
@app.callback()
|
||||
@@ -17,7 +16,8 @@ def main():
|
||||
"""Take screenshots using OBS."""
|
||||
|
||||
|
||||
@app.command('save | sv')
|
||||
@app.command('save')
|
||||
@app.command('s', hidden=True)
|
||||
def save(
|
||||
ctx: typer.Context,
|
||||
source_name: Annotated[
|
||||
|
||||
Reference in New Issue
Block a user