mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2025-05-20 08:10:22 +01:00
add studiomode enable/disable output
This commit is contained in:
parent
6e25927bc1
commit
8aeb7cb183
@ -23,6 +23,8 @@ func (cmd *StudioModeEnableCmd) Run(ctx *context) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to enable studio mode: %w", err)
|
||||
}
|
||||
|
||||
fmt.Fprintln(ctx.Out, "Studio mode is now enabled")
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -35,6 +37,8 @@ func (cmd *StudioModeDisableCmd) Run(ctx *context) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to disable studio mode: %w", err)
|
||||
}
|
||||
|
||||
fmt.Fprintln(ctx.Out, "Studio mode is now disabled")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user