humble-bot/cmd/queue.go

30 lines
774 B
Go
Raw Permalink Normal View History

2023-07-11 09:57:29 +02:00
/*
Copyright © 2023 Laura Kalb <dev@lauka.net>
The code of this project is available under the MIT license. See the LICENSE file for more info.
*/
package cmd
import (
"github.com/spf13/cobra"
)
// queueCmd represents the queue command
var queueCmd = &cobra.Command{
Use: "queue",
Short: "Queue operations",
}
func init() {
rootCmd.AddCommand(queueCmd)
// Here you will define your flags and configuration settings.
// Cobra supports Persistent Flags which will work for this command
// and all subcommands, e.g.:
// queueCmd.PersistentFlags().String("foo", "", "A help for foo")
// Cobra supports local flags which will only run when this command
// is called directly, e.g.:
// queueCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}