From 88d41fd7002821b635e4bc9e876193a797b3a0db Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 9 Jan 2026 19:58:42 +0000 Subject: [PATCH] add aliases for media subcommands --- media.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/media.go b/media.go index 9857e8a..0a395e3 100644 --- a/media.go +++ b/media.go @@ -8,11 +8,11 @@ import ( // MediaCmd represents a collection of commands to control media inputs. type MediaCmd struct { - Cursor MediaCursorCmd `cmd:"" help:"Get/set the cursor position of a media input."` - Play MediaPlayCmd `cmd:"" help:"Plays a media input."` - Pause MediaPauseCmd `cmd:"" help:"Pauses a media input."` - Stop MediaStopCmd `cmd:"" help:"Stops a media input."` - Restart MediaRestartCmd `cmd:"" help:"Restarts 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." aliases:"p"` + Pause MediaPauseCmd `cmd:"" help:"Pauses a media input." aliases:"pa"` + Stop MediaStopCmd `cmd:"" help:"Stops a media input." aliases:"s"` + 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.