Skip to content

Commit cbae58c

Browse files
committed
update docs and fix lint
1 parent c9cfc8f commit cbae58c

File tree

4 files changed

+16
-35
lines changed

4 files changed

+16
-35
lines changed

docs/auth0_acul.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: default
33
has_toc: false
4-
has_children: true
54
---
65
# auth0 acul
76

docs/auth0_acul_config.md

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,17 @@
11
---
22
layout: default
3-
parent: auth0 acul
43
has_toc: false
4+
has_children: true
55
---
66
# auth0 acul config
77

88
Configure the Universal Login experience. This requires a custom domain to be configured for the tenant.
99

10-
## Usage
11-
```
12-
auth0 acul config [flags]
13-
```
14-
15-
## Examples
16-
17-
```
18-
auth0 acul config
19-
auth0 acul config
20-
auth0 acul config --screen login-id --file settings.json
21-
```
22-
23-
24-
25-
26-
## Inherited Flags
27-
28-
```
29-
--debug Enable debug mode.
30-
--no-color Disable colors.
31-
--no-input Disable interactivity.
32-
--tenant string Specific tenant to use.
33-
```
34-
35-
36-
## Related Commands
37-
38-
- [auth0 acul config](auth0_acul_config.md) - Configure the Universal Login experience
10+
## Commands
3911

12+
- [auth0 acul config docs](auth0_acul_config_docs.md) - Open the ACUL configuration documentation
13+
- [auth0 acul config generate](auth0_acul_config_generate.md) - Generate a default rendering config for a screen
14+
- [auth0 acul config get](auth0_acul_config_get.md) - Get the current rendering settings for a specific screen
15+
- [auth0 acul config list](auth0_acul_config_list.md) - List Universal Login rendering configurations
16+
- [auth0 acul config set](auth0_acul_config_set.md) - Set the rendering settings for a specific screen
4017

docs/auth0_acul_config_list.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ auth0 acul config list [flags]
1515
## Examples
1616

1717
```
18-
auth0 acul config list --prompt login-id --screen login --rendering-mode advanced --include-fields true --fields head_tags,context_configuration
18+
auth0 acul config list
19+
auth0 acul config list --prompt login-id
20+
auth0 acul config list --screen login --rendering-mode advanced
21+
auth0 acul config list --fields head_tags,context_configuration --include-fields=true
22+
auth0 acul config list --query "prompt:login AND screen:login"
23+
auth0 acul config list --page 1 --per-page 25
1924
```
2025

2126

internal/cli/acul.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ func aculConfigGenerateCmd(cli *cli) *cobra.Command {
225225
}
226226
} else {
227227
input.screenName = args[0]
228-
// Add validation for screen name
228+
// Add validation for screen name.
229229
if _, exists := ScreenPromptMap[input.screenName]; !exists {
230230
return fmt.Errorf("invalid screen name: %s. Use one of the valid screen names", input.screenName)
231231
}
@@ -513,7 +513,7 @@ func aculConfigListCmd(cli *cli) *cobra.Command {
513513
management.Parameter("per_page", strconv.Itoa(perPage)),
514514
}
515515

516-
// Add optional query parameters
516+
// Add optional query parameters.
517517
paramMap := map[string]string{
518518
"q": query,
519519
"screen": screen,
@@ -527,7 +527,7 @@ func aculConfigListCmd(cli *cli) *cobra.Command {
527527
}
528528
}
529529

530-
// Handle fields parameter
530+
// Handle fields parameter.
531531
if fields != "" {
532532
if includeFields {
533533
params = append(params, management.IncludeFields(fields))

0 commit comments

Comments
 (0)