✨ Register thirdPartyLink in root binary and code generators
This commit is contained in:
1 parent
d897e3c159
commit
1e666812de
8 files changed
+24
No files matched your search
@@ -35,6 +35,7 @@ go_library(
|
||||
"//cmd/search",
|
||||
"//cmd/subscription",
|
||||
"//cmd/superChatEvent",
|
||||
"//cmd/thirdPartyLink",
|
||||
"//cmd/thumbnail",
|
||||
"//cmd/video",
|
||||
"//cmd/videoAbuseReportReason",
|
||||
|
||||
@@ -25,6 +25,7 @@ go_library(
|
||||
"//cmd/search",
|
||||
"//cmd/subscription",
|
||||
"//cmd/superChatEvent",
|
||||
"//cmd/thirdPartyLink",
|
||||
"//cmd/thumbnail",
|
||||
"//cmd/video",
|
||||
"//cmd/videoAbuseReportReason",
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright 2026 eat-pray-ai & OpenWaygate
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
//go:generate go run ../importgen -cmd ../../../cmd -out imports_gen.go
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -32,6 +34,7 @@ import (
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/search"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/subscription"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/superChatEvent"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/thirdPartyLink"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/thumbnail"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/video"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/videoAbuseReportReason"
|
||||
|
||||
@@ -25,6 +25,7 @@ go_library(
|
||||
"//cmd/search",
|
||||
"//cmd/subscription",
|
||||
"//cmd/superChatEvent",
|
||||
"//cmd/thirdPartyLink",
|
||||
"//cmd/thumbnail",
|
||||
"//cmd/video",
|
||||
"//cmd/videoAbuseReportReason",
|
||||
|
||||
@@ -35,6 +35,7 @@ import (
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/search"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/subscription"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/superChatEvent"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/thirdPartyLink"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/thumbnail"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/video"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/videoAbuseReportReason"
|
||||
@@ -93,6 +94,7 @@ var categoryMap = map[string]string{
|
||||
"channel": "Channel",
|
||||
"channelBanner": "Channel",
|
||||
"channelSection": "Channel",
|
||||
"thirdPartyLink": "Channel",
|
||||
"search": "Discovery",
|
||||
"activity": "Discovery",
|
||||
"videoCategory": "Metadata",
|
||||
|
||||
@@ -23,6 +23,7 @@ import (
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/search"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/subscription"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/superChatEvent"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/thirdPartyLink"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/thumbnail"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/video"
|
||||
_ "github.com/eat-pray-ai/yutu/cmd/videoAbuseReportReason"
|
||||
|
||||
@@ -186,6 +186,17 @@ echo "======= superChatEvent ======="
|
||||
echo "------- list -------"
|
||||
"$YUTU_PATH" superChatEvent list --help
|
||||
|
||||
echo "======= thirdPartyLink ======="
|
||||
"$YUTU_PATH" thirdPartyLink --help
|
||||
echo "------- delete -------"
|
||||
"$YUTU_PATH" thirdPartyLink delete --help
|
||||
echo "------- insert -------"
|
||||
"$YUTU_PATH" thirdPartyLink insert --help
|
||||
echo "------- list -------"
|
||||
"$YUTU_PATH" thirdPartyLink list --help
|
||||
echo "------- update -------"
|
||||
"$YUTU_PATH" thirdPartyLink update --help
|
||||
|
||||
echo "======= thumbnail ======="
|
||||
"$YUTU_PATH" thumbnail --help
|
||||
echo "------- set -------"
|
||||
|
||||
@@ -93,6 +93,10 @@ Manage YouTube resources using the `yutu` CLI — videos, playlists, comments, c
|
||||
| channel banner | insert | Insert a channel banner |
|
||||
| channel section | delete | Delete channel sections |
|
||||
| channel section | list | List channel sections |
|
||||
| third party link | delete | Delete a third-party link |
|
||||
| third party link | insert | Insert a new third-party link |
|
||||
| third party link | list | List third-party links |
|
||||
| third party link | update | Update a third-party link |
|
||||
|
||||
### Discovery
|
||||
|
||||
|
||||
Reference in new issue
Block a user