MCPcopy Create free account
hub / github.com/auth0/auth0-cli / logStreamsCmd

Function logStreamsCmd

internal/cli/log_streams.go:60–78  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

58)
59
60func logStreamsCmd(cli *cli) *cobra.Command {
61 cmd := &cobra.Command{
62 Use: "streams",
63 Short: "Manage resources for log streams",
64 Long: "Auth0's log streaming service allows you to export tenant log events to a log event analysis " +
65 "service URL. Log streaming allows you to react to events like password changes or new registrations " +
66 "with your own business logic.",
67 }
68
69 cmd.SetUsageTemplate(resourceUsageTemplate())
70 cmd.AddCommand(listLogStreamsCmd(cli))
71 cmd.AddCommand(createLogStreamCmd(cli))
72 cmd.AddCommand(showLogStreamCmd(cli))
73 cmd.AddCommand(updateLogStreamCmd(cli))
74 cmd.AddCommand(deleteLogStreamCmd(cli))
75 cmd.AddCommand(openLogStreamsCmd(cli))
76
77 return cmd
78}
79
80func listLogStreamsCmd(cli *cli) *cobra.Command {
81 cmd := &cobra.Command{

Callers 1

logsCmdFunction · 0.85

Calls 7

resourceUsageTemplateFunction · 0.85
listLogStreamsCmdFunction · 0.85
createLogStreamCmdFunction · 0.85
showLogStreamCmdFunction · 0.85
updateLogStreamCmdFunction · 0.85
deleteLogStreamCmdFunction · 0.85
openLogStreamsCmdFunction · 0.85

Tested by

no test coverage detected