Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Christenson II committed Dec 1, 2023
1 parent d5d9aec commit da2b41e
Show file tree
Hide file tree
Showing 20 changed files with 54 additions and 14 deletions.
2 changes: 2 additions & 0 deletions docs/auth0_actions_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 actions delete [flags]
auth0 actions rm
auth0 actions delete <action-id>
auth0 actions delete <action-id> --force
auth0 actions delete <action-id> <action-id2> <action-idn>
auth0 actions delete <action-id> <action-id2> <action-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_apis_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 apis delete [flags]
auth0 apis rm
auth0 apis delete <api-id|api-audience>
auth0 apis delete <api-id|api-audience> --force
auth0 apis delete <api-id|api-audience> <api-id2> <api-idn>
auth0 apis delete <api-id|api-audience> <api-id2> <api-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_apps_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 apps delete [flags]
auth0 apps rm
auth0 apps delete <app-id>
auth0 apps delete <app-id> --force
auth0 apps delete <app-id> <app-id2> <app-idn>
auth0 apps delete <app-id> <app-id2> <app-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_domains_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 domains delete [flags]
auth0 domains rm
auth0 domains delete <domain-id>
auth0 domains delete <domain-id> --force
auth0 domains delete <domain-id> <domain-id2> <domain-idn>
auth0 domains delete <domain-id> <domain-id2> <domain-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_logs_streams_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 logs streams delete [flags]
auth0 logs streams rm
auth0 logs streams delete <log-stream-id>
auth0 logs streams delete <log-stream-id> --force
auth0 logs streams delete <log-stream-id> <log-stream-id2> <log-stream-idn>
auth0 logs streams delete <log-stream-id> <log-stream-id2> <log-stream-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_orgs_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 orgs delete [flags]
auth0 orgs rm
auth0 orgs delete <org-id>
auth0 orgs delete <org-id> --force
auth0 orgs delete <org-id> <org-id2> <org-idn>
auth0 orgs delete <org-id> <org-id2> <org-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_roles_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 roles delete [flags]
auth0 roles rm
auth0 roles delete <role-id>
auth0 roles delete <role-id> --force
auth0 roles delete <role-id> <role-id2> <role-idn>
auth0 roles delete <role-id> <role-id2> <role-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_rules_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ auth0 rules delete [flags]
auth0 rules rm
auth0 rules delete <rule-id>
auth0 rules delete <rule-id> --force
auth0 rules delete <rule-id> <rule-id2> <rule-idn>
auth0 rules delete <rule-id> <rule-id2> <rule-idn> --force
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_users_blocks_unblock.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ auth0 users blocks unblock [flags]
## Examples

```
auth0 users blocks unblock
auth0 users blocks unblock <user-id>
auth0 users blocks unblock <user-id> <user-id2> <user-idn>
```


