Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dxcdt 578 increase results amount in lists #940

Merged
merged 12 commits into from
Dec 13, 2023
2 changes: 1 addition & 1 deletion docs/auth0_apis_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 apis list [flags]

```
--json Output in json format.
-n, --number int Number of APIs to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of APIs to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_apps_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ auth0 apps list [flags]

```
--json Output in json format.
-n, --number int Number of apps to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of apps to retrieve. Minimum 1, maximum 1000. (default 100)
-r, --reveal-secrets Display the application secrets ('signing_keys', 'client_secret') as part of the command output.
```

Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_orgs_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 orgs list [flags]

```
--json Output in json format.
-n, --number int Number of organizations to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of organizations to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_orgs_members_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 orgs members list [flags]

```
--json Output in json format.
-n, --number int Number of organization members to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of organization members to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_orgs_roles_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 orgs roles list [flags]

```
--json Output in json format.
-n, --number int Number of organization roles to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of organization roles to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_orgs_roles_members_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ auth0 orgs roles members list [flags]

```
--json Output in json format.
-n, --number int Number of members to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of members to retrieve. Minimum 1, maximum 1000. (default 100)
-r, --role-id string Role Identifier.
```

Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_roles_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 roles list [flags]

```
--json Output in json format.
-n, --number int Number of roles to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of roles to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_roles_permissions_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 roles permissions list [flags]

```
--json Output in json format.
-n, --number int Number of permissions to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of permissions to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_users_roles_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auth0 users roles show [flags]

```
--json Output in json format.
-n, --number int Number of user roles to retrieve. Minimum 1, maximum 1000. (default 50)
-n, --number int Number of user roles to retrieve. Minimum 1, maximum 1000. (default 100)
```


Expand Down
2 changes: 1 addition & 1 deletion docs/auth0_users_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ auth0 users search [flags]

```
--json Output in json format.
-n, --number int Number of users, that match the search criteria, to retrieve. Minimum 1, maximum 1000. If limit is hit, refine the search query. (default 50)
-n, --number int Number of users, that match the search criteria, to retrieve. Minimum 1, maximum 1000. If limit is hit, refine the search query. (default 100)
-q, --query email:"user123@*.com" OR (user_id:"user-id-123" AND name:"Bob") Search query in Lucene query syntax.

For example: email:"user123@*.com" OR (user_id:"user-id-123" AND name:"Bob")
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func listActionsCmd(cli *cli) *cobra.Command {
var list *management.ActionList

if err := ansi.Waiting(func() (err error) {
list, err = cli.api.Action.List(cmd.Context(), management.PerPage(100))
list, err = cli.api.Action.List(cmd.Context(), management.PerPage(defaultPageSize))
return err
}); err != nil {
return fmt.Errorf("failed to retrieve actions: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
appTypeRegularWeb = "regular_web"
appTypeNonInteractive = "non_interactive"
appDefaultURL = "http://localhost:3000"
defaultPageSize = 50
defaultPageSize = 100
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/custom_domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func listCustomDomainsCmd(cli *cli) *cobra.Command {

if err := ansi.Waiting(func() error {
var err error
list, err = cli.api.CustomDomain.List(cmd.Context())
list, err = cli.api.CustomDomain.List(cmd.Context(), management.PerPage(defaultPageSize))
return err
}); err != nil {
return fmt.Errorf("An unexpected error occurred: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/log_streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func listLogStreamsCmd(cli *cli) *cobra.Command {

if err := ansi.Waiting(func() error {
var err error
list, err = cli.api.LogStream.List(cmd.Context())
list, err = cli.api.LogStream.List(cmd.Context(), management.PerPage(defaultPageSize))
return err
}); err != nil {
return fmt.Errorf("An unexpected error occurred: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func listLogsCmd(cli *cli) *cobra.Command {
}

logsFilter.RegisterString(cmd, &inputs.Filter, "")
logsNum.RegisterInt(cmd, &inputs.Num, 100)
logsNum.RegisterInt(cmd, &inputs.Num, defaultPageSize)

cmd.Flags().BoolVar(&cli.json, "json", false, "Output in json format.")

Expand Down
Loading