Skip to content

Commit

Permalink
Dxcdt 578 increase results amount in lists (#940)
Browse files Browse the repository at this point in the history
* Bump github.com/auth0/go-auth0 from 1.2.0 to 1.3.0 (#908)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* dxcdt-615-goreleaser-upgrade (#909)

* Fix: Remove or replace deprecations for GoReleaser config

Remove deprecated replacements
Replace deprecated brews tap
Replace deprecated scoop entries
Fix name_template to reflect exact current naming conventions

* DXCDT-582: Convert audience into a drop down in interactive mode in test token cmd (#906)

Convert audience into a drop down in interactive mode in test token cmd

* Bump github.com/auth0/go-auth0 from 1.2.0 to 1.3.0 (#908)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Sergiu Ghitea <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* DXCDT-582: Convert audience into a drop down in interactive mode in test token cmd (#906)

Convert audience into a drop down in interactive mode in test token cmd

Title Os for final release name fit

* Bump goreleaser version

* Increase default page amount to 100 results per page

* Updated docs for defalut list limit

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergiu Ghitea <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2023
1 parent 2df79b0 commit 96cb02b
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
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

0 comments on commit 96cb02b

Please sign in to comment.