Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/willnewby/qq. A fast, lightweight job queue based on Postgres, Go and Bash
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334/*Copyright © 2025 Will Atlas <will@atls.dev>*/package cmd
import ( "github.com/spf13/cobra")
// queueCmd represents the queue commandvar queueCmd = &cobra.Command{ Use: "queue", Aliases: []string{"queues", "q"}, Short: "Manage queues", Long: `The queue command allows you to manage queues.Use the subcommands to add, remove, or list queues.`, // This is a parent command that doesn't do anything itself Run: nil,}
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")}