mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2026-01-11 16:37:49 +00:00
format
This commit is contained in:
parent
c5e7bb4e1a
commit
fba7c4ce20
4
input.go
4
input.go
@ -28,8 +28,8 @@ type InputCmd struct {
|
|||||||
|
|
||||||
// InputCreateCmd provides a command to create an input.
|
// InputCreateCmd provides a command to create an input.
|
||||||
type InputCreateCmd struct {
|
type InputCreateCmd struct {
|
||||||
Kind string `arg:"" help:"Input kind (e.g., coreaudio_input_capture, macos-avcapture)." required:""`
|
|
||||||
Name string `arg:"" help:"Name for the input." required:""`
|
Name string `arg:"" help:"Name for the input." required:""`
|
||||||
|
Kind string `arg:"" help:"Input kind (e.g., coreaudio_input_capture, macos-avcapture)." required:""`
|
||||||
}
|
}
|
||||||
|
|
||||||
// InputDeleteCmd provides a command to delete an input.
|
// InputDeleteCmd provides a command to delete an input.
|
||||||
@ -78,7 +78,7 @@ func (cmd *InputDeleteCmd) Run(ctx *context) error {
|
|||||||
return fmt.Errorf("failed to delete input: %w", err)
|
return fmt.Errorf("failed to delete input: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(ctx.Out, "Deleted input: %s\n", ctx.Style.Highlight(cmd.Name))
|
fmt.Fprintf(ctx.Out, "Deleted %s\n", ctx.Style.Highlight(cmd.Name))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user