Expand Down
2 changes: 2 additions & 0 deletions docs/auth0_users_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ auth0 users delete [flags]
auth0 users rm
auth0 users delete <user-id>
auth0 users delete <user-id> --force
auth0 users delete <user-id> <user-id2> <user-idn>
auth0 users delete <user-id> <user-id2> <user-idn> --force
```


Expand Down
4 changes: 3 additions & 1 deletion internal/cli/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,9 @@ func deleteActionCmd(cli *cli) *cobra.Command {
Example: ` auth0 actions delete
auth0 actions rm
auth0 actions delete <action-id>
auth0 actions delete <action-id> --force`,
auth0 actions delete <action-id> --force
auth0 actions delete <action-id> <action-id2> <action-idn>
auth0 actions delete <action-id> <action-id2> <action-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,9 @@ func deleteAPICmd(cli *cli) *cobra.Command {
Example: ` auth0 apis delete
auth0 apis rm
auth0 apis delete <api-id|api-audience>
auth0 apis delete <api-id|api-audience> --force`,
auth0 apis delete <api-id|api-audience> --force
auth0 apis delete <api-id|api-audience> <api-id2> <api-idn>
auth0 apis delete <api-id|api-audience> <api-id2> <api-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
var ids []string
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ func deleteAppCmd(cli *cli) *cobra.Command {
Example: ` auth0 apps delete
auth0 apps rm
auth0 apps delete <app-id>
auth0 apps delete <app-id> --force`,
auth0 apps delete <app-id> --force
auth0 apps delete <app-id> <app-id2> <app-idn>
auth0 apps delete <app-id> <app-id2> <app-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/custom_domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ func deleteCustomDomainCmd(cli *cli) *cobra.Command {
Example: ` auth0 domains delete
auth0 domains rm
auth0 domains delete <domain-id>
auth0 domains delete <domain-id> --force`,
auth0 domains delete <domain-id> --force
auth0 domains delete <domain-id> <domain-id2> <domain-idn>
auth0 domains delete <domain-id> <domain-id2> <domain-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/log_streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ func deleteLogStreamCmd(cli *cli) *cobra.Command {
Example: ` auth0 logs streams delete
auth0 logs streams rm
auth0 logs streams delete <log-stream-id>
auth0 logs streams delete <log-stream-id> --force`,
auth0 logs streams delete <log-stream-id> --force
auth0 logs streams delete <log-stream-id> <log-stream-id2> <log-stream-idn>
auth0 logs streams delete <log-stream-id> <log-stream-id2> <log-stream-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ func deleteOrganizationCmd(cli *cli) *cobra.Command {
Example: ` auth0 orgs delete
auth0 orgs rm
auth0 orgs delete <org-id>
auth0 orgs delete <org-id> --force`,
auth0 orgs delete <org-id> --force
auth0 orgs delete <org-id> <org-id2> <org-idn>
auth0 orgs delete <org-id> <org-id2> <org-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ func deleteRoleCmd(cli *cli) *cobra.Command {
Example: ` auth0 roles delete
auth0 roles rm
auth0 roles delete <role-id>
auth0 roles delete <role-id> --force`,
auth0 roles delete <role-id> --force
auth0 roles delete <role-id> <role-id2> <role-idn>
auth0 roles delete <role-id> <role-id2> <role-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ func deleteRuleCmd(cli *cli) *cobra.Command {
Example: ` auth0 rules delete
auth0 rules rm
auth0 rules delete <rule-id>
auth0 rules delete <rule-id> --force`,
auth0 rules delete <rule-id> --force
auth0 rules delete <rule-id> <rule-id2> <rule-idn>
auth0 rules delete <rule-id> <rule-id2> <rule-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
4 changes: 3 additions & 1 deletion internal/cli/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ func deleteUserCmd(cli *cli) *cobra.Command {
Example: ` auth0 users delete
auth0 users rm
auth0 users delete <user-id>
auth0 users delete <user-id> --force`,
auth0 users delete <user-id> --force
auth0 users delete <user-id> <user-id2> <user-idn>
auth0 users delete <user-id> <user-id2> <user-idn> --force`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down
12 changes: 7 additions & 5 deletions internal/cli/users_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,13 @@ func listUserBlocksCmd(cli *cli) *cobra.Command {

func deleteUserBlocksCmd(cli *cli) *cobra.Command {
cmd := &cobra.Command{
Use: "unblock",
Args: cobra.MinimumNArgs(0),
Short: "Remove brute-force protection blocks for a given user",
Long: "Remove brute-force protection blocks for a given user.",
Example: ` auth0 users blocks unblock <user-id>`,
Use: "unblock",
Args: cobra.MinimumNArgs(0),
Short: "Remove brute-force protection blocks for a given user",
Long: "Remove brute-force protection blocks for a given user.",
Example: ` auth0 users blocks unblock
auth0 users blocks unblock <user-id>
auth0 users blocks unblock <user-id> <user-id2> <user-idn>`,
RunE: func(cmd *cobra.Command, args []string) error {
ids := make([]string, len(args))
if len(args) == 0 {
Expand Down

0 comments on commit da2b41e

Please sign in to comment.