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

Function userBlocksCmd

internal/cli/users_blocks.go:13–25  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

11)
12
13func userBlocksCmd(cli *cli) *cobra.Command {
14 cmd := &cobra.Command{
15 Use: "blocks",
16 Short: "Manage brute-force protection user blocks",
17 Long: "Manage brute-force protection user blocks.",
18 }
19
20 cmd.SetUsageTemplate(resourceUsageTemplate())
21 cmd.AddCommand(listUserBlocksCmd(cli))
22 cmd.AddCommand(deleteUserBlocksCmd(cli))
23
24 return cmd
25}
26
27func listUserBlocksCmd(cli *cli) *cobra.Command {
28 var inputs struct {

Callers 1

usersCmdFunction · 0.85

Calls 3

resourceUsageTemplateFunction · 0.85
listUserBlocksCmdFunction · 0.85
deleteUserBlocksCmdFunction · 0.85

Tested by

no test coverage detected