@@ -12,6 +12,7 @@ import (
1212 "github.com/twitchdev/twitch-cli/internal/events"
1313 "github.com/twitchdev/twitch-cli/internal/events/mock_wss_server"
1414 "github.com/twitchdev/twitch-cli/internal/events/trigger"
15+ "github.com/twitchdev/twitch-cli/internal/events/types"
1516 "github.com/twitchdev/twitch-cli/internal/events/verify"
1617 "github.com/twitchdev/twitch-cli/internal/util"
1718)
@@ -55,9 +56,9 @@ var triggerCmd = &cobra.Command{
5556 Short : "Creates mock events that can be forwarded to a local webserver for event testing." ,
5657 Long : fmt .Sprintf (`Creates mock events that can be forwarded to a local webserver for event testing.
5758 Supported:
58- %s` , events . ValidTriggers ()),
59+ %s` , types . AllEventTopics ()),
5960 Args : cobra .MaximumNArgs (1 ),
60- ValidArgs : events . ValidTriggers (),
61+ ValidArgs : types . AllEventTopics (),
6162 Run : triggerCmdRun ,
6263 Example : `twitch event trigger subscribe` ,
6364 Aliases : []string {
@@ -70,9 +71,9 @@ var verifyCmd = &cobra.Command{
7071 Short : "Mocks the subscription verification event. Can be forwarded to a local webserver for testing." ,
7172 Long : fmt .Sprintf (`Mocks the subscription verification event that can be forwarded to a local webserver for testing.
7273 Supported:
73- %s` , events . ValidTriggers ()),
74+ %s` , types . AllEventTopics ()),
7475 Args : cobra .MaximumNArgs (1 ),
75- ValidArgs : events . ValidTriggers (),
76+ ValidArgs : types . AllEventTopics (),
7677 Run : verifyCmdRun ,
7778 Example : `twitch event verify-subscription subscribe` ,
7879 Aliases : []string {
0 commit comments