diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eec2bd..ab6d86a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- Added `list` alias to `queue show` +- Added `delete` alias to `queue remove` ## [v0.2.1] - 2023-06-11 ### Changed diff --git a/cmd/queue-remove.go b/cmd/queue-remove.go index cc24d23..80fe4e6 100644 --- a/cmd/queue-remove.go +++ b/cmd/queue-remove.go @@ -17,6 +17,7 @@ var queueremoveCmd = &cobra.Command{ Run: app.RunQueueRemove, Args: cobra.ExactArgs(1), Example: "humble-bot queue remove 25", + Aliases: []string{"delete"}, } func init() { diff --git a/cmd/queue-show.go b/cmd/queue-show.go index 6acca8b..b40bef4 100644 --- a/cmd/queue-show.go +++ b/cmd/queue-show.go @@ -12,10 +12,11 @@ import ( // queueshowCmd represents the queue command var queueshowCmd = &cobra.Command{ - Use: "show", - Short: "Show items in queue", - Run: app.RunQueueShow, - Args: cobra.ExactArgs(0), + Use: "show", + Short: "Show items in queue", + Run: app.RunQueueShow, + Args: cobra.ExactArgs(0), + Aliases: []string{"list"}, } func init() {