29 lines
774 B
Go
29 lines
774 B
Go
/*
|
|
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")
|
|
}
|