From 93a9ed049713f9af2e27607b78fd847bc843d0b5 Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea Date: Wed, 30 Nov 2022 17:43:57 +0100 Subject: [PATCH] Relegate --force flag from global context --- docs/auth0_actions.md | 1 - docs/auth0_actions_create.md | 1 - docs/auth0_actions_delete.md | 4 ++-- docs/auth0_actions_deploy.md | 1 - docs/auth0_actions_list.md | 1 - docs/auth0_actions_open.md | 1 - docs/auth0_actions_show.md | 1 - docs/auth0_actions_update.md | 1 - docs/auth0_api.md | 2 +- docs/auth0_apis.md | 1 - docs/auth0_apis_create.md | 1 - docs/auth0_apis_delete.md | 4 ++-- docs/auth0_apis_list.md | 1 - docs/auth0_apis_open.md | 1 - docs/auth0_apis_scopes.md | 1 - docs/auth0_apis_scopes_list.md | 1 - docs/auth0_apis_show.md | 1 - docs/auth0_apis_update.md | 1 - docs/auth0_apps.md | 1 - docs/auth0_apps_create.md | 1 - docs/auth0_apps_delete.md | 4 ++-- docs/auth0_apps_list.md | 1 - docs/auth0_apps_open.md | 1 - docs/auth0_apps_show.md | 1 - docs/auth0_apps_update.md | 1 - docs/auth0_apps_use.md | 1 - docs/auth0_branding.md | 1 - docs/auth0_branding_domains.md | 1 - docs/auth0_branding_domains_create.md | 1 - docs/auth0_branding_domains_delete.md | 4 ++-- docs/auth0_branding_domains_list.md | 1 - docs/auth0_branding_domains_show.md | 1 - docs/auth0_branding_domains_update.md | 1 - docs/auth0_branding_domains_verify.md | 1 - docs/auth0_branding_emails.md | 1 - docs/auth0_branding_emails_show.md | 1 - docs/auth0_branding_emails_update.md | 1 - docs/auth0_branding_show.md | 1 - docs/auth0_branding_templates.md | 1 - docs/auth0_branding_templates_show.md | 1 - docs/auth0_branding_templates_update.md | 1 - docs/auth0_branding_texts.md | 1 - docs/auth0_branding_texts_show.md | 1 - docs/auth0_branding_texts_update.md | 1 - docs/auth0_branding_update.md | 1 - docs/auth0_completion.md | 1 - docs/auth0_ips.md | 1 - docs/auth0_ips_check.md | 1 - docs/auth0_ips_unblock.md | 1 - docs/auth0_login.md | 1 - docs/auth0_logout.md | 1 - docs/auth0_logs.md | 1 - docs/auth0_logs_list.md | 1 - docs/auth0_logs_streams.md | 1 - docs/auth0_logs_streams_create.md | 1 - docs/auth0_logs_streams_delete.md | 4 ++-- docs/auth0_logs_streams_list.md | 1 - docs/auth0_logs_streams_open.md | 1 - docs/auth0_logs_streams_show.md | 1 - docs/auth0_logs_streams_update.md | 1 - docs/auth0_logs_tail.md | 1 - docs/auth0_orgs.md | 1 - docs/auth0_orgs_create.md | 1 - docs/auth0_orgs_delete.md | 4 ++-- docs/auth0_orgs_list.md | 1 - docs/auth0_orgs_members.md | 1 - docs/auth0_orgs_members_list.md | 1 - docs/auth0_orgs_open.md | 1 - docs/auth0_orgs_roles.md | 1 - docs/auth0_orgs_roles_list.md | 1 - docs/auth0_orgs_roles_members.md | 1 - docs/auth0_orgs_roles_members_list.md | 1 - docs/auth0_orgs_show.md | 1 - docs/auth0_orgs_update.md | 1 - docs/auth0_protection.md | 1 - docs/auth0_protection_breached-password-detection.md | 1 - docs/auth0_protection_breached-password-detection_show.md | 1 - ...auth0_protection_breached-password-detection_update.md | 1 - docs/auth0_protection_brute-force-protection.md | 1 - docs/auth0_protection_brute-force-protection_show.md | 1 - docs/auth0_protection_brute-force-protection_update.md | 1 - docs/auth0_protection_suspicious-ip-throttling.md | 1 - docs/auth0_protection_suspicious-ip-throttling_show.md | 1 - docs/auth0_protection_suspicious-ip-throttling_update.md | 1 - docs/auth0_quickstarts.md | 1 - docs/auth0_quickstarts_download.md | 2 +- docs/auth0_quickstarts_list.md | 1 - docs/auth0_roles.md | 1 - docs/auth0_roles_create.md | 1 - docs/auth0_roles_delete.md | 4 ++-- docs/auth0_roles_list.md | 1 - docs/auth0_roles_permissions.md | 1 - docs/auth0_roles_permissions_add.md | 1 - docs/auth0_roles_permissions_list.md | 1 - docs/auth0_roles_permissions_remove.md | 1 - docs/auth0_roles_show.md | 1 - docs/auth0_roles_update.md | 1 - docs/auth0_rules.md | 1 - docs/auth0_rules_create.md | 1 - docs/auth0_rules_delete.md | 4 ++-- docs/auth0_rules_disable.md | 1 - docs/auth0_rules_enable.md | 1 - docs/auth0_rules_list.md | 1 - docs/auth0_rules_show.md | 1 - docs/auth0_rules_update.md | 1 - docs/auth0_tenants.md | 1 - docs/auth0_tenants_add.md | 1 - docs/auth0_tenants_list.md | 1 - docs/auth0_tenants_open.md | 1 - docs/auth0_tenants_use.md | 1 - docs/auth0_test.md | 1 - docs/auth0_test_login.md | 2 +- docs/auth0_test_token.md | 2 +- docs/auth0_users.md | 1 - docs/auth0_users_blocks.md | 1 - docs/auth0_users_blocks_list.md | 1 - docs/auth0_users_create.md | 1 - docs/auth0_users_delete.md | 4 ++-- docs/auth0_users_import.md | 1 - docs/auth0_users_open.md | 1 - docs/auth0_users_search.md | 1 - docs/auth0_users_show.md | 1 - docs/auth0_users_unblock.md | 1 - docs/auth0_users_update.md | 1 - docs/index.md | 1 - internal/cli/actions.go | 2 ++ internal/cli/api.go | 2 ++ internal/cli/apis.go | 2 ++ internal/cli/apps.go | 2 ++ internal/cli/cli.go | 7 ++++--- internal/cli/custom_domains.go | 2 ++ internal/cli/log_streams.go | 2 ++ internal/cli/organizations.go | 2 ++ internal/cli/quickstarts.go | 3 +++ internal/cli/roles.go | 2 ++ internal/cli/root.go | 4 ++-- internal/cli/rules.go | 2 ++ internal/cli/test.go | 8 ++++++++ internal/cli/users.go | 2 ++ 139 files changed, 59 insertions(+), 139 deletions(-) diff --git a/docs/auth0_actions.md b/docs/auth0_actions.md index ebd9e2676..cc9c39393 100644 --- a/docs/auth0_actions.md +++ b/docs/auth0_actions.md @@ -19,7 +19,6 @@ Manage resources for actions. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_create.md b/docs/auth0_actions_create.md index a3235bfc8..1550d2a75 100644 --- a/docs/auth0_actions_create.md +++ b/docs/auth0_actions_create.md @@ -38,7 +38,6 @@ auth0 actions create -n myaction -t post-login -d "lodash=4.0.0" -s "API_KEY=val ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_delete.md b/docs/auth0_actions_delete.md index 7ca9128eb..59c3a3419 100644 --- a/docs/auth0_actions_delete.md +++ b/docs/auth0_actions_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_deploy.md b/docs/auth0_actions_deploy.md index d3c3a8ebd..dd354cb4c 100644 --- a/docs/auth0_actions_deploy.md +++ b/docs/auth0_actions_deploy.md @@ -30,7 +30,6 @@ auth0 actions deploy ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_list.md b/docs/auth0_actions_list.md index 3c8e86f46..3e7084126 100644 --- a/docs/auth0_actions_list.md +++ b/docs/auth0_actions_list.md @@ -31,7 +31,6 @@ auth0 actions ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_open.md b/docs/auth0_actions_open.md index 6ad633ebd..c242090d5 100644 --- a/docs/auth0_actions_open.md +++ b/docs/auth0_actions_open.md @@ -29,7 +29,6 @@ auth0 actions open ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_show.md b/docs/auth0_actions_show.md index 430a86699..0092e54bc 100644 --- a/docs/auth0_actions_show.md +++ b/docs/auth0_actions_show.md @@ -30,7 +30,6 @@ auth0 actions show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_actions_update.md b/docs/auth0_actions_update.md index 2ad6c0750..d7272963c 100644 --- a/docs/auth0_actions_update.md +++ b/docs/auth0_actions_update.md @@ -38,7 +38,6 @@ auth0 actions update -n myaction -t post-login -d "lodash=4.0.0" -s "API_KE ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_api.md b/docs/auth0_api.md index 8b76b371e..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,7 +43,6 @@ cat data.json | auth0 api post clients ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis.md b/docs/auth0_apis.md index 95f2be557..73ba67ffc 100644 --- a/docs/auth0_apis.md +++ b/docs/auth0_apis.md @@ -19,7 +19,6 @@ Manage resources for APIs. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_create.md b/docs/auth0_apis_create.md index 9df5539be..029f4ea62 100644 --- a/docs/auth0_apis_create.md +++ b/docs/auth0_apis_create.md @@ -38,7 +38,6 @@ auth0 apis create -n myapi -e 6100 --offline-access=true ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_delete.md b/docs/auth0_apis_delete.md index dd676b7da..1a6febdca 100644 --- a/docs/auth0_apis_delete.md +++ b/docs/auth0_apis_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_list.md b/docs/auth0_apis_list.md index 0d2b0e01f..c1e87c6cb 100644 --- a/docs/auth0_apis_list.md +++ b/docs/auth0_apis_list.md @@ -33,7 +33,6 @@ auth0 apis ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_open.md b/docs/auth0_apis_open.md index 91210ed21..9f427f82e 100644 --- a/docs/auth0_apis_open.md +++ b/docs/auth0_apis_open.md @@ -30,7 +30,6 @@ auth0 apis open ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_scopes.md b/docs/auth0_apis_scopes.md index 7fae6389c..fb96b9c22 100644 --- a/docs/auth0_apis_scopes.md +++ b/docs/auth0_apis_scopes.md @@ -19,7 +19,6 @@ Manage resources for API scopes. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_scopes_list.md b/docs/auth0_apis_scopes_list.md index 087f6c268..609b3a1ab 100644 --- a/docs/auth0_apis_scopes_list.md +++ b/docs/auth0_apis_scopes_list.md @@ -30,7 +30,6 @@ auth0 apis scopes ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_show.md b/docs/auth0_apis_show.md index 838979675..12dd65b4b 100644 --- a/docs/auth0_apis_show.md +++ b/docs/auth0_apis_show.md @@ -30,7 +30,6 @@ auth0 apis show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apis_update.md b/docs/auth0_apis_update.md index 2ed408667..99ab35edc 100644 --- a/docs/auth0_apis_update.md +++ b/docs/auth0_apis_update.md @@ -37,7 +37,6 @@ auth0 apis update -n myapi -e 6100 --offline-access=true ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps.md b/docs/auth0_apps.md index 74cf307b8..a6685d1ad 100644 --- a/docs/auth0_apps.md +++ b/docs/auth0_apps.md @@ -19,7 +19,6 @@ Manage resources for applications. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps_create.md b/docs/auth0_apps_create.md index c80fb0ec3..8c00cd249 100644 --- a/docs/auth0_apps_create.md +++ b/docs/auth0_apps_create.md @@ -46,7 +46,6 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps_list.md b/docs/auth0_apps_list.md index ef77e1987..060f62d99 100644 --- a/docs/auth0_apps_list.md +++ b/docs/auth0_apps_list.md @@ -34,7 +34,6 @@ auth0 apps ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps_open.md b/docs/auth0_apps_open.md index c5d9bddf3..060a048e6 100644 --- a/docs/auth0_apps_open.md +++ b/docs/auth0_apps_open.md @@ -29,7 +29,6 @@ auth0 apps open ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps_show.md b/docs/auth0_apps_show.md index 6b7e8462c..2ccfc7d25 100644 --- a/docs/auth0_apps_show.md +++ b/docs/auth0_apps_show.md @@ -31,7 +31,6 @@ auth0 apps show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps_update.md b/docs/auth0_apps_update.md index 9031ce462..acd7c17b2 100644 --- a/docs/auth0_apps_update.md +++ b/docs/auth0_apps_update.md @@ -45,7 +45,6 @@ auth0 apps update -n myapp --type [native|spa|regular|m2m] ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_apps_use.md b/docs/auth0_apps_use.md index 416504769..9de7e3e9a 100644 --- a/docs/auth0_apps_use.md +++ b/docs/auth0_apps_use.md @@ -30,7 +30,6 @@ auth0 apps use ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding.md b/docs/auth0_branding.md index 1aaceccec..4ea304352 100644 --- a/docs/auth0_branding.md +++ b/docs/auth0_branding.md @@ -19,7 +19,6 @@ Manage branding options. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains.md b/docs/auth0_branding_domains.md index c7e9ae8fb..dd944b599 100644 --- a/docs/auth0_branding_domains.md +++ b/docs/auth0_branding_domains.md @@ -19,7 +19,6 @@ Manage custom domains. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains_create.md b/docs/auth0_branding_domains_create.md index 4150749b3..ce1c5e7ae 100644 --- a/docs/auth0_branding_domains_create.md +++ b/docs/auth0_branding_domains_create.md @@ -35,7 +35,6 @@ auth0 branding domains create ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains_delete.md b/docs/auth0_branding_domains_delete.md index ca2a4f4bc..f06e7f9c2 100644 --- a/docs/auth0_branding_domains_delete.md +++ b/docs/auth0_branding_domains_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains_list.md b/docs/auth0_branding_domains_list.md index 9a0607f33..5a56ee141 100644 --- a/docs/auth0_branding_domains_list.md +++ b/docs/auth0_branding_domains_list.md @@ -31,7 +31,6 @@ auth0 branding domains ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains_show.md b/docs/auth0_branding_domains_show.md index 3ffc345db..a034d1834 100644 --- a/docs/auth0_branding_domains_show.md +++ b/docs/auth0_branding_domains_show.md @@ -30,7 +30,6 @@ auth0 branding domains show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains_update.md b/docs/auth0_branding_domains_update.md index 32e98c733..9f530b134 100644 --- a/docs/auth0_branding_domains_update.md +++ b/docs/auth0_branding_domains_update.md @@ -33,7 +33,6 @@ auth0 branding domains update -p compatible --ip-header "cf-connecting-ip" ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_domains_verify.md b/docs/auth0_branding_domains_verify.md index c8afc54fe..f4b2d7609 100644 --- a/docs/auth0_branding_domains_verify.md +++ b/docs/auth0_branding_domains_verify.md @@ -30,7 +30,6 @@ auth0 branding domains verify ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_emails.md b/docs/auth0_branding_emails.md index 1ab143405..54c7da65e 100644 --- a/docs/auth0_branding_emails.md +++ b/docs/auth0_branding_emails.md @@ -19,7 +19,6 @@ Manage custom email templates. This requires a custom email provider to be confi ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_emails_show.md b/docs/auth0_branding_emails_show.md index c731e3e61..c0384dcad 100644 --- a/docs/auth0_branding_emails_show.md +++ b/docs/auth0_branding_emails_show.md @@ -30,7 +30,6 @@ auth0 branding emails show welcome ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_emails_update.md b/docs/auth0_branding_emails_update.md index 168311ab4..8c2bdf558 100644 --- a/docs/auth0_branding_emails_update.md +++ b/docs/auth0_branding_emails_update.md @@ -36,7 +36,6 @@ auth0 branding emails update welcome ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_show.md b/docs/auth0_branding_show.md index d2b9bea0a..47c601746 100644 --- a/docs/auth0_branding_show.md +++ b/docs/auth0_branding_show.md @@ -29,7 +29,6 @@ auth0 branding show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_templates.md b/docs/auth0_branding_templates.md index 03bba2464..6a84cd803 100644 --- a/docs/auth0_branding_templates.md +++ b/docs/auth0_branding_templates.md @@ -34,7 +34,6 @@ Once you close the window, you’ll be asked if you want to save the template. I ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_templates_show.md b/docs/auth0_branding_templates_show.md index caccd3cb8..e4723d3c2 100644 --- a/docs/auth0_branding_templates_show.md +++ b/docs/auth0_branding_templates_show.md @@ -29,7 +29,6 @@ auth0 branding templates show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_templates_update.md b/docs/auth0_branding_templates_update.md index a72a984ee..519b92574 100644 --- a/docs/auth0_branding_templates_update.md +++ b/docs/auth0_branding_templates_update.md @@ -29,7 +29,6 @@ auth0 branding templates update ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_texts.md b/docs/auth0_branding_texts.md index 04c894901..770ec7642 100644 --- a/docs/auth0_branding_texts.md +++ b/docs/auth0_branding_texts.md @@ -19,7 +19,6 @@ Manage custom text for prompts. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_texts_show.md b/docs/auth0_branding_texts_show.md index a48fe5ff0..7673b985a 100644 --- a/docs/auth0_branding_texts_show.md +++ b/docs/auth0_branding_texts_show.md @@ -32,7 +32,6 @@ auth0 branding texts show -l es ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_texts_update.md b/docs/auth0_branding_texts_update.md index ea8cf5214..a9e48d435 100644 --- a/docs/auth0_branding_texts_update.md +++ b/docs/auth0_branding_texts_update.md @@ -32,7 +32,6 @@ auth0 branding texts update -l es ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_branding_update.md b/docs/auth0_branding_update.md index 8a1c5bc70..23aaed500 100644 --- a/docs/auth0_branding_update.md +++ b/docs/auth0_branding_update.md @@ -36,7 +36,6 @@ auth0 branding update -a "#FF4F40" -b "#2A2E35" --logo "https://example.com/logo ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_completion.md b/docs/auth0_completion.md index c6aafc54e..5506ebb8c 100644 --- a/docs/auth0_completion.md +++ b/docs/auth0_completion.md @@ -63,7 +63,6 @@ auth0 completion ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_ips.md b/docs/auth0_ips.md index 56c3127e8..29b9eab04 100644 --- a/docs/auth0_ips.md +++ b/docs/auth0_ips.md @@ -19,7 +19,6 @@ Manage blocked IP addresses. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_ips_check.md b/docs/auth0_ips_check.md index 64e86f1c7..ab1dbcc32 100644 --- a/docs/auth0_ips_check.md +++ b/docs/auth0_ips_check.md @@ -29,7 +29,6 @@ auth0 ips check ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_ips_unblock.md b/docs/auth0_ips_unblock.md index c387f7a5a..e2c1c3783 100644 --- a/docs/auth0_ips_unblock.md +++ b/docs/auth0_ips_unblock.md @@ -29,7 +29,6 @@ auth0 ips unblock ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_login.md b/docs/auth0_login.md index 7a3b56a27..384b018bf 100644 --- a/docs/auth0_login.md +++ b/docs/auth0_login.md @@ -23,7 +23,6 @@ auth0 login [flags] ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logout.md b/docs/auth0_logout.md index 590abef3a..e5b98fe74 100644 --- a/docs/auth0_logout.md +++ b/docs/auth0_logout.md @@ -29,7 +29,6 @@ auth0 logout ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs.md b/docs/auth0_logs.md index 5a7ce0053..9c7a3ec0c 100644 --- a/docs/auth0_logs.md +++ b/docs/auth0_logs.md @@ -19,7 +19,6 @@ View tenant logs. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_list.md b/docs/auth0_logs_list.md index f385466e7..3d80f4265 100644 --- a/docs/auth0_logs_list.md +++ b/docs/auth0_logs_list.md @@ -38,7 +38,6 @@ auth0 logs ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams.md b/docs/auth0_logs_streams.md index b398cdae1..f4bf35c22 100644 --- a/docs/auth0_logs_streams.md +++ b/docs/auth0_logs_streams.md @@ -19,7 +19,6 @@ manage resources for log streams. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams_create.md b/docs/auth0_logs_streams_create.md index af900a836..b066647c0 100644 --- a/docs/auth0_logs_streams_create.md +++ b/docs/auth0_logs_streams_create.md @@ -52,7 +52,6 @@ auth0 logs streams create -n test-splunk -t splunk --splunk-domain demo.splunk.c ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams_delete.md b/docs/auth0_logs_streams_delete.md index c550db555..b7ec56996 100644 --- a/docs/auth0_logs_streams_delete.md +++ b/docs/auth0_logs_streams_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams_list.md b/docs/auth0_logs_streams_list.md index 22dbfee32..02486c88a 100644 --- a/docs/auth0_logs_streams_list.md +++ b/docs/auth0_logs_streams_list.md @@ -31,7 +31,6 @@ auth0 logs streams ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams_open.md b/docs/auth0_logs_streams_open.md index a518c229d..aa16f353b 100644 --- a/docs/auth0_logs_streams_open.md +++ b/docs/auth0_logs_streams_open.md @@ -29,7 +29,6 @@ auth0 logs streams open ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams_show.md b/docs/auth0_logs_streams_show.md index 3909626c8..0c61e6804 100644 --- a/docs/auth0_logs_streams_show.md +++ b/docs/auth0_logs_streams_show.md @@ -30,7 +30,6 @@ auth0 logs streams show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_streams_update.md b/docs/auth0_logs_streams_update.md index 8cdf5deb6..21e74d604 100644 --- a/docs/auth0_logs_streams_update.md +++ b/docs/auth0_logs_streams_update.md @@ -48,7 +48,6 @@ auth0 logs streams update -n myeventbridge -t eventbridge ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_logs_tail.md b/docs/auth0_logs_tail.md index f56f4255b..36e675589 100644 --- a/docs/auth0_logs_tail.md +++ b/docs/auth0_logs_tail.md @@ -38,7 +38,6 @@ auth0 logs tail -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs.md b/docs/auth0_orgs.md index ea8e97e45..8e00b3e7c 100644 --- a/docs/auth0_orgs.md +++ b/docs/auth0_orgs.md @@ -19,7 +19,6 @@ Manage resources for organizations. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_create.md b/docs/auth0_orgs_create.md index 004fe9af9..677cf0072 100644 --- a/docs/auth0_orgs_create.md +++ b/docs/auth0_orgs_create.md @@ -39,7 +39,6 @@ auth0 orgs create -n myorganization -d "My Organization" -m "KEY=value" -m "OTHE ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_delete.md b/docs/auth0_orgs_delete.md index 24ae6009a..83511a5f5 100644 --- a/docs/auth0_orgs_delete.md +++ b/docs/auth0_orgs_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_list.md b/docs/auth0_orgs_list.md index ea1cc36a8..b07767566 100644 --- a/docs/auth0_orgs_list.md +++ b/docs/auth0_orgs_list.md @@ -33,7 +33,6 @@ auth0 orgs ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_members.md b/docs/auth0_orgs_members.md index 12e07ddf6..5d4af6760 100644 --- a/docs/auth0_orgs_members.md +++ b/docs/auth0_orgs_members.md @@ -19,7 +19,6 @@ Manage members of an organization. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_members_list.md b/docs/auth0_orgs_members_list.md index 6498b147a..f676ae991 100644 --- a/docs/auth0_orgs_members_list.md +++ b/docs/auth0_orgs_members_list.md @@ -31,7 +31,6 @@ auth0 orgs members ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_open.md b/docs/auth0_orgs_open.md index ae73f7e64..9710ace3a 100644 --- a/docs/auth0_orgs_open.md +++ b/docs/auth0_orgs_open.md @@ -29,7 +29,6 @@ auth0 orgs open ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_roles.md b/docs/auth0_orgs_roles.md index 12855bad9..6b4a6c302 100644 --- a/docs/auth0_orgs_roles.md +++ b/docs/auth0_orgs_roles.md @@ -19,7 +19,6 @@ Manage roles of an organization. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_roles_list.md b/docs/auth0_orgs_roles_list.md index ca5a24040..3ad6810e2 100644 --- a/docs/auth0_orgs_roles_list.md +++ b/docs/auth0_orgs_roles_list.md @@ -31,7 +31,6 @@ auth0 orgs roles ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_roles_members.md b/docs/auth0_orgs_roles_members.md index edeaf5d4c..fb0f8fb71 100644 --- a/docs/auth0_orgs_roles_members.md +++ b/docs/auth0_orgs_roles_members.md @@ -19,7 +19,6 @@ Manage roles assigned to members of an organization. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_roles_members_list.md b/docs/auth0_orgs_roles_members_list.md index 6f51b4ef3..275c569a8 100644 --- a/docs/auth0_orgs_roles_members_list.md +++ b/docs/auth0_orgs_roles_members_list.md @@ -32,7 +32,6 @@ auth0 orgs roles members list --role-id role ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_show.md b/docs/auth0_orgs_show.md index 00d88b320..a0bcf6bfd 100644 --- a/docs/auth0_orgs_show.md +++ b/docs/auth0_orgs_show.md @@ -30,7 +30,6 @@ auth0 orgs show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_orgs_update.md b/docs/auth0_orgs_update.md index b3f4c6ece..b96cf1736 100644 --- a/docs/auth0_orgs_update.md +++ b/docs/auth0_orgs_update.md @@ -37,7 +37,6 @@ auth0 orgs update -d "My Organization" -m "KEY=value" -m "OTHER_KEY=other_v ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection.md b/docs/auth0_protection.md index 5d02f0675..c292b11f8 100644 --- a/docs/auth0_protection.md +++ b/docs/auth0_protection.md @@ -19,7 +19,6 @@ Manage resources for attack protection. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_breached-password-detection.md b/docs/auth0_protection_breached-password-detection.md index dc66363ab..d18416123 100644 --- a/docs/auth0_protection_breached-password-detection.md +++ b/docs/auth0_protection_breached-password-detection.md @@ -19,7 +19,6 @@ Manage breached password detection settings. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_breached-password-detection_show.md b/docs/auth0_protection_breached-password-detection_show.md index ecbdfbeed..1f90af49d 100644 --- a/docs/auth0_protection_breached-password-detection_show.md +++ b/docs/auth0_protection_breached-password-detection_show.md @@ -29,7 +29,6 @@ auth0 protection breached-password-detection show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_breached-password-detection_update.md b/docs/auth0_protection_breached-password-detection_update.md index 9bebc9179..5bb8ebc38 100644 --- a/docs/auth0_protection_breached-password-detection_update.md +++ b/docs/auth0_protection_breached-password-detection_update.md @@ -33,7 +33,6 @@ auth0 protection breached-password-detection update ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_brute-force-protection.md b/docs/auth0_protection_brute-force-protection.md index b908fc8ed..01308bc84 100644 --- a/docs/auth0_protection_brute-force-protection.md +++ b/docs/auth0_protection_brute-force-protection.md @@ -19,7 +19,6 @@ Manage brute force protection settings. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_brute-force-protection_show.md b/docs/auth0_protection_brute-force-protection_show.md index c80ccfed8..ba9be12d7 100644 --- a/docs/auth0_protection_brute-force-protection_show.md +++ b/docs/auth0_protection_brute-force-protection_show.md @@ -29,7 +29,6 @@ auth0 protection brute-force-protection show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_brute-force-protection_update.md b/docs/auth0_protection_brute-force-protection_update.md index 9d3f32324..e5efe5484 100644 --- a/docs/auth0_protection_brute-force-protection_update.md +++ b/docs/auth0_protection_brute-force-protection_update.md @@ -34,7 +34,6 @@ auth0 protection brute-force-protection update ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_suspicious-ip-throttling.md b/docs/auth0_protection_suspicious-ip-throttling.md index 5ca54d22e..4dbc70024 100644 --- a/docs/auth0_protection_suspicious-ip-throttling.md +++ b/docs/auth0_protection_suspicious-ip-throttling.md @@ -19,7 +19,6 @@ Manage suspicious ip throttling settings. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_suspicious-ip-throttling_show.md b/docs/auth0_protection_suspicious-ip-throttling_show.md index e81fd35a3..d460759df 100644 --- a/docs/auth0_protection_suspicious-ip-throttling_show.md +++ b/docs/auth0_protection_suspicious-ip-throttling_show.md @@ -29,7 +29,6 @@ auth0 protection suspicious-ip-throttling show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_protection_suspicious-ip-throttling_update.md b/docs/auth0_protection_suspicious-ip-throttling_update.md index b9373715e..28172c9d2 100644 --- a/docs/auth0_protection_suspicious-ip-throttling_update.md +++ b/docs/auth0_protection_suspicious-ip-throttling_update.md @@ -36,7 +36,6 @@ auth0 protection suspicious-ip-throttling update ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_quickstarts.md b/docs/auth0_quickstarts.md index 17011444d..2afbbf00c 100644 --- a/docs/auth0_quickstarts.md +++ b/docs/auth0_quickstarts.md @@ -19,7 +19,6 @@ Quickstart support for getting bootstrapped. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_quickstarts_download.md b/docs/auth0_quickstarts_download.md index 49e2d1e56..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,7 +32,6 @@ auth0 qs download --stack ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_quickstarts_list.md b/docs/auth0_quickstarts_list.md index d78747771..1d41af33a 100644 --- a/docs/auth0_quickstarts_list.md +++ b/docs/auth0_quickstarts_list.md @@ -32,7 +32,6 @@ auth0 qs ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles.md b/docs/auth0_roles.md index fa1841967..7bfcfbd38 100644 --- a/docs/auth0_roles.md +++ b/docs/auth0_roles.md @@ -19,7 +19,6 @@ Manage resources for roles. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_create.md b/docs/auth0_roles_create.md index 13443280b..926e64421 100644 --- a/docs/auth0_roles_create.md +++ b/docs/auth0_roles_create.md @@ -33,7 +33,6 @@ auth0 roles create -n myrole --description "awesome role" ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_delete.md b/docs/auth0_roles_delete.md index a9bf6aa1a..7c5b53f8f 100644 --- a/docs/auth0_roles_delete.md +++ b/docs/auth0_roles_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_list.md b/docs/auth0_roles_list.md index acda98f81..b06ac4ac1 100644 --- a/docs/auth0_roles_list.md +++ b/docs/auth0_roles_list.md @@ -33,7 +33,6 @@ auth0 roles ls -n 100 ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_permissions.md b/docs/auth0_roles_permissions.md index 2f5486e4f..92d14ff04 100644 --- a/docs/auth0_roles_permissions.md +++ b/docs/auth0_roles_permissions.md @@ -19,7 +19,6 @@ Manage permissions within the role resource. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_permissions_add.md b/docs/auth0_roles_permissions_add.md index 7c00cd68d..e4356b638 100644 --- a/docs/auth0_roles_permissions_add.md +++ b/docs/auth0_roles_permissions_add.md @@ -35,7 +35,6 @@ auth0 roles permissions add ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_permissions_list.md b/docs/auth0_roles_permissions_list.md index e97427b08..11a87fc02 100644 --- a/docs/auth0_roles_permissions_list.md +++ b/docs/auth0_roles_permissions_list.md @@ -31,7 +31,6 @@ auth0 roles permissions ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_permissions_remove.md b/docs/auth0_roles_permissions_remove.md index 7903124ff..1544d1674 100644 --- a/docs/auth0_roles_permissions_remove.md +++ b/docs/auth0_roles_permissions_remove.md @@ -35,7 +35,6 @@ auth0 roles permissions rm ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_show.md b/docs/auth0_roles_show.md index 7365d50c1..b3ead0438 100644 --- a/docs/auth0_roles_show.md +++ b/docs/auth0_roles_show.md @@ -30,7 +30,6 @@ auth0 roles show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_roles_update.md b/docs/auth0_roles_update.md index dfe783f3d..37f369b7a 100644 --- a/docs/auth0_roles_update.md +++ b/docs/auth0_roles_update.md @@ -33,7 +33,6 @@ auth0 roles update -n myrole --description "awesome role" ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules.md b/docs/auth0_rules.md index be865b464..1e727ec3f 100644 --- a/docs/auth0_rules.md +++ b/docs/auth0_rules.md @@ -19,7 +19,6 @@ Manage resources for rules. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_create.md b/docs/auth0_rules_create.md index c9f4eb28f..6955d9c3a 100644 --- a/docs/auth0_rules_create.md +++ b/docs/auth0_rules_create.md @@ -35,7 +35,6 @@ auth0 rules create -n "My Rule" -t "Empty rule" --enabled=false ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_delete.md b/docs/auth0_rules_delete.md index 88d100683..0fe41ba5a 100644 --- a/docs/auth0_rules_delete.md +++ b/docs/auth0_rules_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_disable.md b/docs/auth0_rules_disable.md index c242402f5..1ca768d53 100644 --- a/docs/auth0_rules_disable.md +++ b/docs/auth0_rules_disable.md @@ -29,7 +29,6 @@ auth0 rules disable ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_enable.md b/docs/auth0_rules_enable.md index 9cb248b32..30f58ada1 100644 --- a/docs/auth0_rules_enable.md +++ b/docs/auth0_rules_enable.md @@ -29,7 +29,6 @@ auth0 rules enable ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_list.md b/docs/auth0_rules_list.md index 6ae0f2a2b..bbb0a8bd4 100644 --- a/docs/auth0_rules_list.md +++ b/docs/auth0_rules_list.md @@ -31,7 +31,6 @@ auth0 rules ls ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_show.md b/docs/auth0_rules_show.md index ecc8391a8..837d32f46 100644 --- a/docs/auth0_rules_show.md +++ b/docs/auth0_rules_show.md @@ -30,7 +30,6 @@ auth0 rules show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_rules_update.md b/docs/auth0_rules_update.md index 9880ea95b..e638bf115 100644 --- a/docs/auth0_rules_update.md +++ b/docs/auth0_rules_update.md @@ -33,7 +33,6 @@ auth0 rules update -n "My Updated Rule" --enabled=false ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_tenants.md b/docs/auth0_tenants.md index a617a2c30..56be1080a 100644 --- a/docs/auth0_tenants.md +++ b/docs/auth0_tenants.md @@ -19,7 +19,6 @@ Manage configured tenants. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_tenants_add.md b/docs/auth0_tenants_add.md index 37e2fde92..a8d7ffe68 100644 --- a/docs/auth0_tenants_add.md +++ b/docs/auth0_tenants_add.md @@ -29,7 +29,6 @@ auth0 tenants add --client-id --client-secret ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_tenants_list.md b/docs/auth0_tenants_list.md index f9240b04e..c41482cba 100644 --- a/docs/auth0_tenants_list.md +++ b/docs/auth0_tenants_list.md @@ -29,7 +29,6 @@ auth0 tenants list ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_tenants_open.md b/docs/auth0_tenants_open.md index 8791a0526..8451a99dc 100644 --- a/docs/auth0_tenants_open.md +++ b/docs/auth0_tenants_open.md @@ -29,7 +29,6 @@ auth0 tenants open ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_tenants_use.md b/docs/auth0_tenants_use.md index de0298e34..f6aa59b85 100644 --- a/docs/auth0_tenants_use.md +++ b/docs/auth0_tenants_use.md @@ -29,7 +29,6 @@ auth0 tenants use ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_test.md b/docs/auth0_test.md index 33c53bb81..b098939e3 100644 --- a/docs/auth0_test.md +++ b/docs/auth0_test.md @@ -19,7 +19,6 @@ Try your Universal Login box or get a token. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_test_login.md b/docs/auth0_test_login.md index fa2c9f901..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,7 +36,6 @@ auth0 test login --connection ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_test_token.md b/docs/auth0_test_token.md index 5dc6d75e4..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,7 +36,6 @@ auth0 test token --client-id --audience --scopes ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users.md b/docs/auth0_users.md index 21b63157b..cf367c234 100644 --- a/docs/auth0_users.md +++ b/docs/auth0_users.md @@ -19,7 +19,6 @@ Manage resources for users. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_blocks.md b/docs/auth0_users_blocks.md index 21c180064..06046c121 100644 --- a/docs/auth0_users_blocks.md +++ b/docs/auth0_users_blocks.md @@ -19,7 +19,6 @@ Manage brute-force protection user blocks. ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_blocks_list.md b/docs/auth0_users_blocks_list.md index f8facca8c..a56065fb7 100644 --- a/docs/auth0_users_blocks_list.md +++ b/docs/auth0_users_blocks_list.md @@ -29,7 +29,6 @@ auth0 users blocks list ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_create.md b/docs/auth0_users_create.md index 1eaae4b23..be6eeaaf6 100644 --- a/docs/auth0_users_create.md +++ b/docs/auth0_users_create.md @@ -37,7 +37,6 @@ auth0 users create -n "John Doe" -e john@example.com --connection "Username-Pass ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_delete.md b/docs/auth0_users_delete.md index e63cb0968..925c277df 100644 --- a/docs/auth0_users_delete.md +++ b/docs/auth0_users_delete.md @@ -23,14 +23,14 @@ 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. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_import.md b/docs/auth0_users_import.md index 9b21e3e49..8d7199bb8 100644 --- a/docs/auth0_users_import.md +++ b/docs/auth0_users_import.md @@ -38,7 +38,6 @@ auth0 users import -c "Username-Password-Authentication" -t "Basic Example" --up ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_open.md b/docs/auth0_users_open.md index 547959149..1c089025a 100644 --- a/docs/auth0_users_open.md +++ b/docs/auth0_users_open.md @@ -30,7 +30,6 @@ auth0 users open "auth0|xxxxxxxxxx" ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_search.md b/docs/auth0_users_search.md index b76f05ab4..2473e1ea7 100644 --- a/docs/auth0_users_search.md +++ b/docs/auth0_users_search.md @@ -35,7 +35,6 @@ auth0 users search -q name -s "name:1" ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_show.md b/docs/auth0_users_show.md index 51f5c0c0c..5b8150452 100644 --- a/docs/auth0_users_show.md +++ b/docs/auth0_users_show.md @@ -30,7 +30,6 @@ auth0 users show ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_unblock.md b/docs/auth0_users_unblock.md index 1fca3db5d..1e289e77e 100644 --- a/docs/auth0_users_unblock.md +++ b/docs/auth0_users_unblock.md @@ -29,7 +29,6 @@ auth0 users unblock ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/auth0_users_update.md b/docs/auth0_users_update.md index d9084ddcd..890865edd 100644 --- a/docs/auth0_users_update.md +++ b/docs/auth0_users_update.md @@ -36,7 +36,6 @@ auth0 users update -n John Doe --email john.doe@example.com ``` --debug Enable debug mode. - --force Skip confirmation. --json Output in json format. --no-color Disable colors. --no-input Disable interactivity. diff --git a/docs/index.md b/docs/index.md index 32c536bbf..39bd2e575 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,7 +9,6 @@ Supercharge your development workflow. ``` --debug Enable debug mode. - --force Skip confirmation. -h, --help help for auth0 --json Output in json format. --no-color Disable colors. diff --git a/internal/cli/actions.go b/internal/cli/actions.go index ce54cf28e..5d1d7bfa6 100644 --- a/internal/cli/actions.go +++ b/internal/cli/actions.go @@ -405,6 +405,8 @@ auth0 actions delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/api.go b/internal/cli/api.go index d3498dfbc..3b466f2fe 100644 --- a/internal/cli/api.go +++ b/internal/cli/api.go @@ -98,6 +98,8 @@ cat data.json | auth0 api post clients`, 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..7d7a474d9 100644 --- a/internal/cli/apis.go +++ b/internal/cli/apis.go @@ -401,6 +401,8 @@ auth0 apis delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/apps.go b/internal/cli/apps.go index 5918dec6e..c88e63f10 100644 --- a/internal/cli/apps.go +++ b/internal/cli/apps.go @@ -324,6 +324,8 @@ auth0 apps delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/cli.go b/internal/cli/cli.go index e7714fdad..d50d911dd 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -74,12 +74,13 @@ var errUnauthenticated = errors.New("Not logged in. Try 'auth0 login'.") // 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 json bool @@ -87,7 +88,7 @@ type cli struct { noInput bool noColor bool - // config state management. + // Config state management. initOnce sync.Once errOnce error path string diff --git a/internal/cli/custom_domains.go b/internal/cli/custom_domains.go index aeb047dcf..e90deebab 100644 --- a/internal/cli/custom_domains.go +++ b/internal/cli/custom_domains.go @@ -338,6 +338,8 @@ auth0 branding domains delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/log_streams.go b/internal/cli/log_streams.go index 4b3c3cc7c..2408ac1e9 100644 --- a/internal/cli/log_streams.go +++ b/internal/cli/log_streams.go @@ -733,6 +733,8 @@ auth0 logs streams delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/organizations.go b/internal/cli/organizations.go index e8f86aff9..b30f3c961 100644 --- a/internal/cli/organizations.go +++ b/internal/cli/organizations.go @@ -429,6 +429,8 @@ auth0 orgs delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/quickstarts.go b/internal/cli/quickstarts.go index fb5a8d493..6607e1645 100644 --- a/internal/cli/quickstarts.go +++ b/internal/cli/quickstarts.go @@ -201,7 +201,10 @@ auth0 qs download --stack `, cmd.SetUsageTemplate(resourceUsageTemplate()) + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + qsStack.RegisterString(cmd, &inputs.Stack, "") + return cmd } diff --git a/internal/cli/roles.go b/internal/cli/roles.go index 2014e3cc7..8f45bc71e 100644 --- a/internal/cli/roles.go +++ b/internal/cli/roles.go @@ -302,6 +302,8 @@ auth0 roles delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/root.go b/internal/cli/root.go index 910f9cccb..edee70964 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -154,8 +154,8 @@ func addPersistentFlags(rootCmd *cobra.Command, cli *cli) { rootCmd.PersistentFlags().BoolVar(&cli.json, "json", false, "Output in json format.") - rootCmd.PersistentFlags().BoolVar(&cli.force, - "force", false, "Skip confirmation.") + // rootCmd.PersistentFlags().BoolVar(&cli.force, + // "force", false, "Skip confirmation.") rootCmd.PersistentFlags().BoolVar(&cli.noInput, "no-input", false, "Disable interactivity.") diff --git a/internal/cli/rules.go b/internal/cli/rules.go index 2f287d2e8..4019fa1e0 100644 --- a/internal/cli/rules.go +++ b/internal/cli/rules.go @@ -268,6 +268,8 @@ auth0 rules delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd } diff --git a/internal/cli/test.go b/internal/cli/test.go index 843df0c51..4678e7b3c 100644 --- a/internal/cli/test.go +++ b/internal/cli/test.go @@ -195,10 +195,14 @@ auth0 test login --connection `, } cmd.SetUsageTemplate(resourceUsageTemplate()) + + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + testAudience.RegisterString(cmd, &inputs.Audience, "") testScopes.RegisterStringSlice(cmd, &inputs.Scopes, cliLoginTestingScopes) testConnection.RegisterString(cmd, &inputs.ConnectionName, "") testDomain.RegisterString(cmd, &inputs.CustomDomain, "") + return cmd } @@ -290,9 +294,13 @@ auth0 test token --client-id --audience --scopes } cmd.SetUsageTemplate(resourceUsageTemplate()) + + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + testClientID.RegisterString(cmd, &inputs.ClientID, "") testAudienceRequired.RegisterString(cmd, &inputs.Audience, "") testScopes.RegisterStringSlice(cmd, &inputs.Scopes, nil) + return cmd } diff --git a/internal/cli/users.go b/internal/cli/users.go index 43e22e2b0..b2eae96ec 100644 --- a/internal/cli/users.go +++ b/internal/cli/users.go @@ -346,6 +346,8 @@ auth0 users delete `, }, } + cmd.Flags().BoolVar(&cli.force, "force", false, "Skip confirmation.") + return cmd }