add output to studiomode enable/disable comands

upd studiomode unit tests
This commit is contained in:
2025-05-08 01:15:52 +01:00
parent 4f0a3816ba
commit e8b699cba6
2 changed files with 4 additions and 0 deletions

View File

@@ -16,12 +16,14 @@ def main():
def enable(ctx: typer.Context):
"""Enable studio mode."""
ctx.obj.set_studio_mode_enabled(True)
typer.echo('Studio mode has been enabled.')
@app.command('disable | off')
def disable(ctx: typer.Context):
"""Disable studio mode."""
ctx.obj.set_studio_mode_enabled(False)
typer.echo('Studio mode has been disabled.')
@app.command('toggle | tg')