diff --git a/docs/auth0_actions.md b/docs/auth0_actions.md index 34a0f10f8..cc9c39393 100644 --- a/docs/auth0_actions.md +++ b/docs/auth0_actions.md @@ -19,8 +19,7 @@ Manage resources for actions. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_create.md b/docs/auth0_actions_create.md index 9180ad544..1550d2a75 100644 --- a/docs/auth0_actions_create.md +++ b/docs/auth0_actions_create.md @@ -38,8 +38,7 @@ auth0 actions create -n myaction -t post-login -d "lodash=4.0.0" -s "API_KEY=val ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_delete.md b/docs/auth0_actions_delete.md index 6c457f118..59c3a3419 100644 --- a/docs/auth0_actions_delete.md +++ b/docs/auth0_actions_delete.md @@ -23,15 +23,15 @@ auth0 actions delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_deploy.md b/docs/auth0_actions_deploy.md index 1267ecd4f..dd354cb4c 100644 --- a/docs/auth0_actions_deploy.md +++ b/docs/auth0_actions_deploy.md @@ -30,8 +30,7 @@ auth0 actions deploy ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_list.md b/docs/auth0_actions_list.md index f68e302ea..3e7084126 100644 --- a/docs/auth0_actions_list.md +++ b/docs/auth0_actions_list.md @@ -31,8 +31,7 @@ auth0 actions ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_open.md b/docs/auth0_actions_open.md index 99e152367..c242090d5 100644 --- a/docs/auth0_actions_open.md +++ b/docs/auth0_actions_open.md @@ -29,8 +29,7 @@ auth0 actions open ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_show.md b/docs/auth0_actions_show.md index 790b9bb07..0092e54bc 100644 --- a/docs/auth0_actions_show.md +++ b/docs/auth0_actions_show.md @@ -30,8 +30,7 @@ auth0 actions show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_actions_update.md b/docs/auth0_actions_update.md index 4c4a61789..d7272963c 100644 --- a/docs/auth0_actions_update.md +++ b/docs/auth0_actions_update.md @@ -38,8 +38,7 @@ auth0 actions update -n myaction -t post-login -d "lodash=4.0.0" -s "API_KE ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_api.md b/docs/auth0_api.md index 719abafec..d8b1fe70a 100644 --- a/docs/auth0_api.md +++ b/docs/auth0_api.md @@ -34,6 +34,7 @@ cat data.json | auth0 api post clients ``` -d, --data string JSON data payload to send with the request. Data can be piped in as well instead of using this flag. + --force Skip confirmation when using the delete method. -h, --help help for api -q, --query stringToString Query params to send with the request. (default []) ``` @@ -42,8 +43,7 @@ cat data.json | auth0 api post clients ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis.md b/docs/auth0_apis.md index 195b4f598..73ba67ffc 100644 --- a/docs/auth0_apis.md +++ b/docs/auth0_apis.md @@ -19,8 +19,7 @@ Manage resources for APIs. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_create.md b/docs/auth0_apis_create.md index 9c70825e2..029f4ea62 100644 --- a/docs/auth0_apis_create.md +++ b/docs/auth0_apis_create.md @@ -38,8 +38,7 @@ auth0 apis create -n myapi -e 6100 --offline-access=true ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_delete.md b/docs/auth0_apis_delete.md index cae49a2a9..1a6febdca 100644 --- a/docs/auth0_apis_delete.md +++ b/docs/auth0_apis_delete.md @@ -23,15 +23,15 @@ auth0 apis delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_list.md b/docs/auth0_apis_list.md index 890d31a84..c1e87c6cb 100644 --- a/docs/auth0_apis_list.md +++ b/docs/auth0_apis_list.md @@ -33,8 +33,7 @@ auth0 apis ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_open.md b/docs/auth0_apis_open.md index 59aa52727..9f427f82e 100644 --- a/docs/auth0_apis_open.md +++ b/docs/auth0_apis_open.md @@ -30,8 +30,7 @@ auth0 apis open ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_scopes.md b/docs/auth0_apis_scopes.md index c6ac2a0be..fb96b9c22 100644 --- a/docs/auth0_apis_scopes.md +++ b/docs/auth0_apis_scopes.md @@ -19,8 +19,7 @@ Manage resources for API scopes. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_scopes_list.md b/docs/auth0_apis_scopes_list.md index fa25705b0..609b3a1ab 100644 --- a/docs/auth0_apis_scopes_list.md +++ b/docs/auth0_apis_scopes_list.md @@ -30,8 +30,7 @@ auth0 apis scopes ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_show.md b/docs/auth0_apis_show.md index a827230c0..12dd65b4b 100644 --- a/docs/auth0_apis_show.md +++ b/docs/auth0_apis_show.md @@ -30,8 +30,7 @@ auth0 apis show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apis_update.md b/docs/auth0_apis_update.md index e5da57a60..99ab35edc 100644 --- a/docs/auth0_apis_update.md +++ b/docs/auth0_apis_update.md @@ -37,8 +37,7 @@ auth0 apis update -n myapi -e 6100 --offline-access=true ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps.md b/docs/auth0_apps.md index 3fc5e88a8..a6685d1ad 100644 --- a/docs/auth0_apps.md +++ b/docs/auth0_apps.md @@ -19,8 +19,7 @@ Manage resources for applications. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps_create.md b/docs/auth0_apps_create.md index c5592e43b..8c00cd249 100644 --- a/docs/auth0_apps_create.md +++ b/docs/auth0_apps_create.md @@ -46,8 +46,7 @@ auth0 apps create -n myapp -t [native|spa|regular|m2m] --description ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps_list.md b/docs/auth0_apps_list.md index 109b945f7..060f62d99 100644 --- a/docs/auth0_apps_list.md +++ b/docs/auth0_apps_list.md @@ -34,8 +34,7 @@ auth0 apps ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps_open.md b/docs/auth0_apps_open.md index b90b65039..060a048e6 100644 --- a/docs/auth0_apps_open.md +++ b/docs/auth0_apps_open.md @@ -29,8 +29,7 @@ auth0 apps open ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps_show.md b/docs/auth0_apps_show.md index 534d7af8d..2ccfc7d25 100644 --- a/docs/auth0_apps_show.md +++ b/docs/auth0_apps_show.md @@ -31,8 +31,7 @@ auth0 apps show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps_update.md b/docs/auth0_apps_update.md index 824267297..acd7c17b2 100644 --- a/docs/auth0_apps_update.md +++ b/docs/auth0_apps_update.md @@ -45,8 +45,7 @@ auth0 apps update -n myapp --type [native|spa|regular|m2m] ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_apps_use.md b/docs/auth0_apps_use.md index 35c1c16c6..9de7e3e9a 100644 --- a/docs/auth0_apps_use.md +++ b/docs/auth0_apps_use.md @@ -30,8 +30,7 @@ auth0 apps use ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding.md b/docs/auth0_branding.md index a2d2f9395..4ea304352 100644 --- a/docs/auth0_branding.md +++ b/docs/auth0_branding.md @@ -19,8 +19,7 @@ Manage branding options. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains.md b/docs/auth0_branding_domains.md index 8ff44e67c..dd944b599 100644 --- a/docs/auth0_branding_domains.md +++ b/docs/auth0_branding_domains.md @@ -19,8 +19,7 @@ Manage custom domains. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains_create.md b/docs/auth0_branding_domains_create.md index b8d63c0c4..ce1c5e7ae 100644 --- a/docs/auth0_branding_domains_create.md +++ b/docs/auth0_branding_domains_create.md @@ -35,8 +35,7 @@ auth0 branding domains create ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains_delete.md b/docs/auth0_branding_domains_delete.md index 8a8b3e987..f06e7f9c2 100644 --- a/docs/auth0_branding_domains_delete.md +++ b/docs/auth0_branding_domains_delete.md @@ -23,15 +23,15 @@ auth0 branding domains delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains_list.md b/docs/auth0_branding_domains_list.md index 29d58adda..5a56ee141 100644 --- a/docs/auth0_branding_domains_list.md +++ b/docs/auth0_branding_domains_list.md @@ -31,8 +31,7 @@ auth0 branding domains ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains_show.md b/docs/auth0_branding_domains_show.md index 9c4a8b4d6..a034d1834 100644 --- a/docs/auth0_branding_domains_show.md +++ b/docs/auth0_branding_domains_show.md @@ -30,8 +30,7 @@ auth0 branding domains show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains_update.md b/docs/auth0_branding_domains_update.md index cfc32afb1..9f530b134 100644 --- a/docs/auth0_branding_domains_update.md +++ b/docs/auth0_branding_domains_update.md @@ -33,8 +33,7 @@ auth0 branding domains update -p compatible --ip-header "cf-connecting-ip" ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_domains_verify.md b/docs/auth0_branding_domains_verify.md index ba836f270..f4b2d7609 100644 --- a/docs/auth0_branding_domains_verify.md +++ b/docs/auth0_branding_domains_verify.md @@ -30,8 +30,7 @@ auth0 branding domains verify ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_emails.md b/docs/auth0_branding_emails.md index df4409762..54c7da65e 100644 --- a/docs/auth0_branding_emails.md +++ b/docs/auth0_branding_emails.md @@ -19,8 +19,7 @@ Manage custom email templates. This requires a custom email provider to be confi ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_emails_show.md b/docs/auth0_branding_emails_show.md index 3bd0050b7..c0384dcad 100644 --- a/docs/auth0_branding_emails_show.md +++ b/docs/auth0_branding_emails_show.md @@ -30,8 +30,7 @@ auth0 branding emails show welcome ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_emails_update.md b/docs/auth0_branding_emails_update.md index e9caf0f66..8c2bdf558 100644 --- a/docs/auth0_branding_emails_update.md +++ b/docs/auth0_branding_emails_update.md @@ -36,8 +36,7 @@ auth0 branding emails update welcome ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_show.md b/docs/auth0_branding_show.md index 9a746c175..47c601746 100644 --- a/docs/auth0_branding_show.md +++ b/docs/auth0_branding_show.md @@ -29,8 +29,7 @@ auth0 branding show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_templates.md b/docs/auth0_branding_templates.md index daee84a4d..6a84cd803 100644 --- a/docs/auth0_branding_templates.md +++ b/docs/auth0_branding_templates.md @@ -34,8 +34,7 @@ Once you close the window, you’ll be asked if you want to save the template. I ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_templates_show.md b/docs/auth0_branding_templates_show.md index 709a62b1a..e4723d3c2 100644 --- a/docs/auth0_branding_templates_show.md +++ b/docs/auth0_branding_templates_show.md @@ -29,8 +29,7 @@ auth0 branding templates show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_templates_update.md b/docs/auth0_branding_templates_update.md index 55a40c567..519b92574 100644 --- a/docs/auth0_branding_templates_update.md +++ b/docs/auth0_branding_templates_update.md @@ -29,8 +29,7 @@ auth0 branding templates update ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_texts.md b/docs/auth0_branding_texts.md index 8df2569c4..770ec7642 100644 --- a/docs/auth0_branding_texts.md +++ b/docs/auth0_branding_texts.md @@ -19,8 +19,7 @@ Manage custom text for prompts. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_texts_show.md b/docs/auth0_branding_texts_show.md index d889c56d0..7673b985a 100644 --- a/docs/auth0_branding_texts_show.md +++ b/docs/auth0_branding_texts_show.md @@ -32,8 +32,7 @@ auth0 branding texts show -l es ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_texts_update.md b/docs/auth0_branding_texts_update.md index a4327a75b..a9e48d435 100644 --- a/docs/auth0_branding_texts_update.md +++ b/docs/auth0_branding_texts_update.md @@ -32,8 +32,7 @@ auth0 branding texts update -l es ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_branding_update.md b/docs/auth0_branding_update.md index 39fbe75d1..23aaed500 100644 --- a/docs/auth0_branding_update.md +++ b/docs/auth0_branding_update.md @@ -36,8 +36,7 @@ auth0 branding update -a "#FF4F40" -b "#2A2E35" --logo "https://example.com/logo ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_completion.md b/docs/auth0_completion.md index 0f55fa0ff..5506ebb8c 100644 --- a/docs/auth0_completion.md +++ b/docs/auth0_completion.md @@ -63,8 +63,7 @@ auth0 completion ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_ips.md b/docs/auth0_ips.md index 27377bf95..29b9eab04 100644 --- a/docs/auth0_ips.md +++ b/docs/auth0_ips.md @@ -19,8 +19,7 @@ Manage blocked IP addresses. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_ips_check.md b/docs/auth0_ips_check.md index 348687ad8..ab1dbcc32 100644 --- a/docs/auth0_ips_check.md +++ b/docs/auth0_ips_check.md @@ -29,8 +29,7 @@ auth0 ips check ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_ips_unblock.md b/docs/auth0_ips_unblock.md index 84677ed75..e2c1c3783 100644 --- a/docs/auth0_ips_unblock.md +++ b/docs/auth0_ips_unblock.md @@ -29,8 +29,7 @@ auth0 ips unblock ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_login.md b/docs/auth0_login.md index 7b6d6021b..384b018bf 100644 --- a/docs/auth0_login.md +++ b/docs/auth0_login.md @@ -23,8 +23,7 @@ auth0 login [flags] ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logout.md b/docs/auth0_logout.md index cf134028d..e5b98fe74 100644 --- a/docs/auth0_logout.md +++ b/docs/auth0_logout.md @@ -29,8 +29,7 @@ auth0 logout ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs.md b/docs/auth0_logs.md index 558ed1567..9c7a3ec0c 100644 --- a/docs/auth0_logs.md +++ b/docs/auth0_logs.md @@ -19,8 +19,7 @@ View tenant logs. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_list.md b/docs/auth0_logs_list.md index 5fac06b55..3d80f4265 100644 --- a/docs/auth0_logs_list.md +++ b/docs/auth0_logs_list.md @@ -38,8 +38,7 @@ auth0 logs ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams.md b/docs/auth0_logs_streams.md index 1b44d6c9a..f4bf35c22 100644 --- a/docs/auth0_logs_streams.md +++ b/docs/auth0_logs_streams.md @@ -19,8 +19,7 @@ manage resources for log streams. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams_create.md b/docs/auth0_logs_streams_create.md index eeb363f0c..b066647c0 100644 --- a/docs/auth0_logs_streams_create.md +++ b/docs/auth0_logs_streams_create.md @@ -52,8 +52,7 @@ auth0 logs streams create -n test-splunk -t splunk --splunk-domain demo.splunk.c ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams_delete.md b/docs/auth0_logs_streams_delete.md index fd317e3f4..b7ec56996 100644 --- a/docs/auth0_logs_streams_delete.md +++ b/docs/auth0_logs_streams_delete.md @@ -23,15 +23,15 @@ auth0 logs streams delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams_list.md b/docs/auth0_logs_streams_list.md index 79bc99b8a..02486c88a 100644 --- a/docs/auth0_logs_streams_list.md +++ b/docs/auth0_logs_streams_list.md @@ -31,8 +31,7 @@ auth0 logs streams ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams_open.md b/docs/auth0_logs_streams_open.md index f96fcd83a..aa16f353b 100644 --- a/docs/auth0_logs_streams_open.md +++ b/docs/auth0_logs_streams_open.md @@ -29,8 +29,7 @@ auth0 logs streams open ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams_show.md b/docs/auth0_logs_streams_show.md index 3c1d632a5..0c61e6804 100644 --- a/docs/auth0_logs_streams_show.md +++ b/docs/auth0_logs_streams_show.md @@ -30,8 +30,7 @@ auth0 logs streams show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_streams_update.md b/docs/auth0_logs_streams_update.md index 0a15b1345..21e74d604 100644 --- a/docs/auth0_logs_streams_update.md +++ b/docs/auth0_logs_streams_update.md @@ -48,8 +48,7 @@ auth0 logs streams update -n myeventbridge -t eventbridge ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_logs_tail.md b/docs/auth0_logs_tail.md index d3d4d26c6..36e675589 100644 --- a/docs/auth0_logs_tail.md +++ b/docs/auth0_logs_tail.md @@ -38,8 +38,7 @@ auth0 logs tail -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs.md b/docs/auth0_orgs.md index a20f496ce..8e00b3e7c 100644 --- a/docs/auth0_orgs.md +++ b/docs/auth0_orgs.md @@ -19,8 +19,7 @@ Manage resources for organizations. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_create.md b/docs/auth0_orgs_create.md index 0d9b9b96e..677cf0072 100644 --- a/docs/auth0_orgs_create.md +++ b/docs/auth0_orgs_create.md @@ -39,8 +39,7 @@ auth0 orgs create -n myorganization -d "My Organization" -m "KEY=value" -m "OTHE ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_delete.md b/docs/auth0_orgs_delete.md index bcd357370..83511a5f5 100644 --- a/docs/auth0_orgs_delete.md +++ b/docs/auth0_orgs_delete.md @@ -23,15 +23,15 @@ auth0 orgs delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_list.md b/docs/auth0_orgs_list.md index 5d4018316..b07767566 100644 --- a/docs/auth0_orgs_list.md +++ b/docs/auth0_orgs_list.md @@ -33,8 +33,7 @@ auth0 orgs ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_members.md b/docs/auth0_orgs_members.md index db24ed7f0..5d4af6760 100644 --- a/docs/auth0_orgs_members.md +++ b/docs/auth0_orgs_members.md @@ -19,8 +19,7 @@ Manage members of an organization. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_members_list.md b/docs/auth0_orgs_members_list.md index 66e406629..f676ae991 100644 --- a/docs/auth0_orgs_members_list.md +++ b/docs/auth0_orgs_members_list.md @@ -31,8 +31,7 @@ auth0 orgs members ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_open.md b/docs/auth0_orgs_open.md index c7f500505..9710ace3a 100644 --- a/docs/auth0_orgs_open.md +++ b/docs/auth0_orgs_open.md @@ -29,8 +29,7 @@ auth0 orgs open ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_roles.md b/docs/auth0_orgs_roles.md index 1b1faf80f..6b4a6c302 100644 --- a/docs/auth0_orgs_roles.md +++ b/docs/auth0_orgs_roles.md @@ -19,8 +19,7 @@ Manage roles of an organization. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_roles_list.md b/docs/auth0_orgs_roles_list.md index 3ffd8f11c..3ad6810e2 100644 --- a/docs/auth0_orgs_roles_list.md +++ b/docs/auth0_orgs_roles_list.md @@ -31,8 +31,7 @@ auth0 orgs roles ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_roles_members.md b/docs/auth0_orgs_roles_members.md index 886907ebd..fb0f8fb71 100644 --- a/docs/auth0_orgs_roles_members.md +++ b/docs/auth0_orgs_roles_members.md @@ -19,8 +19,7 @@ Manage roles assigned to members of an organization. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_roles_members_list.md b/docs/auth0_orgs_roles_members_list.md index 79648335b..275c569a8 100644 --- a/docs/auth0_orgs_roles_members_list.md +++ b/docs/auth0_orgs_roles_members_list.md @@ -32,8 +32,7 @@ auth0 orgs roles members list --role-id role ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_show.md b/docs/auth0_orgs_show.md index 3183a986b..a0bcf6bfd 100644 --- a/docs/auth0_orgs_show.md +++ b/docs/auth0_orgs_show.md @@ -30,8 +30,7 @@ auth0 orgs show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_orgs_update.md b/docs/auth0_orgs_update.md index ebb3653f2..b96cf1736 100644 --- a/docs/auth0_orgs_update.md +++ b/docs/auth0_orgs_update.md @@ -37,8 +37,7 @@ auth0 orgs update -d "My Organization" -m "KEY=value" -m "OTHER_KEY=other_v ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection.md b/docs/auth0_protection.md index 65248ba83..c292b11f8 100644 --- a/docs/auth0_protection.md +++ b/docs/auth0_protection.md @@ -19,8 +19,7 @@ Manage resources for attack protection. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_breached-password-detection.md b/docs/auth0_protection_breached-password-detection.md index 3f6e218da..d18416123 100644 --- a/docs/auth0_protection_breached-password-detection.md +++ b/docs/auth0_protection_breached-password-detection.md @@ -19,8 +19,7 @@ Manage breached password detection settings. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_breached-password-detection_show.md b/docs/auth0_protection_breached-password-detection_show.md index e6244fba8..1f90af49d 100644 --- a/docs/auth0_protection_breached-password-detection_show.md +++ b/docs/auth0_protection_breached-password-detection_show.md @@ -29,8 +29,7 @@ auth0 protection breached-password-detection show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_breached-password-detection_update.md b/docs/auth0_protection_breached-password-detection_update.md index f94a3e986..5bb8ebc38 100644 --- a/docs/auth0_protection_breached-password-detection_update.md +++ b/docs/auth0_protection_breached-password-detection_update.md @@ -33,8 +33,7 @@ auth0 protection breached-password-detection update ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_brute-force-protection.md b/docs/auth0_protection_brute-force-protection.md index a43b9e148..01308bc84 100644 --- a/docs/auth0_protection_brute-force-protection.md +++ b/docs/auth0_protection_brute-force-protection.md @@ -19,8 +19,7 @@ Manage brute force protection settings. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_brute-force-protection_show.md b/docs/auth0_protection_brute-force-protection_show.md index 51210d11f..ba9be12d7 100644 --- a/docs/auth0_protection_brute-force-protection_show.md +++ b/docs/auth0_protection_brute-force-protection_show.md @@ -29,8 +29,7 @@ auth0 protection brute-force-protection show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_brute-force-protection_update.md b/docs/auth0_protection_brute-force-protection_update.md index 6a41589d1..e5efe5484 100644 --- a/docs/auth0_protection_brute-force-protection_update.md +++ b/docs/auth0_protection_brute-force-protection_update.md @@ -34,8 +34,7 @@ auth0 protection brute-force-protection update ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_suspicious-ip-throttling.md b/docs/auth0_protection_suspicious-ip-throttling.md index 1c52177ba..4dbc70024 100644 --- a/docs/auth0_protection_suspicious-ip-throttling.md +++ b/docs/auth0_protection_suspicious-ip-throttling.md @@ -19,8 +19,7 @@ Manage suspicious ip throttling settings. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_suspicious-ip-throttling_show.md b/docs/auth0_protection_suspicious-ip-throttling_show.md index a9c5ea276..d460759df 100644 --- a/docs/auth0_protection_suspicious-ip-throttling_show.md +++ b/docs/auth0_protection_suspicious-ip-throttling_show.md @@ -29,8 +29,7 @@ auth0 protection suspicious-ip-throttling show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_protection_suspicious-ip-throttling_update.md b/docs/auth0_protection_suspicious-ip-throttling_update.md index afe38bca6..28172c9d2 100644 --- a/docs/auth0_protection_suspicious-ip-throttling_update.md +++ b/docs/auth0_protection_suspicious-ip-throttling_update.md @@ -36,8 +36,7 @@ auth0 protection suspicious-ip-throttling update ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_quickstarts.md b/docs/auth0_quickstarts.md index 9b8bf09ab..2afbbf00c 100644 --- a/docs/auth0_quickstarts.md +++ b/docs/auth0_quickstarts.md @@ -19,8 +19,7 @@ Quickstart support for getting bootstrapped. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_quickstarts_download.md b/docs/auth0_quickstarts_download.md index e770a2f33..1ec24399f 100644 --- a/docs/auth0_quickstarts_download.md +++ b/docs/auth0_quickstarts_download.md @@ -23,6 +23,7 @@ auth0 qs download --stack ### Options ``` + --force Skip confirmation. -h, --help help for download -s, --stack string Tech/Language of the quickstart sample to download. ``` @@ -31,8 +32,7 @@ auth0 qs download --stack ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_quickstarts_list.md b/docs/auth0_quickstarts_list.md index 0b5d52a2d..1d41af33a 100644 --- a/docs/auth0_quickstarts_list.md +++ b/docs/auth0_quickstarts_list.md @@ -32,8 +32,7 @@ auth0 qs ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles.md b/docs/auth0_roles.md index 4a84b6070..7bfcfbd38 100644 --- a/docs/auth0_roles.md +++ b/docs/auth0_roles.md @@ -19,8 +19,7 @@ Manage resources for roles. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_create.md b/docs/auth0_roles_create.md index 91970b29c..926e64421 100644 --- a/docs/auth0_roles_create.md +++ b/docs/auth0_roles_create.md @@ -33,8 +33,7 @@ auth0 roles create -n myrole --description "awesome role" ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_delete.md b/docs/auth0_roles_delete.md index 2819abc76..7c5b53f8f 100644 --- a/docs/auth0_roles_delete.md +++ b/docs/auth0_roles_delete.md @@ -23,15 +23,15 @@ auth0 roles delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_list.md b/docs/auth0_roles_list.md index 30235193c..b06ac4ac1 100644 --- a/docs/auth0_roles_list.md +++ b/docs/auth0_roles_list.md @@ -33,8 +33,7 @@ auth0 roles ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_permissions.md b/docs/auth0_roles_permissions.md index 0483d0cd1..92d14ff04 100644 --- a/docs/auth0_roles_permissions.md +++ b/docs/auth0_roles_permissions.md @@ -19,8 +19,7 @@ Manage permissions within the role resource. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_permissions_add.md b/docs/auth0_roles_permissions_add.md index df766c5ad..e4356b638 100644 --- a/docs/auth0_roles_permissions_add.md +++ b/docs/auth0_roles_permissions_add.md @@ -35,8 +35,7 @@ auth0 roles permissions add ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_permissions_list.md b/docs/auth0_roles_permissions_list.md index 18b92ff0e..11a87fc02 100644 --- a/docs/auth0_roles_permissions_list.md +++ b/docs/auth0_roles_permissions_list.md @@ -31,8 +31,7 @@ auth0 roles permissions ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_permissions_remove.md b/docs/auth0_roles_permissions_remove.md index 254027823..1544d1674 100644 --- a/docs/auth0_roles_permissions_remove.md +++ b/docs/auth0_roles_permissions_remove.md @@ -35,8 +35,7 @@ auth0 roles permissions rm ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_show.md b/docs/auth0_roles_show.md index 64b20b032..b3ead0438 100644 --- a/docs/auth0_roles_show.md +++ b/docs/auth0_roles_show.md @@ -30,8 +30,7 @@ auth0 roles show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_roles_update.md b/docs/auth0_roles_update.md index 18697bae4..37f369b7a 100644 --- a/docs/auth0_roles_update.md +++ b/docs/auth0_roles_update.md @@ -33,8 +33,7 @@ auth0 roles update -n myrole --description "awesome role" ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules.md b/docs/auth0_rules.md index b16da524d..1e727ec3f 100644 --- a/docs/auth0_rules.md +++ b/docs/auth0_rules.md @@ -19,8 +19,7 @@ Manage resources for rules. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_create.md b/docs/auth0_rules_create.md index 4abbbc7b3..6955d9c3a 100644 --- a/docs/auth0_rules_create.md +++ b/docs/auth0_rules_create.md @@ -35,8 +35,7 @@ auth0 rules create -n "My Rule" -t "Empty rule" --enabled=false ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_delete.md b/docs/auth0_rules_delete.md index d9dc7ef27..0fe41ba5a 100644 --- a/docs/auth0_rules_delete.md +++ b/docs/auth0_rules_delete.md @@ -23,15 +23,15 @@ auth0 rules delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_disable.md b/docs/auth0_rules_disable.md index b37a0e4cf..1ca768d53 100644 --- a/docs/auth0_rules_disable.md +++ b/docs/auth0_rules_disable.md @@ -29,8 +29,7 @@ auth0 rules disable ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_enable.md b/docs/auth0_rules_enable.md index d95670de4..30f58ada1 100644 --- a/docs/auth0_rules_enable.md +++ b/docs/auth0_rules_enable.md @@ -29,8 +29,7 @@ auth0 rules enable ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_list.md b/docs/auth0_rules_list.md index 32e540c78..bbb0a8bd4 100644 --- a/docs/auth0_rules_list.md +++ b/docs/auth0_rules_list.md @@ -31,8 +31,7 @@ auth0 rules ls ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_show.md b/docs/auth0_rules_show.md index df982beb5..837d32f46 100644 --- a/docs/auth0_rules_show.md +++ b/docs/auth0_rules_show.md @@ -30,8 +30,7 @@ auth0 rules show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_rules_update.md b/docs/auth0_rules_update.md index 51f5a8e43..e638bf115 100644 --- a/docs/auth0_rules_update.md +++ b/docs/auth0_rules_update.md @@ -33,8 +33,7 @@ auth0 rules update -n "My Updated Rule" --enabled=false ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_tenants.md b/docs/auth0_tenants.md index ac3f80706..56be1080a 100644 --- a/docs/auth0_tenants.md +++ b/docs/auth0_tenants.md @@ -19,8 +19,7 @@ Manage configured tenants. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_tenants_add.md b/docs/auth0_tenants_add.md index c908c9513..a8d7ffe68 100644 --- a/docs/auth0_tenants_add.md +++ b/docs/auth0_tenants_add.md @@ -29,8 +29,7 @@ auth0 tenants add --client-id --client-secret ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_tenants_list.md b/docs/auth0_tenants_list.md index 9e1c1f345..c41482cba 100644 --- a/docs/auth0_tenants_list.md +++ b/docs/auth0_tenants_list.md @@ -29,8 +29,7 @@ auth0 tenants list ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_tenants_open.md b/docs/auth0_tenants_open.md index dd3b52832..8451a99dc 100644 --- a/docs/auth0_tenants_open.md +++ b/docs/auth0_tenants_open.md @@ -29,8 +29,7 @@ auth0 tenants open ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_tenants_use.md b/docs/auth0_tenants_use.md index a0a445d8a..f6aa59b85 100644 --- a/docs/auth0_tenants_use.md +++ b/docs/auth0_tenants_use.md @@ -29,8 +29,7 @@ auth0 tenants use ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_test.md b/docs/auth0_test.md index df24f8684..b098939e3 100644 --- a/docs/auth0_test.md +++ b/docs/auth0_test.md @@ -19,8 +19,7 @@ Try your Universal Login box or get a token. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_test_login.md b/docs/auth0_test_login.md index ecb3707f1..5646aa7d7 100644 --- a/docs/auth0_test_login.md +++ b/docs/auth0_test_login.md @@ -27,6 +27,7 @@ auth0 test login --connection -a, --audience string The unique identifier of the target API you want to access. --connection string Connection to test during login. -d, --domain string One of your custom domains. + --force Skip confirmation. -h, --help help for login -s, --scopes strings The list of scopes you want to use. (default [openid,profile]) ``` @@ -35,8 +36,7 @@ auth0 test login --connection ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_test_token.md b/docs/auth0_test_token.md index edf20b4e6..d5754eee1 100644 --- a/docs/auth0_test_token.md +++ b/docs/auth0_test_token.md @@ -27,6 +27,7 @@ auth0 test token --client-id --audience --scopes ``` -a, --audience string The unique identifier of the target API you want to access. -c, --client-id string Client Id of an Auth0 application. + --force Skip confirmation. -h, --help help for token -s, --scopes strings The list of scopes you want to use. ``` @@ -35,8 +36,7 @@ auth0 test token --client-id --audience --scopes ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users.md b/docs/auth0_users.md index 988bbd87b..cf367c234 100644 --- a/docs/auth0_users.md +++ b/docs/auth0_users.md @@ -19,8 +19,7 @@ Manage resources for users. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_blocks.md b/docs/auth0_users_blocks.md index d3952de7d..06046c121 100644 --- a/docs/auth0_users_blocks.md +++ b/docs/auth0_users_blocks.md @@ -19,8 +19,7 @@ Manage brute-force protection user blocks. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_blocks_list.md b/docs/auth0_users_blocks_list.md index 080123ca1..a56065fb7 100644 --- a/docs/auth0_users_blocks_list.md +++ b/docs/auth0_users_blocks_list.md @@ -29,8 +29,7 @@ auth0 users blocks list ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_create.md b/docs/auth0_users_create.md index 65022e00c..be6eeaaf6 100644 --- a/docs/auth0_users_create.md +++ b/docs/auth0_users_create.md @@ -37,8 +37,7 @@ auth0 users create -n "John Doe" -e john@example.com --connection "Username-Pass ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_delete.md b/docs/auth0_users_delete.md index cb4805a06..925c277df 100644 --- a/docs/auth0_users_delete.md +++ b/docs/auth0_users_delete.md @@ -23,15 +23,15 @@ auth0 users delete ### Options ``` - -h, --help help for delete + --force Skip confirmation. + -h, --help help for delete ``` ### Options inherited from parent commands ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_import.md b/docs/auth0_users_import.md index e12132db7..8d7199bb8 100644 --- a/docs/auth0_users_import.md +++ b/docs/auth0_users_import.md @@ -38,8 +38,7 @@ auth0 users import -c "Username-Password-Authentication" -t "Basic Example" --up ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_open.md b/docs/auth0_users_open.md index 2f834b4b3..1c089025a 100644 --- a/docs/auth0_users_open.md +++ b/docs/auth0_users_open.md @@ -30,8 +30,7 @@ auth0 users open "auth0|xxxxxxxxxx" ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_search.md b/docs/auth0_users_search.md index beb18955c..2473e1ea7 100644 --- a/docs/auth0_users_search.md +++ b/docs/auth0_users_search.md @@ -35,8 +35,7 @@ auth0 users search -q name -s "name:1" ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_show.md b/docs/auth0_users_show.md index 5bf1d92a5..5b8150452 100644 --- a/docs/auth0_users_show.md +++ b/docs/auth0_users_show.md @@ -30,8 +30,7 @@ auth0 users show ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_unblock.md b/docs/auth0_users_unblock.md index 6a410a0cc..1e289e77e 100644 --- a/docs/auth0_users_unblock.md +++ b/docs/auth0_users_unblock.md @@ -29,8 +29,7 @@ auth0 users unblock ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/auth0_users_update.md b/docs/auth0_users_update.md index 83504fdb1..890865edd 100644 --- a/docs/auth0_users_update.md +++ b/docs/auth0_users_update.md @@ -36,8 +36,7 @@ auth0 users update -n John Doe --email john.doe@example.com ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/docs/index.md b/docs/index.md index d764117f7..39bd2e575 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,9 +9,8 @@ Supercharge your development workflow. ``` --debug Enable debug mode. - --force Skip confirmation. - --format string Command output format. Options: json. -h, --help help for auth0 + --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. --tenant string Specific tenant to use. diff --git a/internal/cli/actions.go b/internal/cli/actions.go index ce54cf28e..e477fc808 100644 --- a/internal/cli/actions.go +++ b/internal/cli/actions.go @@ -405,6 +405,13 @@ auth0 actions delete `, }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } @@ -479,6 +486,11 @@ func openActionCmd(cli *cli) *cobra.Command { }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + return cmd } diff --git a/internal/cli/api.go b/internal/cli/api.go index 6fb310ef4..665210664 100644 --- a/internal/cli/api.go +++ b/internal/cli/api.go @@ -95,10 +95,12 @@ cat data.json | auth0 api post clients`, } cmd.SetHelpFunc(func(command *cobra.Command, strings []string) { - command.Flags().MarkHidden("format") + command.Flags().MarkHidden("json") command.Parent().HelpFunc()(command, strings) }) + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation when using the delete method.") + apiFlags.Data.RegisterString(cmd, &inputs.RawData, "") apiFlags.QueryParams.RegisterStringMap(cmd, &inputs.RawQueryParams, nil) diff --git a/internal/cli/apis.go b/internal/cli/apis.go index 0dea33fca..b058d876c 100644 --- a/internal/cli/apis.go +++ b/internal/cli/apis.go @@ -401,6 +401,13 @@ auth0 apis delete `, }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } @@ -450,6 +457,11 @@ auth0 apis open `, }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + return cmd } diff --git a/internal/cli/apps.go b/internal/cli/apps.go index 5918dec6e..01f6921c5 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -188,7 +188,13 @@ func useAppCmd(cli *cli) *cobra.Command { }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + appNone.RegisterBool(cmd, &inputs.None, false) + return cmd } @@ -324,6 +330,13 @@ auth0 apps delete `, }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } @@ -703,6 +716,11 @@ func openAppCmd(cli *cli) *cobra.Command { }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + return cmd } diff --git a/internal/cli/branding.go b/internal/cli/branding.go index cc822d9eb..5010123be 100644 --- a/internal/cli/branding.go +++ b/internal/cli/branding.go @@ -84,9 +84,8 @@ func brandingCmd(cli *cli) *cobra.Command { cmd.AddCommand(showBrandingCmd(cli)) cmd.AddCommand(updateBrandingCmd(cli)) cmd.AddCommand(templateCmd(cli)) - cmd.AddCommand(customDomainsCmd(cli)) - cmd.AddCommand(emailTemplateCmd(cli)) cmd.AddCommand(textsCmd(cli)) + return cmd } @@ -118,19 +117,6 @@ Once you close the window, you’ll be asked if you want to save the template. I return cmd } -func emailTemplateCmd(cli *cli) *cobra.Command { - cmd := &cobra.Command{ - Use: "emails", - Short: "Manage custom email templates", - Long: "Manage custom email templates. This requires a custom email provider to be configured for the tenant.", - } - - cmd.SetUsageTemplate(resourceUsageTemplate()) - cmd.AddCommand(showEmailTemplateCmd(cli)) - cmd.AddCommand(updateEmailTemplateCmd(cli)) - return cmd -} - func showBrandingCmd(cli *cli) *cobra.Command { cmd := &cobra.Command{ Use: "show", diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 809678f26..116688ecb 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -70,24 +70,25 @@ var errUnauthenticated = errors.New("Not logged in. Try 'auth0 login'.") // // In addition, it stores a reference to all the flags passed, e.g.: // -// 1. --format +// 1. --json // 2. --tenant // 3. --debug. type cli struct { - // core primitives exposed to command builders. + // Core primitives exposed to command builders. api *auth0.API authenticator *auth.Authenticator renderer *display.Renderer tracker *analytics.Tracker - // set of flags which are user specified. + + // Set of flags which are user specified. debug bool tenant string - format string + json bool force bool noInput bool noColor bool - // config state management. + // Config state management. initOnce sync.Once errOnce error path string @@ -447,30 +448,23 @@ func (c *cli) persistConfig() error { func (c *cli) init() error { c.initOnce.Do(func() { - // Initialize the context -- e.g. the configuration - // information, tenants, etc. if c.errOnce = c.initContext(); c.errOnce != nil { return } + c.renderer.Tenant = c.tenant cobra.EnableCommandSorting = false }) - // Determine what the desired output format is. - // - // NOTE(cyx): Since this isn't expensive to do, we don't need to put it - // inside initOnce. - format := strings.ToLower(c.format) - if format != "" && format != string(display.OutputFormatJSON) { - return fmt.Errorf("Invalid format. Use `--format=json` or omit this option to use the default format.") + if c.json { + c.renderer.Format = display.OutputFormatJSON } - c.renderer.Format = display.OutputFormat(format) c.renderer.Tenant = c.tenant - // Once initialized, we'll keep returning the same err that was - // originally encountered. + // Once initialized, we'll keep returning the + // same err that was originally encountered. return c.errOnce } diff --git a/internal/cli/custom_domains.go b/internal/cli/custom_domains.go index aeb047dcf..f7057e131 100644 --- a/internal/cli/custom_domains.go +++ b/internal/cli/custom_domains.go @@ -95,9 +95,9 @@ func listCustomDomainsCmd(cli *cli) *cobra.Command { Args: cobra.NoArgs, Short: "List your custom domains", Long: `List your existing custom domains. To create one try: -auth0 branding domains create`, - Example: `auth0 branding domains list -auth0 branding domains ls`, +auth0 domains create`, + Example: `auth0 domains list +auth0 domains ls`, RunE: func(cmd *cobra.Command, args []string) error { var list []*management.CustomDomain @@ -127,8 +127,8 @@ func showCustomDomainCmd(cli *cli) *cobra.Command { Args: cobra.MaximumNArgs(1), Short: "Show a custom domain", Long: "Show a custom domain.", - Example: `auth0 branding domains show -auth0 branding domains show `, + Example: `auth0 domains show +auth0 domains show `, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { err := customDomainID.Pick(cmd, &inputs.ID, cli.customDomainsPickerOptions) @@ -171,8 +171,8 @@ func createCustomDomainCmd(cli *cli) *cobra.Command { Args: cobra.NoArgs, Short: "Create a custom domain", Long: "Create a custom domain.", - Example: `auth0 branding domains create -auth0 branding domains create `, + Example: `auth0 domains create +auth0 domains create `, RunE: func(cmd *cobra.Command, args []string) error { if err := customDomainDomain.Ask(cmd, &inputs.Domain, nil); err != nil { return err @@ -232,9 +232,9 @@ func updateCustomDomainCmd(cli *cli) *cobra.Command { Args: cobra.MaximumNArgs(1), Short: "Update a custom domain", Long: "Update a custom domain.", - Example: `auth0 branding domains update -auth0 branding domains update --policy compatible -auth0 branding domains update -p compatible --ip-header "cf-connecting-ip"`, + Example: `auth0 domains update +auth0 domains update --policy compatible +auth0 domains update -p compatible --ip-header "cf-connecting-ip"`, RunE: func(cmd *cobra.Command, args []string) error { var current *management.CustomDomain @@ -308,8 +308,8 @@ func deleteCustomDomainCmd(cli *cli) *cobra.Command { Args: cobra.MaximumNArgs(1), Short: "Delete a custom domain", Long: "Delete a custom domain.", - Example: `auth0 branding domains delete -auth0 branding domains delete `, + Example: `auth0 domains delete +auth0 domains delete `, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { err := customDomainID.Pick(cmd, &inputs.ID, cli.customDomainsPickerOptions) @@ -338,6 +338,13 @@ auth0 branding domains delete `, }, } + cmd.SetHelpFunc(func(cmd *cobra.Command, args []string) { + _ = cmd.Flags().MarkHidden("json") + cmd.Parent().HelpFunc()(cmd, args) + }) + + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } @@ -351,8 +358,8 @@ func verifyCustomDomainCmd(cli *cli) *cobra.Command { Args: cobra.MaximumNArgs(1), Short: "Verify a custom domain", Long: "Verify a custom domain.", - Example: `auth0 branding domains verify -auth0 branding domains verify `, + Example: `auth0 domains verify +auth0 domains verify `, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { err := customDomainID.Pick(cmd, &inputs.ID, cli.customDomainsPickerOptions) diff --git a/internal/cli/email.go b/internal/cli/email.go new file mode 100644 index 000000000..3206c8da6 --- /dev/null +++ b/internal/cli/email.go @@ -0,0 +1,17 @@ +package cli + +import ( + "github.com/spf13/cobra" +) + +func emailCmd(cli *cli) *cobra.Command { + cmd := &cobra.Command{ + Use: "email", + Short: "Manage email settings", + Long: "Manage email settings.", + } + + cmd.AddCommand(emailTemplateCmd(cli)) + + return cmd +} diff --git a/internal/cli/email_templates.go b/internal/cli/email_templates.go index 951178c0e..ab05228f0 100644 --- a/internal/cli/email_templates.go +++ b/internal/cli/email_templates.go @@ -96,6 +96,19 @@ var ( } ) +func emailTemplateCmd(cli *cli) *cobra.Command { + cmd := &cobra.Command{ + Use: "templates", + Short: "Manage custom email templates", + Long: "Manage custom email templates. This requires a custom email provider to be configured for the tenant.", + } + + cmd.SetUsageTemplate(resourceUsageTemplate()) + cmd.AddCommand(showEmailTemplateCmd(cli)) + cmd.AddCommand(updateEmailTemplateCmd(cli)) + return cmd +} + func showEmailTemplateCmd(cli *cli) *cobra.Command { var inputs struct { Template string @@ -106,8 +119,8 @@ func showEmailTemplateCmd(cli *cli) *cobra.Command { Args: cobra.MaximumNArgs(1), Short: "Show an email template", Long: "Show an email template.", - Example: `auth0 branding emails show