mirror of
https://github.com/onyx-and-iris/vban-cli.git
synced 2026-03-04 22:19:13 +00:00
remove meta launchers for comp, gate, denoiser.
This commit is contained in:
parent
a2ae240605
commit
6e6a60e9bd
@ -8,21 +8,6 @@ from .help import StripHelpFormatter
|
|||||||
app = App(name='comp', help_formatter=StripHelpFormatter())
|
app = App(name='comp', help_formatter=StripHelpFormatter())
|
||||||
|
|
||||||
|
|
||||||
@app.meta.default
|
|
||||||
def launcher(
|
|
||||||
*tokens: Annotated[str, Parameter(show=False, allow_leading_hyphen=True)],
|
|
||||||
index: Annotated[int, Parameter(parse=False)],
|
|
||||||
ctx: Annotated[Context, Parameter(parse=False)],
|
|
||||||
):
|
|
||||||
"""Control the compressor parameters."""
|
|
||||||
additional_kwargs = {}
|
|
||||||
command, bound, _ = app.parse_args(tokens)
|
|
||||||
additional_kwargs['index'] = index
|
|
||||||
additional_kwargs['ctx'] = ctx
|
|
||||||
|
|
||||||
return command(*bound.args, **bound.kwargs, **additional_kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
@app.command(name='knob')
|
@app.command(name='knob')
|
||||||
def knob(
|
def knob(
|
||||||
new_knob: Annotated[float, Argument()] = None,
|
new_knob: Annotated[float, Argument()] = None,
|
||||||
|
|||||||
@ -8,21 +8,6 @@ from .help import StripHelpFormatter
|
|||||||
app = App(name='denoiser', help_formatter=StripHelpFormatter())
|
app = App(name='denoiser', help_formatter=StripHelpFormatter())
|
||||||
|
|
||||||
|
|
||||||
@app.meta.default
|
|
||||||
def launcher(
|
|
||||||
*tokens: Annotated[str, Parameter(show=False, allow_leading_hyphen=True)],
|
|
||||||
index: Annotated[int, Parameter(parse=False)],
|
|
||||||
ctx: Annotated[Context, Parameter(parse=False)],
|
|
||||||
):
|
|
||||||
"""Control the denoiser parameters."""
|
|
||||||
additional_kwargs = {}
|
|
||||||
command, bound, _ = app.parse_args(tokens)
|
|
||||||
additional_kwargs['index'] = index
|
|
||||||
additional_kwargs['ctx'] = ctx
|
|
||||||
|
|
||||||
return command(*bound.args, **bound.kwargs, **additional_kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
@app.command(name='knob')
|
@app.command(name='knob')
|
||||||
def knob(
|
def knob(
|
||||||
new_knob: Annotated[float, Argument()] = None,
|
new_knob: Annotated[float, Argument()] = None,
|
||||||
|
|||||||
@ -8,21 +8,6 @@ from .help import StripHelpFormatter
|
|||||||
app = App(name='gate', help_formatter=StripHelpFormatter())
|
app = App(name='gate', help_formatter=StripHelpFormatter())
|
||||||
|
|
||||||
|
|
||||||
@app.meta.default
|
|
||||||
def launcher(
|
|
||||||
*tokens: Annotated[str, Parameter(show=False, allow_leading_hyphen=True)],
|
|
||||||
index: Annotated[int, Parameter(parse=False)],
|
|
||||||
ctx: Annotated[Context, Parameter(parse=False)],
|
|
||||||
):
|
|
||||||
"""Control the compressor parameters."""
|
|
||||||
additional_kwargs = {}
|
|
||||||
command, bound, _ = app.parse_args(tokens)
|
|
||||||
additional_kwargs['index'] = index
|
|
||||||
additional_kwargs['ctx'] = ctx
|
|
||||||
|
|
||||||
return command(*bound.args, **bound.kwargs, **additional_kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
@app.command(name='knob')
|
@app.command(name='knob')
|
||||||
def knob(
|
def knob(
|
||||||
new_knob: Annotated[float, Argument()] = None,
|
new_knob: Annotated[float, Argument()] = None,
|
||||||
|
|||||||
@ -8,9 +8,9 @@ from .help import StripHelpFormatter
|
|||||||
|
|
||||||
app = App(name='strip', help_formatter=StripHelpFormatter())
|
app = App(name='strip', help_formatter=StripHelpFormatter())
|
||||||
app.command(eq.app.meta, name='eq')
|
app.command(eq.app.meta, name='eq')
|
||||||
app.command(comp.app.meta, name='comp')
|
app.command(comp.app, name='comp')
|
||||||
app.command(gate.app.meta, name='gate')
|
app.command(gate.app, name='gate')
|
||||||
app.command(denoiser.app.meta, name='denoiser')
|
app.command(denoiser.app, name='denoiser')
|
||||||
app.command(gainlayer.app.meta, name='gainlayer')
|
app.command(gainlayer.app.meta, name='gainlayer')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user