diff --git a/docs/auth0_actions.md b/docs/auth0_actions.md index 34a0f10f8..ebd9e2676 100644 --- a/docs/auth0_actions.md +++ b/docs/auth0_actions.md @@ -20,7 +20,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..a3235bfc8 100644 --- a/docs/auth0_actions_create.md +++ b/docs/auth0_actions_create.md @@ -39,7 +39,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..7ca9128eb 100644 --- a/docs/auth0_actions_delete.md +++ b/docs/auth0_actions_delete.md @@ -31,7 +31,7 @@ auth0 actions delete ``` --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..d3c3a8ebd 100644 --- a/docs/auth0_actions_deploy.md +++ b/docs/auth0_actions_deploy.md @@ -31,7 +31,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..3c8e86f46 100644 --- a/docs/auth0_actions_list.md +++ b/docs/auth0_actions_list.md @@ -32,7 +32,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..6ad633ebd 100644 --- a/docs/auth0_actions_open.md +++ b/docs/auth0_actions_open.md @@ -30,7 +30,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..430a86699 100644 --- a/docs/auth0_actions_show.md +++ b/docs/auth0_actions_show.md @@ -31,7 +31,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..2ad6c0750 100644 --- a/docs/auth0_actions_update.md +++ b/docs/auth0_actions_update.md @@ -39,7 +39,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..8b76b371e 100644 --- a/docs/auth0_api.md +++ b/docs/auth0_api.md @@ -43,7 +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..95f2be557 100644 --- a/docs/auth0_apis.md +++ b/docs/auth0_apis.md @@ -20,7 +20,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..9df5539be 100644 --- a/docs/auth0_apis_create.md +++ b/docs/auth0_apis_create.md @@ -39,7 +39,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..dd676b7da 100644 --- a/docs/auth0_apis_delete.md +++ b/docs/auth0_apis_delete.md @@ -31,7 +31,7 @@ auth0 apis delete ``` --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..0d2b0e01f 100644 --- a/docs/auth0_apis_list.md +++ b/docs/auth0_apis_list.md @@ -34,7 +34,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..91210ed21 100644 --- a/docs/auth0_apis_open.md +++ b/docs/auth0_apis_open.md @@ -31,7 +31,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..7fae6389c 100644 --- a/docs/auth0_apis_scopes.md +++ b/docs/auth0_apis_scopes.md @@ -20,7 +20,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..087f6c268 100644 --- a/docs/auth0_apis_scopes_list.md +++ b/docs/auth0_apis_scopes_list.md @@ -31,7 +31,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..838979675 100644 --- a/docs/auth0_apis_show.md +++ b/docs/auth0_apis_show.md @@ -31,7 +31,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..2ed408667 100644 --- a/docs/auth0_apis_update.md +++ b/docs/auth0_apis_update.md @@ -38,7 +38,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..74cf307b8 100644 --- a/docs/auth0_apps.md +++ b/docs/auth0_apps.md @@ -20,7 +20,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..c80fb0ec3 100644 --- a/docs/auth0_apps_create.md +++ b/docs/auth0_apps_create.md @@ -47,7 +47,7 @@ auth0 apps create -n myapp -t [native|spa|regular|m2m] --description ``` --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..ef77e1987 100644 --- a/docs/auth0_apps_list.md +++ b/docs/auth0_apps_list.md @@ -35,7 +35,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..c5d9bddf3 100644 --- a/docs/auth0_apps_open.md +++ b/docs/auth0_apps_open.md @@ -30,7 +30,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..6b7e8462c 100644 --- a/docs/auth0_apps_show.md +++ b/docs/auth0_apps_show.md @@ -32,7 +32,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..9031ce462 100644 --- a/docs/auth0_apps_update.md +++ b/docs/auth0_apps_update.md @@ -46,7 +46,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..416504769 100644 --- a/docs/auth0_apps_use.md +++ b/docs/auth0_apps_use.md @@ -31,7 +31,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..1aaceccec 100644 --- a/docs/auth0_branding.md +++ b/docs/auth0_branding.md @@ -20,7 +20,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..c7e9ae8fb 100644 --- a/docs/auth0_branding_domains.md +++ b/docs/auth0_branding_domains.md @@ -20,7 +20,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..4150749b3 100644 --- a/docs/auth0_branding_domains_create.md +++ b/docs/auth0_branding_domains_create.md @@ -36,7 +36,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..ca2a4f4bc 100644 --- a/docs/auth0_branding_domains_delete.md +++ b/docs/auth0_branding_domains_delete.md @@ -31,7 +31,7 @@ auth0 branding domains delete ``` --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..9a0607f33 100644 --- a/docs/auth0_branding_domains_list.md +++ b/docs/auth0_branding_domains_list.md @@ -32,7 +32,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..3ffc345db 100644 --- a/docs/auth0_branding_domains_show.md +++ b/docs/auth0_branding_domains_show.md @@ -31,7 +31,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..32e98c733 100644 --- a/docs/auth0_branding_domains_update.md +++ b/docs/auth0_branding_domains_update.md @@ -34,7 +34,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..c8afc54fe 100644 --- a/docs/auth0_branding_domains_verify.md +++ b/docs/auth0_branding_domains_verify.md @@ -31,7 +31,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..1ab143405 100644 --- a/docs/auth0_branding_emails.md +++ b/docs/auth0_branding_emails.md @@ -20,7 +20,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..c731e3e61 100644 --- a/docs/auth0_branding_emails_show.md +++ b/docs/auth0_branding_emails_show.md @@ -31,7 +31,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..168311ab4 100644 --- a/docs/auth0_branding_emails_update.md +++ b/docs/auth0_branding_emails_update.md @@ -37,7 +37,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..d2b9bea0a 100644 --- a/docs/auth0_branding_show.md +++ b/docs/auth0_branding_show.md @@ -30,7 +30,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..03bba2464 100644 --- a/docs/auth0_branding_templates.md +++ b/docs/auth0_branding_templates.md @@ -35,7 +35,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..caccd3cb8 100644 --- a/docs/auth0_branding_templates_show.md +++ b/docs/auth0_branding_templates_show.md @@ -30,7 +30,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..a72a984ee 100644 --- a/docs/auth0_branding_templates_update.md +++ b/docs/auth0_branding_templates_update.md @@ -30,7 +30,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..04c894901 100644 --- a/docs/auth0_branding_texts.md +++ b/docs/auth0_branding_texts.md @@ -20,7 +20,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..a48fe5ff0 100644 --- a/docs/auth0_branding_texts_show.md +++ b/docs/auth0_branding_texts_show.md @@ -33,7 +33,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..ea8cf5214 100644 --- a/docs/auth0_branding_texts_update.md +++ b/docs/auth0_branding_texts_update.md @@ -33,7 +33,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..8a1c5bc70 100644 --- a/docs/auth0_branding_update.md +++ b/docs/auth0_branding_update.md @@ -37,7 +37,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..c6aafc54e 100644 --- a/docs/auth0_completion.md +++ b/docs/auth0_completion.md @@ -64,7 +64,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..56c3127e8 100644 --- a/docs/auth0_ips.md +++ b/docs/auth0_ips.md @@ -20,7 +20,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..64e86f1c7 100644 --- a/docs/auth0_ips_check.md +++ b/docs/auth0_ips_check.md @@ -30,7 +30,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..c387f7a5a 100644 --- a/docs/auth0_ips_unblock.md +++ b/docs/auth0_ips_unblock.md @@ -30,7 +30,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..7a3b56a27 100644 --- a/docs/auth0_login.md +++ b/docs/auth0_login.md @@ -24,7 +24,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..590abef3a 100644 --- a/docs/auth0_logout.md +++ b/docs/auth0_logout.md @@ -30,7 +30,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..5a7ce0053 100644 --- a/docs/auth0_logs.md +++ b/docs/auth0_logs.md @@ -20,7 +20,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..f385466e7 100644 --- a/docs/auth0_logs_list.md +++ b/docs/auth0_logs_list.md @@ -39,7 +39,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..b398cdae1 100644 --- a/docs/auth0_logs_streams.md +++ b/docs/auth0_logs_streams.md @@ -20,7 +20,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..af900a836 100644 --- a/docs/auth0_logs_streams_create.md +++ b/docs/auth0_logs_streams_create.md @@ -53,7 +53,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..c550db555 100644 --- a/docs/auth0_logs_streams_delete.md +++ b/docs/auth0_logs_streams_delete.md @@ -31,7 +31,7 @@ auth0 logs streams delete ``` --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..22dbfee32 100644 --- a/docs/auth0_logs_streams_list.md +++ b/docs/auth0_logs_streams_list.md @@ -32,7 +32,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..a518c229d 100644 --- a/docs/auth0_logs_streams_open.md +++ b/docs/auth0_logs_streams_open.md @@ -30,7 +30,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..3909626c8 100644 --- a/docs/auth0_logs_streams_show.md +++ b/docs/auth0_logs_streams_show.md @@ -31,7 +31,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..8cdf5deb6 100644 --- a/docs/auth0_logs_streams_update.md +++ b/docs/auth0_logs_streams_update.md @@ -49,7 +49,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..f56f4255b 100644 --- a/docs/auth0_logs_tail.md +++ b/docs/auth0_logs_tail.md @@ -39,7 +39,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..ea8e97e45 100644 --- a/docs/auth0_orgs.md +++ b/docs/auth0_orgs.md @@ -20,7 +20,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..004fe9af9 100644 --- a/docs/auth0_orgs_create.md +++ b/docs/auth0_orgs_create.md @@ -40,7 +40,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..24ae6009a 100644 --- a/docs/auth0_orgs_delete.md +++ b/docs/auth0_orgs_delete.md @@ -31,7 +31,7 @@ auth0 orgs delete ``` --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..ea1cc36a8 100644 --- a/docs/auth0_orgs_list.md +++ b/docs/auth0_orgs_list.md @@ -34,7 +34,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..12e07ddf6 100644 --- a/docs/auth0_orgs_members.md +++ b/docs/auth0_orgs_members.md @@ -20,7 +20,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..6498b147a 100644 --- a/docs/auth0_orgs_members_list.md +++ b/docs/auth0_orgs_members_list.md @@ -32,7 +32,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..ae73f7e64 100644 --- a/docs/auth0_orgs_open.md +++ b/docs/auth0_orgs_open.md @@ -30,7 +30,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..12855bad9 100644 --- a/docs/auth0_orgs_roles.md +++ b/docs/auth0_orgs_roles.md @@ -20,7 +20,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..ca5a24040 100644 --- a/docs/auth0_orgs_roles_list.md +++ b/docs/auth0_orgs_roles_list.md @@ -32,7 +32,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..edeaf5d4c 100644 --- a/docs/auth0_orgs_roles_members.md +++ b/docs/auth0_orgs_roles_members.md @@ -20,7 +20,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..6f51b4ef3 100644 --- a/docs/auth0_orgs_roles_members_list.md +++ b/docs/auth0_orgs_roles_members_list.md @@ -33,7 +33,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..00d88b320 100644 --- a/docs/auth0_orgs_show.md +++ b/docs/auth0_orgs_show.md @@ -31,7 +31,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..b3f4c6ece 100644 --- a/docs/auth0_orgs_update.md +++ b/docs/auth0_orgs_update.md @@ -38,7 +38,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..5d02f0675 100644 --- a/docs/auth0_protection.md +++ b/docs/auth0_protection.md @@ -20,7 +20,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..dc66363ab 100644 --- a/docs/auth0_protection_breached-password-detection.md +++ b/docs/auth0_protection_breached-password-detection.md @@ -20,7 +20,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..ecbdfbeed 100644 --- a/docs/auth0_protection_breached-password-detection_show.md +++ b/docs/auth0_protection_breached-password-detection_show.md @@ -30,7 +30,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..9bebc9179 100644 --- a/docs/auth0_protection_breached-password-detection_update.md +++ b/docs/auth0_protection_breached-password-detection_update.md @@ -34,7 +34,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..b908fc8ed 100644 --- a/docs/auth0_protection_brute-force-protection.md +++ b/docs/auth0_protection_brute-force-protection.md @@ -20,7 +20,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..c80ccfed8 100644 --- a/docs/auth0_protection_brute-force-protection_show.md +++ b/docs/auth0_protection_brute-force-protection_show.md @@ -30,7 +30,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..9d3f32324 100644 --- a/docs/auth0_protection_brute-force-protection_update.md +++ b/docs/auth0_protection_brute-force-protection_update.md @@ -35,7 +35,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..5ca54d22e 100644 --- a/docs/auth0_protection_suspicious-ip-throttling.md +++ b/docs/auth0_protection_suspicious-ip-throttling.md @@ -20,7 +20,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..e81fd35a3 100644 --- a/docs/auth0_protection_suspicious-ip-throttling_show.md +++ b/docs/auth0_protection_suspicious-ip-throttling_show.md @@ -30,7 +30,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..b9373715e 100644 --- a/docs/auth0_protection_suspicious-ip-throttling_update.md +++ b/docs/auth0_protection_suspicious-ip-throttling_update.md @@ -37,7 +37,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..17011444d 100644 --- a/docs/auth0_quickstarts.md +++ b/docs/auth0_quickstarts.md @@ -20,7 +20,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..49e2d1e56 100644 --- a/docs/auth0_quickstarts_download.md +++ b/docs/auth0_quickstarts_download.md @@ -32,7 +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..d78747771 100644 --- a/docs/auth0_quickstarts_list.md +++ b/docs/auth0_quickstarts_list.md @@ -33,7 +33,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..fa1841967 100644 --- a/docs/auth0_roles.md +++ b/docs/auth0_roles.md @@ -20,7 +20,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..13443280b 100644 --- a/docs/auth0_roles_create.md +++ b/docs/auth0_roles_create.md @@ -34,7 +34,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..a9bf6aa1a 100644 --- a/docs/auth0_roles_delete.md +++ b/docs/auth0_roles_delete.md @@ -31,7 +31,7 @@ auth0 roles delete ``` --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..acda98f81 100644 --- a/docs/auth0_roles_list.md +++ b/docs/auth0_roles_list.md @@ -34,7 +34,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..2f5486e4f 100644 --- a/docs/auth0_roles_permissions.md +++ b/docs/auth0_roles_permissions.md @@ -20,7 +20,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..7c00cd68d 100644 --- a/docs/auth0_roles_permissions_add.md +++ b/docs/auth0_roles_permissions_add.md @@ -36,7 +36,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..e97427b08 100644 --- a/docs/auth0_roles_permissions_list.md +++ b/docs/auth0_roles_permissions_list.md @@ -32,7 +32,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..7903124ff 100644 --- a/docs/auth0_roles_permissions_remove.md +++ b/docs/auth0_roles_permissions_remove.md @@ -36,7 +36,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..7365d50c1 100644 --- a/docs/auth0_roles_show.md +++ b/docs/auth0_roles_show.md @@ -31,7 +31,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..dfe783f3d 100644 --- a/docs/auth0_roles_update.md +++ b/docs/auth0_roles_update.md @@ -34,7 +34,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..be865b464 100644 --- a/docs/auth0_rules.md +++ b/docs/auth0_rules.md @@ -20,7 +20,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..c9f4eb28f 100644 --- a/docs/auth0_rules_create.md +++ b/docs/auth0_rules_create.md @@ -36,7 +36,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..88d100683 100644 --- a/docs/auth0_rules_delete.md +++ b/docs/auth0_rules_delete.md @@ -31,7 +31,7 @@ auth0 rules delete ``` --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..c242402f5 100644 --- a/docs/auth0_rules_disable.md +++ b/docs/auth0_rules_disable.md @@ -30,7 +30,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..9cb248b32 100644 --- a/docs/auth0_rules_enable.md +++ b/docs/auth0_rules_enable.md @@ -30,7 +30,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..6ae0f2a2b 100644 --- a/docs/auth0_rules_list.md +++ b/docs/auth0_rules_list.md @@ -32,7 +32,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..ecc8391a8 100644 --- a/docs/auth0_rules_show.md +++ b/docs/auth0_rules_show.md @@ -31,7 +31,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..9880ea95b 100644 --- a/docs/auth0_rules_update.md +++ b/docs/auth0_rules_update.md @@ -34,7 +34,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..a617a2c30 100644 --- a/docs/auth0_tenants.md +++ b/docs/auth0_tenants.md @@ -20,7 +20,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..37e2fde92 100644 --- a/docs/auth0_tenants_add.md +++ b/docs/auth0_tenants_add.md @@ -30,7 +30,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..f9240b04e 100644 --- a/docs/auth0_tenants_list.md +++ b/docs/auth0_tenants_list.md @@ -30,7 +30,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..8791a0526 100644 --- a/docs/auth0_tenants_open.md +++ b/docs/auth0_tenants_open.md @@ -30,7 +30,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..de0298e34 100644 --- a/docs/auth0_tenants_use.md +++ b/docs/auth0_tenants_use.md @@ -30,7 +30,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..33c53bb81 100644 --- a/docs/auth0_test.md +++ b/docs/auth0_test.md @@ -20,7 +20,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..fa2c9f901 100644 --- a/docs/auth0_test_login.md +++ b/docs/auth0_test_login.md @@ -36,7 +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..5dc6d75e4 100644 --- a/docs/auth0_test_token.md +++ b/docs/auth0_test_token.md @@ -36,7 +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..21b63157b 100644 --- a/docs/auth0_users.md +++ b/docs/auth0_users.md @@ -20,7 +20,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..21c180064 100644 --- a/docs/auth0_users_blocks.md +++ b/docs/auth0_users_blocks.md @@ -20,7 +20,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..f8facca8c 100644 --- a/docs/auth0_users_blocks_list.md +++ b/docs/auth0_users_blocks_list.md @@ -30,7 +30,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..1eaae4b23 100644 --- a/docs/auth0_users_create.md +++ b/docs/auth0_users_create.md @@ -38,7 +38,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..e63cb0968 100644 --- a/docs/auth0_users_delete.md +++ b/docs/auth0_users_delete.md @@ -31,7 +31,7 @@ auth0 users delete ``` --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..9b21e3e49 100644 --- a/docs/auth0_users_import.md +++ b/docs/auth0_users_import.md @@ -39,7 +39,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..547959149 100644 --- a/docs/auth0_users_open.md +++ b/docs/auth0_users_open.md @@ -31,7 +31,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..b76f05ab4 100644 --- a/docs/auth0_users_search.md +++ b/docs/auth0_users_search.md @@ -36,7 +36,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..51f5c0c0c 100644 --- a/docs/auth0_users_show.md +++ b/docs/auth0_users_show.md @@ -31,7 +31,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..1fca3db5d 100644 --- a/docs/auth0_users_unblock.md +++ b/docs/auth0_users_unblock.md @@ -30,7 +30,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..d9084ddcd 100644 --- a/docs/auth0_users_update.md +++ b/docs/auth0_users_update.md @@ -37,7 +37,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..32c536bbf 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,8 +10,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/api.go b/internal/cli/api.go index 08f2da98e..d3498dfbc 100644 --- a/internal/cli/api.go +++ b/internal/cli/api.go @@ -94,7 +94,7 @@ 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) }) diff --git a/internal/cli/cli.go b/internal/cli/cli.go index e082f80ad..e7714fdad 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -70,7 +70,7 @@ 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 { @@ -82,7 +82,7 @@ type cli struct { // set of flags which are user specified. debug bool tenant string - format string + json bool force bool noInput bool noColor bool @@ -439,30 +439,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/root.go b/internal/cli/root.go index 57155c498..910f9cccb 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -151,8 +151,8 @@ func addPersistentFlags(rootCmd *cobra.Command, cli *cli) { rootCmd.PersistentFlags().BoolVar(&cli.debug, "debug", false, "Enable debug mode.") - rootCmd.PersistentFlags().StringVar(&cli.format, - "format", "", "Command output format. Options: json.") + rootCmd.PersistentFlags().BoolVar(&cli.json, + "json", false, "Output in json format.") rootCmd.PersistentFlags().BoolVar(&cli.force, "force", false, "Skip confirmation.") diff --git a/internal/display/display.go b/internal/display/display.go index 146ea3480..934c813c3 100644 --- a/internal/display/display.go +++ b/internal/display/display.go @@ -88,22 +88,23 @@ func (r *Renderer) JSONResult(data interface{}) { } func (r *Renderer) Results(data []View) { - if len(data) > 0 { - switch r.Format { - case OutputFormatJSON: - var list []interface{} - for _, item := range data { - list = append(list, item.Object()) - } - r.JSONResult(list) + if len(data) == 0 { + return + } - default: - rows := make([][]string, 0, len(data)) - for _, d := range data { - rows = append(rows, d.AsTableRow()) - } - writeTable(r.ResultWriter, data[0].AsTableHeader(), rows) + switch r.Format { + case OutputFormatJSON: + var list []interface{} + for _, item := range data { + list = append(list, item.Object()) + } + r.JSONResult(list) + default: + rows := make([][]string, 0, len(data)) + for _, d := range data { + rows = append(rows, d.AsTableRow()) } + writeTable(r.ResultWriter, data[0].AsTableHeader(), rows) } } @@ -111,7 +112,6 @@ func (r *Renderer) Result(data View) { switch r.Format { case OutputFormatJSON: r.JSONResult(data.Object()) - default: // TODO(cyx): we're type asserting on the fly to prevent too // many changes in other places. In the future we should diff --git a/test/integration/test-cases.yaml b/test/integration/test-cases.yaml index caf39c1df..a5eea8f65 100644 --- a/test/integration/test-cases.yaml +++ b/test/integration/test-cases.yaml @@ -40,7 +40,7 @@ tests: # Test 'apps create' --type flag apps create type native and check data: - command: auth0 apps create --name integration-test-app-nativeapp1 --type native --description NativeApp1 --format json + command: auth0 apps create --name integration-test-app-nativeapp1 --type native --description NativeApp1 --json exit-code: 0 stdout: json: @@ -58,7 +58,7 @@ tests: - TYPE Native apps create type spa: - command: auth0 apps create --name integration-test-app-spaapp1 --type spa --description SpaApp1 --format json + command: auth0 apps create --name integration-test-app-spaapp1 --type spa --description SpaApp1 --json exit-code: 0 stdout: json: @@ -67,7 +67,7 @@ tests: app_type: spa apps create type regular: - command: auth0 apps create --name integration-test-app-regapp1 --type regular --description RegApp1 --format json + command: auth0 apps create --name integration-test-app-regapp1 --type regular --description RegApp1 --json exit-code: 0 stdout: json: @@ -76,7 +76,7 @@ tests: app_type: regular_web apps create type m2m: - command: auth0 apps create --name integration-test-app-m2mapp1 --type m2m --description M2mApp1 --format json + command: auth0 apps create --name integration-test-app-m2mapp1 --type m2m --description M2mApp1 --json exit-code: 0 stdout: json: @@ -86,7 +86,7 @@ tests: # Test 'apps create' --auth-method flag apps create type spa auth method none: - command: auth0 apps create --name integration-test-app-spaapp2 --type spa --description SpaApp2 --auth-method None --format json + command: auth0 apps create --name integration-test-app-spaapp2 --type spa --description SpaApp2 --auth-method None --json stdout: json: token_endpoint_auth_method: none @@ -97,14 +97,14 @@ tests: exit-code: 1 apps create type regular auth method post: - command: auth0 apps create --name integration-test-app-regapp2 --type regular --description RegApp2 --auth-method Post --format json + command: auth0 apps create --name integration-test-app-regapp2 --type regular --description RegApp2 --auth-method Post --json stdout: json: token_endpoint_auth_method: client_secret_post exit-code: 0 apps create type regular auth method basic: - command: auth0 apps create --name integration-test-app-regapp3 --type regular --description RegApp3 --auth-method Basic --format json + command: auth0 apps create --name integration-test-app-regapp3 --type regular --description RegApp3 --auth-method Basic --json stdout: json: token_endpoint_auth_method: client_secret_basic @@ -119,7 +119,7 @@ tests: exit-code: 0 apps create type regular callbacks list: - command: auth0 apps create --name integration-test-app-regapp4 --type regular --description RegApp4 --callbacks https://example.com,https://google.com --format json + command: auth0 apps create --name integration-test-app-regapp4 --type regular --description RegApp4 --callbacks https://example.com,https://google.com --json stdout: json: callbacks: "[https://example.com https://google.com]" @@ -134,14 +134,14 @@ tests: exit-code: 0 apps create type spa grants: - command: auth0 apps create --name integration-test-app-spaapp3 --type spa --description SpaApp3 --grants refresh-token --format json + command: auth0 apps create --name integration-test-app-spaapp3 --type spa --description SpaApp3 --grants refresh-token --json stdout: json: grant_types: "[refresh_token]" exit-code: 0 apps create type native grants: - command: auth0 apps create --name integration-test-app-nativeapp2 --type native --description NativeApp2 --grants refresh-token,code --format json + command: auth0 apps create --name integration-test-app-nativeapp2 --type native --description NativeApp2 --grants refresh-token,code --json stdout: json: grant_types: "[refresh_token authorization_code]" @@ -153,7 +153,7 @@ tests: # Test 'apps create' --logout-urls flag apps create type regular logout urls: - command: auth0 apps create --name integration-test-app-regapp6 --type native --description RegularApp --logout-urls https://*.example.com/logout,https://example.com/logout --format json + command: auth0 apps create --name integration-test-app-regapp6 --type native --description RegularApp --logout-urls https://*.example.com/logout,https://example.com/logout --json stdout: json: allowed_logout_urls: "[https://*.example.com/logout https://example.com/logout]" @@ -161,7 +161,7 @@ tests: # Test 'apps create' --origins flag apps create type regular origins: - command: auth0 apps create --name integration-test-app-regapp7 --type native --description RegularApp --origins https://*.example.com,https://example.com --format json + command: auth0 apps create --name integration-test-app-regapp7 --type native --description RegularApp --origins https://*.example.com,https://example.com --json stdout: json: allowed_origins: "[https://*.example.com https://example.com]" @@ -169,7 +169,7 @@ tests: # Test 'apps create' --web-origins flag apps create type native web origins: - command: auth0 apps create --name integration-test-app-spaapp4 --type native --description SpaApp4 --web-origins https://example.com --format json + command: auth0 apps create --name integration-test-app-spaapp4 --type native --description SpaApp4 --web-origins https://example.com --json stdout: json: web_origins: "[https://example.com]" @@ -181,7 +181,7 @@ tests: exit-code: 0 apps show json: - command: auth0 apps show $(cat ./test/integration/identifiers/app-id) --format json # depends on "apps create test app" test + command: auth0 apps show $(cat ./test/integration/identifiers/app-id) --json # depends on "apps create test app" test stdout: json: name: integration-test-app-newapp @@ -200,70 +200,70 @@ tests: # Test 'apps update'; all tests depend on "apps create test app" test apps update auth method: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --auth-method Basic --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --auth-method Basic --json stdout: json: token_endpoint_auth_method: client_secret_basic exit-code: 0 apps update callbacks: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --callbacks https://example.com --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --callbacks https://example.com --json stdout: json: callbacks: "[https://example.com]" exit-code: 0 apps update description: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --description "A better description" --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --description "A better description" --json stdout: json: description: A better description exit-code: 0 apps update grants: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --grants code --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --grants code --json stdout: json: grant_types: "[authorization_code]" exit-code: 0 apps update logout urls: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --logout-urls https://example.com --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --logout-urls https://example.com --json stdout: json: allowed_logout_urls: "[https://example.com]" exit-code: 0 apps update name: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --name integration-test-app-betterAppName --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --name integration-test-app-betterAppName --json stdout: json: name: integration-test-app-betterAppName exit-code: 0 apps update origins: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --origins https://example.com --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --origins https://example.com --json stdout: json: allowed_origins: "[https://example.com]" exit-code: 0 apps update type: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --type spa --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --type spa --json stdout: json: app_type: spa exit-code: 0 apps update web origins: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --web-origins https://example.com --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --web-origins https://example.com --json stdout: json: web_origins: "[https://example.com]" exit-code: 0 apps update multiple updates: - command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --web-origins https://examples.com --type native --format json + command: auth0 apps update $(cat ./test/integration/identifiers/app-id) --web-origins https://examples.com --type native --json stdout: json: app_type: native @@ -272,7 +272,7 @@ tests: # Test 'apis create' apis create and check data: - command: auth0 apis create --name integration-test-api-def1 --identifier http://integration-test-api-def1 --scopes read:todos,write:todos --format json + command: auth0 apis create --name integration-test-api-def1 --identifier http://integration-test-api-def1 --scopes read:todos,write:todos --json exit-code: 0 stdout: json: @@ -295,7 +295,7 @@ tests: # Test 'apis create' --token-lifetime flag apis create token lifetime 1000 and check data: - command: auth0 apis create --name integration-test-api-toklif1 --identifier http://integration-test-api-toklif1 --scopes read:todos --token-lifetime 1000 --format json + command: auth0 apis create --name integration-test-api-toklif1 --identifier http://integration-test-api-toklif1 --scopes read:todos --token-lifetime 1000 --json exit-code: 0 stdout: json: @@ -310,7 +310,7 @@ tests: # Test 'apis create' --offline-access flag apis create offline access true and check data: - command: auth0 apis create --name integration-test-api-offacc1 --identifier http://integration-test-api-offacc1 --scopes read:todos --offline-access --format json + command: auth0 apis create --name integration-test-api-offacc1 --identifier http://integration-test-api-offacc1 --scopes read:todos --offline-access --json exit-code: 0 stdout: json: @@ -324,7 +324,7 @@ tests: - ALLOW OFFLINE ACCESS ✓ apis create offline access false and check data: - command: auth0 apis create --name integration-test-api-offacc3 --identifier http://integration-test-api-offacc3 --scopes read:todos --offline-access=false --format json + command: auth0 apis create --name integration-test-api-offacc3 --identifier http://integration-test-api-offacc3 --scopes read:todos --offline-access=false --json exit-code: 0 stdout: json: @@ -336,7 +336,7 @@ tests: exit-code: 0 apis show json: - command: auth0 apis show $(cat ./test/integration/identifiers/api-id) --format json # depends on "apis create test app" test + command: auth0 apis show $(cat ./test/integration/identifiers/api-id) --json # depends on "apis create test app" test stdout: json: name: integration-test-api-newapi @@ -363,35 +363,35 @@ tests: # Test 'apis update'; all tests depend on "apis create test api" test apis update name: - command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --name integration-test-api-betterApiName --format json + command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --name integration-test-api-betterApiName --json stdout: json: name: integration-test-api-betterApiName exit-code: 0 apis update scopes: - command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --scopes read:todos,write:todos --format json + command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --scopes read:todos,write:todos --json stdout: json: scopes: "[map[value:read:todos] map[value:write:todos]]" exit-code: 0 apis update token lifetime: - command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --token-lifetime 1000 --format json + command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --token-lifetime 1000 --json stdout: json: token_lifetime: "1000" exit-code: 0 apis update offline access true: - command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --offline-access --format json + command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --offline-access --json stdout: json: allow_offline_access: "true" exit-code: 0 apis update offline access false: - command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --offline-access=false --format json + command: auth0 apis update $(cat ./test/integration/identifiers/api-id) --offline-access=false --json stdout: json: allow_offline_access: "false" @@ -399,7 +399,7 @@ tests: # Test 'users create' users create and check data: - command: auth0 users create --name integration-test-user-new --connection Username-Password-Authentication --email testuser@example.com --password testUser12 --format json --no-input + command: auth0 users create --name integration-test-user-new --connection Username-Password-Authentication --email testuser@example.com --password testUser12 --json --no-input exit-code: 0 stdout: json: @@ -420,7 +420,7 @@ tests: exit-code: 0 users show json: - command: auth0 users show $(cat ./test/integration/identifiers/user-id) --format json + command: auth0 users show $(cat ./test/integration/identifiers/user-id) --json stdout: json: email: "newuser@example.com" @@ -437,14 +437,14 @@ tests: # Test 'users update' users update email: - command: auth0 users update $(cat ./test/integration/identifiers/user-id) --email betteruser@example.com --format json --no-input + command: auth0 users update $(cat ./test/integration/identifiers/user-id) --email betteruser@example.com --json --no-input stdout: json: email: betteruser@example.com exit-code: 0 users update name: - command: auth0 users update $(cat ./test/integration/identifiers/user-id) --name integration-test-user-bettername --format json --no-input + command: auth0 users update $(cat ./test/integration/identifiers/user-id) --name integration-test-user-bettername --json --no-input stdout: json: email: betteruser@example.com # Name is not being displayed, hence using email @@ -452,7 +452,7 @@ tests: # Test 'roles create' roles create and check data: - command: auth0 roles create --name integration-test-role-new1 --description testRole --format json --no-input + command: auth0 roles create --name integration-test-role-new1 --description testRole --json --no-input exit-code: 0 stdout: json: @@ -473,7 +473,7 @@ tests: exit-code: 0 roles show json: - command: auth0 roles show $(cat ./test/integration/identifiers/role-id) --format json + command: auth0 roles show $(cat ./test/integration/identifiers/role-id) --json stdout: json: name: integration-test-role-newRole @@ -490,14 +490,14 @@ tests: # Test 'roles update' roles update name: - command: auth0 roles update $(cat ./test/integration/identifiers/role-id) --name integration-test-role-betterName --format json + command: auth0 roles update $(cat ./test/integration/identifiers/role-id) --name integration-test-role-betterName --json stdout: json: name: integration-test-role-betterName exit-code: 0 roles update description: - command: auth0 roles update $(cat ./test/integration/identifiers/role-id) --description betterDescription --format json + command: auth0 roles update $(cat ./test/integration/identifiers/role-id) --description betterDescription --json stdout: json: description: betterDescription @@ -505,7 +505,7 @@ tests: # Test 'rules create' rules create and check data: - command: cat ./test/integration/fixtures/create-rule.json | jq '.[0]' | auth0 rules create --format json + command: cat ./test/integration/fixtures/create-rule.json | jq '.[0]' | auth0 rules create --json stdout: json: name: integration-test-rule-new1 @@ -530,7 +530,7 @@ tests: exit-code: 0 rules show json: - command: auth0 rules show $(cat ./test/integration/identifiers/rule-id) --format json + command: auth0 rules show $(cat ./test/integration/identifiers/rule-id) --json stdout: json: name: integration-test-rule-newRule @@ -549,7 +549,7 @@ tests: # Test 'rules update' rules update: - command: cat ./test/integration/fixtures/update-rule.json | auth0 rules update --format json + command: cat ./test/integration/fixtures/update-rule.json | auth0 rules update --json stdout: json: name: integration-test-rule-betterName @@ -558,7 +558,7 @@ tests: # Test 'rules enable' rules enable: - command: auth0 rules enable $(cat ./test/integration/identifiers/rule-id) --format json + command: auth0 rules enable $(cat ./test/integration/identifiers/rule-id) --json stdout: json: enabled: "true" @@ -566,7 +566,7 @@ tests: # Test 'rules disable' rules disable: - command: auth0 rules disable $(cat ./test/integration/identifiers/rule-id) --format json + command: auth0 rules disable $(cat ./test/integration/identifiers/rule-id) --json stdout: json: enabled: "false"