add aliases for media subcommands

This commit is contained in:
onyx-and-iris 2026-01-09 19:58:42 +00:00
parent eab9303af7
commit 88d41fd700

View File

@ -8,11 +8,11 @@ import (
// MediaCmd represents a collection of commands to control media inputs. // MediaCmd represents a collection of commands to control media inputs.
type MediaCmd struct { type MediaCmd struct {
Cursor MediaCursorCmd `cmd:"" help:"Get/set the cursor position of a media input."` Cursor MediaCursorCmd `cmd:"" help:"Get/set the cursor position of a media input." aliases:"c"`
Play MediaPlayCmd `cmd:"" help:"Plays a media input."` Play MediaPlayCmd `cmd:"" help:"Plays a media input." aliases:"p"`
Pause MediaPauseCmd `cmd:"" help:"Pauses a media input."` Pause MediaPauseCmd `cmd:"" help:"Pauses a media input." aliases:"pa"`
Stop MediaStopCmd `cmd:"" help:"Stops a media input."` Stop MediaStopCmd `cmd:"" help:"Stops a media input." aliases:"s"`
Restart MediaRestartCmd `cmd:"" help:"Restarts a media input."` Restart MediaRestartCmd `cmd:"" help:"Restarts a media input." aliases:"r"`
} }
// MediaCursorCmd represents the command to get or set the cursor position of a media input. // MediaCursorCmd represents the command to get or set the cursor position of a media input.