Files
yutu/cmd/subscription/subscription.go
T
2024-05-22 22:32:04 +08:00

38 lines
983 B
Go

package subscription
import (
"github.com/eat-pray-ai/yutu/cmd"
"github.com/spf13/cobra"
)
var (
id string
subscriberChannelId string
description string
channelId string
forChannelId string
maxResults int64
mine string
myRecentSubscribers string
mySubscribers string
onBehalfOfContentOwner string
onBehalfOfContentOwnerChannel string
order string
title string
parts []string
output string
)
var subscriptionCmd = &cobra.Command{
Use: "subscription",
Short: "manipulate YouTube subscriptions",
Long: "manipulate YouTube subscriptions, such as list, insert and delete",
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()
},
}
func init() {
cmd.RootCmd.AddCommand(subscriptionCmd)
}