This commit is contained in:
Noah Zoschke 2025-07-30 07:02:27 -07:00
parent c5e7bb4e1a
commit fba7c4ce20

View File

@ -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
} }