cf 1.0.0-beta.5 → 1.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_meta/commands.json +5362 -5482
- package/dist/_meta/hand-written-commands.json +1 -1
- package/dist/_meta/schemas.json +3014 -3160
- package/dist/abuse-reports-D7Hrm0MV.mjs +24 -0
- package/dist/{access-DRlrq_cq.mjs → access-_upGyV1N.mjs} +1 -1
- package/dist/{account-tags-DMCYk5rR.mjs → account-tags-CrijxKW6.mjs} +2 -2
- package/dist/{accounts-BlVDzIWc.mjs → accounts-Db5SMjh2.mjs} +32 -26
- package/dist/{acm-CCc33e4l.mjs → acm-9cXKVj2C.mjs} +1 -1
- package/dist/{addressing-BA-5A3jQ.mjs → addressing-D_FtdMEM.mjs} +1 -1
- package/dist/{agent-memory-Csgs8W5u.mjs → agent-memory-BygNv4aJ.mjs} +1 -1
- package/dist/{ai-BN_pzw7p.mjs → ai-D-55e3UD.mjs} +7 -9
- package/dist/{ai-audit-Dbln3Ai6.mjs → ai-audit-DDQ68vrA.mjs} +1 -1
- package/dist/{ai-gateway-BhASWwdp.mjs → ai-gateway-sP2B_8Ef.mjs} +1 -1
- package/dist/{ai-search-DvA8g4xr.mjs → ai-search-DvMUOhub.mjs} +1 -1
- package/dist/{ai-security-nualpneg.mjs → ai-security-BVWVxZmP.mjs} +1 -1
- package/dist/{alerting-HUbVuQMl.mjs → alerting-DZ9gxuKS.mjs} +1 -1
- package/dist/{analytics-ClKN9YnQ.mjs → analytics-Y2xckwX1.mjs} +1 -1
- package/dist/{analytics_engine-DP_O5HIq.mjs → analytics_engine-A8gMyUty.mjs} +1 -1
- package/dist/{api-security-Ce_9nFH9.mjs → api-security-CNMyTBs-.mjs} +1 -1
- package/dist/{argo-CLLBrtiV.mjs → argo-Be_3wk6n.mjs} +1 -1
- package/dist/{artifacts-CIxZX3VM.mjs → artifacts-B8roQjRg.mjs} +1 -1
- package/dist/{audit-logs-DjzIj9T4.mjs → audit-logs-DgkSAyTu.mjs} +1 -1
- package/dist/{auth-CgPQplnD.mjs → auth-B74oTm3b.mjs} +1 -1
- package/dist/{auth-B_Utev-x.mjs → auth-CHTMVVW3.mjs} +2 -2
- package/dist/{autoconfig-BunaOShS.mjs → autoconfig-DXXV-Xyz.mjs} +1 -1
- package/dist/basin-catalog-85ubk7YB.mjs +46 -0
- package/dist/{billing-tHlHhEVf.mjs → billing-Cc6_LzwM.mjs} +1 -1
- package/dist/{bot-management-ChV-gaXh.mjs → bot-management-DSJtyyh_.mjs} +1 -1
- package/dist/{botnet-feed-DQWBOEqC.mjs → botnet-feed-BkhLL1Oz.mjs} +1 -1
- package/dist/{brand-protection-B3afeuOj.mjs → brand-protection-Bldu6Tvz.mjs} +1 -1
- package/dist/{browser-run-eQMomr1x.mjs → browser-run-B_0Fh5Cg.mjs} +1 -1
- package/dist/{build-VUz0URCV.mjs → build-SxtWgMkQ.mjs} +1 -1
- package/dist/build-VB6btUkb.mjs +2 -0
- package/dist/{builds-wTOvlp0S.mjs → builds-BwP-UvyR.mjs} +1 -1
- package/dist/{cache-s4HK0we7.mjs → cache-DQDer_pF.mjs} +27 -27
- package/dist/{certificate-authorities-CaPUfYzA.mjs → certificate-authorities-Dfc0QVyT.mjs} +1 -1
- package/dist/{cf-O3gEaXYZ.mjs → cf-Dw3HK_Qy.mjs} +2 -2
- package/dist/chunk-FT2NMTJB-1VFYM1Ro.mjs +97 -0
- package/dist/chunk-KKDV4JPS-DdzLLtnl.mjs +2 -0
- package/dist/{cli-CT-QJu7q.mjs → cli-B0_EbPK6.mjs} +1 -1
- package/dist/{client-certificates-BfNDnT8H.mjs → client-certificates-BVfmuFsa.mjs} +1 -1
- package/dist/{client-side-security-BV7iORbb.mjs → client-side-security-DiaSjw1y.mjs} +1 -1
- package/dist/{cloud-connector-CGT8ezvv.mjs → cloud-connector-B6iUAIzF.mjs} +1 -1
- package/dist/{cloudflared-91JvyShh.mjs → cloudflared-C4KjWoEY.mjs} +1 -1
- package/dist/{cloudforce-one-BDhbXtA_.mjs → cloudforce-one-B2PweUyv.mjs} +47 -56
- package/dist/{command-BgBsFEYv.mjs → command-8lsstsSi.mjs} +1 -1
- package/dist/{command-Cox9Wh1i.mjs → command-BC7oCgWp.mjs} +1 -1
- package/dist/{command-DjNcY4cf.mjs → command-BDCTd8Ra.mjs} +1 -1
- package/dist/{command-C_l69o2b.mjs → command-BOktUlKN.mjs} +1 -1
- package/dist/{command-SgtzgQrs.mjs → command-Bi0InjEd.mjs} +1 -1
- package/dist/{command-C3Qhz4kU.mjs → command-BtmIP6e1.mjs} +1 -1
- package/dist/{command-DpEQ07Xe.mjs → command-CNfYJjg7.mjs} +1 -1
- package/dist/{command-ozwmaY7n.mjs → command-CnEF-7o0.mjs} +1 -1
- package/dist/{command-DJF4wdrM.mjs → command-CrS8Q6U3.mjs} +1 -1
- package/dist/{command-DH67hNLj.mjs → command-CvzUv83h.mjs} +1 -1
- package/dist/{command-C8gLcKlB.mjs → command-CzzAaOGK.mjs} +1 -1
- package/dist/{command-lYaHS62l.mjs → command-D1S9Z0gV.mjs} +1 -1
- package/dist/{command-G_VL3Jf8.mjs → command-DVSwnnMJ.mjs} +1 -1
- package/dist/{command-C72KLHMc.mjs → command-WCtue6i1.mjs} +1 -1
- package/dist/{command-DQcG8PK-.mjs → command-WrVIhg73.mjs} +1 -1
- package/dist/{completions-VR53Fiec.mjs → completions-UDpzduKn.mjs} +1 -1
- package/dist/{connector-interrupts-hfttjm-b.mjs → connector-interrupts-47IuSZFG.mjs} +1 -1
- package/dist/{connector-telemetry-events-5nVvivYA.mjs → connector-telemetry-events-BQb3Hsnt.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-DKk_7VQa.mjs → connector-telemetry-snapshots-CeFJqT4_.mjs} +1 -1
- package/dist/{connectors-CvX4Z3cg.mjs → connectors-CF9n8yHv.mjs} +1 -1
- package/dist/{containers-BU9RquYh.mjs → containers-D4pJisp-.mjs} +7 -7
- package/dist/{containers-BQxj87na.mjs → containers-DBs5P8vO.mjs} +1 -1
- package/dist/{content-scan-hWh-aGbO.mjs → content-scan-DLdl9ZpM.mjs} +1 -1
- package/dist/{context-CPVzoKbN.mjs → context-C71TA0Yp.mjs} +1 -1
- package/dist/{cps-o8QQFfnF.mjs → cps-X4HFj7Qw.mjs} +1 -1
- package/dist/{csamScanner-DHod3Hak.mjs → csamScanner-tkB73Sgi.mjs} +1 -1
- package/dist/{ct-alerting-D-_YsE1x.mjs → ct-alerting-HDZJVnZS.mjs} +1 -1
- package/dist/{custom-certificates-UnaVRb3W.mjs → custom-certificates-ClGBR4Oo.mjs} +1 -1
- package/dist/{custom-csrs-BCJ7LOUe.mjs → custom-csrs-D3b2bNiX.mjs} +1 -1
- package/dist/{custom-hostnames-DOluVIfa.mjs → custom-hostnames-CWyObX98.mjs} +1 -1
- package/dist/{custom-nameservers-CvIucaA2.mjs → custom-nameservers-Di8z6ioQ.mjs} +1 -1
- package/dist/{custom-pages-DzrXSeCR.mjs → custom-pages-D2l1rZfJ.mjs} +1 -1
- package/dist/d1-aDiX5BdB.mjs +41 -0
- package/dist/{dcv-delegation-9bMHPSoc.mjs → dcv-delegation-D-vyZC0M.mjs} +1 -1
- package/dist/{deploy-BT_EVz0K.mjs → deploy-DBmw0fiq.mjs} +1 -1
- package/dist/{deploy-input-YW632ysz.mjs → deploy-input-DxuYgPps.mjs} +1 -1
- package/dist/{dev-jRnP9IIJ.mjs → dev-SpCmvb4M.mjs} +1 -1
- package/dist/{diagnostics-BIe-XR-P.mjs → diagnostics-nRYcfs30.mjs} +1 -1
- package/dist/discover-CcGReXr0.mjs +2 -0
- package/dist/dist-BuCJ_55d.mjs +366 -0
- package/dist/{dist-COohnEBL.mjs → dist-Du72beRE.mjs} +3 -3
- package/dist/{dls-BuKO5QWL.mjs → dls-CANrS9Ke.mjs} +1 -1
- package/dist/{dns-DzVN-WA4.mjs → dns-Vt3Dc_Vu.mjs} +52 -43
- package/dist/{dns-firewall-Dx_XvWKJ.mjs → dns-firewall-CVSEaJZY.mjs} +1 -1
- package/dist/durable-objects-B-e7xqhL.mjs +6 -0
- package/dist/{email-auth-DqIyzEcR.mjs → email-auth-hUz_5D2H.mjs} +1 -1
- package/dist/{email-routing-8rhAmzOY.mjs → email-routing-By5Q7zP0.mjs} +1 -1
- package/dist/{email-security-BRq5J31C.mjs → email-security-C9VhlZkz.mjs} +50 -50
- package/dist/{email-sending-Bsfk4Jia.mjs → email-sending-C7cVl025.mjs} +1 -1
- package/dist/{error-sanitization-Dc4bLj8k.mjs → error-sanitization-BXqhvJsR.mjs} +1 -1
- package/dist/error-sanitization-CSlapZbU.mjs +2 -0
- package/dist/{fieldExtractors-COaK02vB.mjs → fieldExtractors-DMdnj9KA.mjs} +1 -1
- package/dist/{firewall-Dar706zc.mjs → firewall-C93JnCsO.mjs} +1 -1
- package/dist/flagship-CVZWzLTv.mjs +28 -0
- package/dist/{fraud-H-mdJfRU.mjs → fraud-DJ3jnp3_.mjs} +1 -1
- package/dist/generate-t4dFfFRV.mjs +2 -0
- package/dist/{google-tag-gateway-zqXS_12f.mjs → google-tag-gateway-DbE_3TkF.mjs} +1 -1
- package/dist/{healthchecks-x889sT8g.mjs → healthchecks-DKWTVerg.mjs} +1 -1
- package/dist/{hostnames-DqB5I-_U.mjs → hostnames-VNPfazJd.mjs} +1 -1
- package/dist/hyperdrive-BKtLQf8J.mjs +37 -0
- package/dist/{iam-CKt7U41p.mjs → iam-BsZ7ORd5.mjs} +1 -1
- package/dist/{images-CakdBcMc.mjs → images-Bd3lRkGK.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{init-CVyWV_Ow.mjs → init-D9pazuYJ.mjs} +2 -2
- package/dist/{intel-Dcv1vMsK.mjs → intel-ropzhmya.mjs} +1 -1
- package/dist/{ips-Ce9_k1Vh.mjs → ips-85Mq1qXg.mjs} +1 -1
- package/dist/{keyless-certificates-Cf_6sc7K.mjs → keyless-certificates-CRzCJ82O.mjs} +1 -1
- package/dist/{keys-DW2A43fL.mjs → keys-CWUCTmsD.mjs} +1 -1
- package/dist/{kv-BKBWXf8s.mjs → kv-BT2uSv-y.mjs} +1 -1
- package/dist/{lazy-command-BOjQB_U7.mjs → lazy-command-DjCioGYx.mjs} +1 -1
- package/dist/{leaked-credential-checks-D-gwxxaF.mjs → leaked-credential-checks-DjDq1Toq.mjs} +1 -1
- package/dist/{load-balancers-DHUVei95.mjs → load-balancers--4Ouz99G.mjs} +1 -1
- package/dist/{local-B3OyWKkW.mjs → local-C9i1d0ma.mjs} +1 -1
- package/dist/local-j2uOZ8Uq.mjs +2 -0
- package/dist/{local-runtime-Co5vVDlI.mjs → local-runtime-WQyZe3ed.mjs} +1 -1
- package/dist/{login-D37fy09s.mjs → login-BDFpobb3.mjs} +1 -1
- package/dist/{login-CptngugC.mjs → login-CHjklzf2.mjs} +1 -1
- package/dist/{logo-matches-D1aNSBnZ.mjs → logo-matches-DVQfRSCD.mjs} +1 -1
- package/dist/{logos-SyEjq15s.mjs → logos-BUEuiGuz.mjs} +1 -1
- package/dist/{logpush-l9tVWnua.mjs → logpush-cKUA9fBU.mjs} +1 -1
- package/dist/logs-2OJeMqWG.mjs +36 -0
- package/dist/{magic-cloud-networking-CN2Qd2Lx.mjs → magic-cloud-networking-D29ITjYQ.mjs} +1 -1
- package/dist/{magic-network-monitoring-8jxG-tPc.mjs → magic-network-monitoring-Bva_tF2u.mjs} +1 -1
- package/dist/{magic-transit-DLhIQz2l.mjs → magic-transit-DG_ZmEzW.mjs} +108 -112
- package/dist/{managed-defense-CgKdTd9J.mjs → managed-defense-xGCISaB_.mjs} +1 -1
- package/dist/{managed-transforms-BASi4j_s.mjs → managed-transforms-DDgqNWVJ.mjs} +1 -1
- package/dist/{matches-BCV6x948.mjs → matches-CxWA1zUN.mjs} +1 -1
- package/dist/{mcp-DQODvLQm.mjs → mcp-DVoYs5z5.mjs} +1 -1
- package/dist/{mesh-S_yYh-w3.mjs → mesh-qenm6AM4.mjs} +1 -1
- package/dist/{migrate-B4kBnkpV.mjs → migrate-CipwWhJE.mjs} +1 -1
- package/dist/monetization-CUWtxI_y.mjs +20 -0
- package/dist/{mtls-certificates-XJXK21J_.mjs → mtls-certificates-xUIkGtmX.mjs} +1 -1
- package/dist/{network-DA81Mcdh.mjs → network-Y8kCdzJC.mjs} +1 -1
- package/dist/{network-interconnects-OttR92s7.mjs → network-interconnects-CEvvsGwX.mjs} +1 -1
- package/dist/{oauth-CKeW8CqE.mjs → oauth-J2zz9fHk.mjs} +1 -1
- package/dist/{oauth-clients-Ba-YZsxB.mjs → oauth-clients-B7qfaBLY.mjs} +1 -1
- package/dist/{oauth-scopes-XqOk2zCQ.mjs → oauth-scopes-D7_xDwvo.mjs} +1 -1
- package/dist/{oauth-ChXrM0q9.mjs → oauth-vj6qkLCC.mjs} +1 -1
- package/dist/{observability-BdIbZ1D8.mjs → observability-_aI_XF0M.mjs} +1 -1
- package/dist/{organization-DnQ2_txo.mjs → organization-C41nlZcO.mjs} +7 -7
- package/dist/{organizations-BkI0IhEg.mjs → organizations-D15_q5u6.mjs} +1 -1
- package/dist/{origin-ca-certificates-Br91H1EG.mjs → origin-ca-certificates-DGSGDaNw.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-BcpK8DaG.mjs → origin-post-quantum-encryption-C_9NBBkG.mjs} +1 -1
- package/dist/{origin-tls-client-auth-CYK6YnzK.mjs → origin-tls-client-auth-Dh9vTi_F.mjs} +1 -1
- package/dist/{page-rules-DpOcNsJr.mjs → page-rules-CWZJaKuz.mjs} +1 -1
- package/dist/pages-CVlGF6mj.mjs +54 -0
- package/dist/{pay-per-crawl-BORpCGxC.mjs → pay-per-crawl-BJ10CSH9.mjs} +1 -1
- package/dist/{pay-per-use-CZw-KHEz.mjs → pay-per-use-B3eQmzWv.mjs} +1 -1
- package/dist/{pipelines-DDDyJ6Oe.mjs → pipelines-VhDz1fDL.mjs} +1 -1
- package/dist/{precursor-DrH1i64o.mjs → precursor-CvYpYouB.mjs} +1 -1
- package/dist/{previews-CiYBBKj8.mjs → previews-CJHqRKPF.mjs} +1 -1
- package/dist/{progress-DS2fwfNP.mjs → progress-BlxgG8Ss.mjs} +1 -1
- package/dist/{prompt-doX80PCd.mjs → prompt-ClEoR47s.mjs} +1 -1
- package/dist/{queries-CD6h6iEP.mjs → queries-8m5UOv21.mjs} +1 -1
- package/dist/{queues-3TpjE349.mjs → queues-C8P3RI-3.mjs} +1 -1
- package/dist/{r2-CV_hSFkM.mjs → r2-ChQ_GZA7.mjs} +27 -34
- package/dist/r2-data-catalog-DpktRU5y.mjs +2 -0
- package/dist/{radar-6-4_LoQ1.mjs → radar-B9PnH7nW.mjs} +1 -1
- package/dist/{raw-fetch-_Z55VEDY.mjs → raw-fetch-CWRDTVMr.mjs} +1 -1
- package/dist/{realtime-B5ce977I.mjs → realtime-31GZpgm5.mjs} +1 -1
- package/dist/{registrar-CF-3h2dN.mjs → registrar-fBw5wh-I.mjs} +2 -2
- package/dist/{registrar-sandbox-BDRZbyAV.mjs → registrar-sandbox-Bcr5l7Js.mjs} +2 -2
- package/dist/{registry-DBMUTYqf.mjs → registry-rtPfnFht.mjs} +1 -1
- package/dist/{reporting-CiS-RBNJ.mjs → reporting-BfpNLeGh.mjs} +1 -1
- package/dist/{request-headers-DPbWytRv.mjs → request-headers-DmiSqfLo.mjs} +1 -1
- package/dist/{request-tracers-Drcpv8ha.mjs → request-tracers-DCpDftuC.mjs} +1 -1
- package/dist/{resource-sharing-BI3CoOjl.mjs → resource-sharing-D-OCBlIj.mjs} +1 -1
- package/dist/{resource-tagging-D4i_-E0W.mjs → resource-tagging-DCn8TwS0.mjs} +1 -1
- package/dist/{rules-C4I4CLoq.mjs → rules-DHeYlXlI.mjs} +4 -4
- package/dist/{rulesets-c2efesdy.mjs → rulesets-BMv5GVEt.mjs} +20 -20
- package/dist/{rum-DT58nW8a.mjs → rum-CaTeqDsB.mjs} +1 -1
- package/dist/run-BJmOnVJI.mjs +2 -0
- package/dist/run-l2pCxS-W.mjs +2 -0
- package/dist/{schema-flags-DDW79Tda.mjs → schema-flags-DBujG5kJ.mjs} +1 -1
- package/dist/{scim-PfJWMuRu.mjs → scim-DHwWD1nA.mjs} +1 -1
- package/dist/{sdk-Bx29ZKK3.mjs → sdk-DzVznUuv.mjs} +1 -1
- package/dist/{secrets-store-7jrgww1J.mjs → secrets-store-DoH9JnqC.mjs} +1 -1
- package/dist/security-insights-oqJuf8MY.mjs +40 -0
- package/dist/{security-txt-ButEG3qy.mjs → security-txt-BY07I5Bx.mjs} +1 -1
- package/dist/{session-CjQFm10R.mjs → session-CZTuHcbm.mjs} +1 -1
- package/dist/{shared-JNtE--kh.mjs → shared-D0PR8DbO.mjs} +1 -1
- package/dist/{smart-shield-DgbYuUFC.mjs → smart-shield-g5UHGdCQ.mjs} +1 -1
- package/dist/{snippets-De-xVTIb.mjs → snippets-Bgn7ZKJo.mjs} +1 -1
- package/dist/{spawn-IM_tQldH.mjs → spawn-BSnyZB0W.mjs} +1 -1
- package/dist/{spectrum-DcknX0jS.mjs → spectrum-BmLwQKib.mjs} +1 -1
- package/dist/{speed-Cn_p-ieT.mjs → speed-CesLeufR.mjs} +1 -1
- package/dist/{src-BYjublVL.mjs → src-wDWeXeJp.mjs} +5 -5
- package/dist/{ssl-Bkn4ke9Q.mjs → ssl-DrYK9KX-.mjs} +1 -1
- package/dist/startup-profile-CLmojOrn.mjs +2 -0
- package/dist/{startup-profile-DrV846S5.mjs → startup-profile-CR7GMuLx.mjs} +2 -2
- package/dist/state-50FyMVTz.mjs +2 -0
- package/dist/{state-DhHOAdTo.mjs → state-BDkCKOju.mjs} +1 -1
- package/dist/{stream-Cx78uNm_.mjs → stream-D0sXaEj7.mjs} +1 -1
- package/dist/{submit-Gu34n1a6.mjs → submit-CpjZiCN9.mjs} +1 -1
- package/dist/{tags-BQqO7TLX.mjs → tags-B17h1YBS.mjs} +1 -1
- package/dist/telemetry-BqtdHwmi.mjs +2 -0
- package/dist/{telemetry-Qc-g_0fL.mjs → telemetry-D84K-X2j.mjs} +1 -1
- package/dist/tenant-S7-Cb54D.mjs +10 -0
- package/dist/{tenant-custom-nameservers-B5Nf5hLr.mjs → tenant-custom-nameservers-CZ8qgnt_.mjs} +1 -1
- package/dist/{tunnels-ndJtol-f.mjs → tunnels-DzSFv0qt.mjs} +1 -1
- package/dist/{turnstile-Cd65N6jD.mjs → turnstile-C5tc9QGH.mjs} +1 -1
- package/dist/update-check-7q-e6UWW.mjs +2 -0
- package/dist/{update-check-AraGlAQf.mjs → update-check-CpGj0g5l.mjs} +1 -1
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-info-CQKJ5A-x.mjs → url-info-lY7WbQzK.mjs} +1 -1
- package/dist/{url-normalization-BPXZwYu0.mjs → url-normalization-BHVZ4ULQ.mjs} +1 -1
- package/dist/{url-scanner-Bq43LJ98.mjs → url-scanner-DRnPOsj9.mjs} +1 -1
- package/dist/{user-D4InwQxA.mjs → user-DyT-q94n.mjs} +1 -1
- package/dist/{values-C3YLablc.mjs → values-BE3pRW6M.mjs} +1 -1
- package/dist/{vectorize-CYt0qXQ5.mjs → vectorize-CGl0BOXJ.mjs} +3 -3
- package/dist/version-DOZrLErk.mjs +2 -0
- package/dist/{waiting-rooms-B3ksWao9.mjs → waiting-rooms-DbhiDyp_.mjs} +1 -1
- package/dist/{web-assets-DNiElHgV.mjs → web-assets-noQwig7x.mjs} +1 -1
- package/dist/{web3-DfMKMDix.mjs → web3-Dts8-Peq.mjs} +1 -1
- package/dist/workers-DtZRm0HJ.mjs +38 -0
- package/dist/{workers-builds-DbEy311-.mjs → workers-builds-ean9unEX.mjs} +1 -1
- package/dist/workers-for-platforms-jdC-4D-X.mjs +42 -0
- package/dist/{workers-vpc-BEnB6e_3.mjs → workers-vpc-D2PZCegg.mjs} +1 -1
- package/dist/{workflows-CX3Zer8w.mjs → workflows-C9QBOzZz.mjs} +2 -2
- package/dist/{wrangler-migration-BDkh1_IV.mjs → wrangler-migration-BDnS1puc.mjs} +1 -1
- package/dist/{zaraz-DR1KbYY-.mjs → zaraz-DVLkn3fF.mjs} +1 -1
- package/dist/{zero-trust-CLoXVq1e.mjs → zero-trust-DfwISsW4.mjs} +427 -441
- package/dist/{zone-B9qejq6W.mjs → zone-DQV-hfHN.mjs} +1 -1
- package/dist/{zones-BxU08wO0.mjs → zones-By8IT3CV.mjs} +1 -1
- package/package.json +14 -13
- package/dist/abuse-reports-DoqL_52r.mjs +0 -26
- package/dist/account-DfC3gRTf.mjs +0 -12
- package/dist/build-DFa0ngeO.mjs +0 -2
- package/dist/chunk-M77HNR46-DPbhuhiy.mjs +0 -2
- package/dist/chunk-RV27PEH3-Cws_30ln.mjs +0 -97
- package/dist/d1-BCg7BhWi.mjs +0 -45
- package/dist/discover-DgHRf-qo.mjs +0 -2
- package/dist/dist-DfMipWKR.mjs +0 -366
- package/dist/durable-objects-DnU6OsEb.mjs +0 -8
- package/dist/error-sanitization-Cu-8OKRA.mjs +0 -2
- package/dist/flagship-CTchDpyw.mjs +0 -28
- package/dist/generate-qMU-2MgC.mjs +0 -2
- package/dist/hyperdrive-sR7Mwif9.mjs +0 -37
- package/dist/local-qOpZjDed.mjs +0 -2
- package/dist/logs-EW0Pq-gf.mjs +0 -48
- package/dist/pages-Cw4DM-1N.mjs +0 -60
- package/dist/r2-data-catalog-D_YHTMFG.mjs +0 -44
- package/dist/run-CJ-6owN3.mjs +0 -2
- package/dist/run-D0esoYSn.mjs +0 -2
- package/dist/security-center-BhUM_Flh.mjs +0 -30
- package/dist/startup-profile-B0UCc9_J.mjs +0 -2
- package/dist/state-Dyo8DcW7.mjs +0 -2
- package/dist/telemetry-D2UwfCd1.mjs +0 -2
- package/dist/tenant-Dr0hGlhU.mjs +0 -12
- package/dist/update-check-D5-zqJoN.mjs +0 -2
- package/dist/version-DyZwKU6l.mjs +0 -2
- package/dist/workers-C8uiRedD.mjs +0 -40
- package/dist/workers-for-platforms-BjvcY5A1.mjs +0 -25
- /package/dist/{alerts-DqZgVSCT.mjs → alerts-DY_7Nknx.mjs} +0 -0
- /package/dist/{autorag-Cq9k9Ye6.mjs → autorag-K396-M2S.mjs} +0 -0
- /package/dist/{discover-VRFBjse7.mjs → discover-B_3A4a_t.mjs} +0 -0
- /package/dist/{generate-iV6OVNin.mjs → generate-QUDsysBJ.mjs} +0 -0
- /package/dist/{rate-limit-analytics-Bw9qmxMx.mjs → rate-limit-analytics-YsGha5pH.mjs} +0 -0
- /package/dist/{rate-limits-CDm_xzKt.mjs → rate-limits-kH13NRdf.mjs} +0 -0
- /package/dist/{ready-BXGqY1Wi.mjs → ready-DYun4Fpn.mjs} +0 -0
- /package/dist/{recent-submissions-AhGZD3a3.mjs → recent-submissions-18NaOGOo.mjs} +0 -0
- /package/dist/{refute-D_w5Gw20.mjs → refute-BhMiJcE1.mjs} +0 -0
- /package/dist/{scan-logo-BZzFam-Q.mjs → scan-logo-7y0pqFMk.mjs} +0 -0
- /package/dist/{scan-page-BPA8nSPM.mjs → scan-page-B6jnK3QI.mjs} +0 -0
- /package/dist/{schema-CueLBLXC.mjs → schema-JVvksQ1J.mjs} +0 -0
- /package/dist/{search-De0UlXYN.mjs → search-Rn3Eefv8.mjs} +0 -0
- /package/dist/{signed-url-ziDz9frX.mjs → signed-url-Dzwy9Xiw.mjs} +0 -0
- /package/dist/{submission-info-83D2DCCG.mjs → submission-info-SNhkDRRZ.mjs} +0 -0
- /package/dist/{tools-BJbI_f35.mjs → tools-CFEubTr4.mjs} +0 -0
- /package/dist/{total-queries-Dhol31Kn.mjs → total-queries-B20xslrH.mjs} +0 -0
- /package/dist/{tracked-domains-DoOPs6Vd.mjs → tracked-domains-BCvIOZOK.mjs} +0 -0
- /package/dist/{verify-CxpGEnJb.mjs → verify-DOeBG4PL.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e,n as t}from"./source-38bULAR8.mjs";import{n,t as r}from"./ansi-styles-eKEZXVwN.mjs";import{t as i}from"./lazy-command-
|
|
2
|
+
import{i as e,n as t}from"./source-38bULAR8.mjs";import{n,t as r}from"./ansi-styles-eKEZXVwN.mjs";import{t as i}from"./lazy-command-DjCioGYx.mjs";import{n as a}from"./metadata-C33s4rc-.mjs";import{r as o}from"./theme-BIWQFmZ0.mjs";import{t as s}from"./agent-context-GRiQ4zRU.mjs";import{t as c}from"./args-CXgkQKK7.mjs";import{t as l}from"./cli-exit-Dqoo6Jgb.mjs";import{n as u,t as d}from"./dotenv-CcQjGlV0.mjs";import{r as f}from"./sdk-DzVznUuv.mjs";import{at as p}from"./dist-BuCJ_55d.mjs";import{n as m}from"./version-DOZrLErk.mjs";import{n as h,t as g}from"./banner-ClclgnBn.mjs";import{n as ee,t as _}from"./session-CZTuHcbm.mjs";import{t as v}from"./ui-BQxRjahW.mjs";import{i as y}from"./local-C9i1d0ma.mjs";import{a as te}from"./project-settings-DO6njFg_.mjs";import{a as ne,n as re,t as b}from"./lifecycle-C7tAC1Mn.mjs";import{createRequire as x}from"node:module";import{setTimeout as S}from"node:timers/promises";import{notStrictEqual as ie,strictEqual as C}from"assert";import{basename as ae,dirname as oe,extname as se,join as ce,normalize as le,relative as ue,resolve as w}from"path";import{readFileSync as de,readdirSync as fe,statSync as pe,writeFile as T}from"fs";import{format as me,inspect as he}from"util";import{fileURLToPath as ge}from"url";import{readFileSync as _e,readdirSync as ve}from"node:fs";const ye={right:Ce,center:we};var be=class{constructor(e){this.width=e.width,this.wrap=e.wrap??!0,this.rows=[]}span(...e){let t=this.div(...e);t.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(``),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]==`string`)return this.applyLayoutDSL(e[0]);let t=e.map(e=>typeof e==`string`?this.colFromString(e):e);return this.rows.push(t),t}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]==`string`&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){let t=e.split(`
|
|
3
3
|
`).map(e=>e.split(` `)),n=0;return t.forEach(e=>{e.length>1&&D.stringWidth(e[0])>n&&(n=Math.min(Math.floor(this.width*.5),D.stringWidth(e[0])))}),t.forEach(e=>{this.div(...e.map((t,r)=>({text:t.trim(),padding:this.measurePadding(t),width:r===0&&e.length>1?n:void 0})))}),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){let t=D.stripAnsi(e);return[0,t.match(/\s*$/)[0].length,0,t.match(/^\s*/)[0].length]}toString(){let e=[];return this.rows.forEach(t=>{this.rowToString(t,e)}),e.filter(e=>!e.hidden).map(e=>e.text).join(`
|
|
4
4
|
`)}rowToString(e,t){return this.rasterize(e).forEach((n,r)=>{let i=``;n.forEach((n,a)=>{let{width:o}=e[a],s=this.negatePadding(e[a]),c=n;if(s>D.stringWidth(n)&&(c+=` `.repeat(s-D.stringWidth(n))),e[a].align&&e[a].align!==`left`&&this.wrap){let t=ye[e[a].align];c=t(c,s),D.stringWidth(c)<s&&(c+=` `.repeat((o||0)-D.stringWidth(c)-1))}let l=e[a].padding||[0,0,0,0];l[3]&&(i+=` `.repeat(l[3])),i+=xe(e[a],c,`| `),i+=c,i+=xe(e[a],c,` |`),l[1]&&(i+=` `.repeat(l[1])),r===0&&t.length>0&&(i=this.renderInline(i,t[t.length-1]))}),t.push({text:i.replace(/ +$/,``),span:e.span})}),t}renderInline(e,t){let n=e.match(/^ */),r=n?n[0].length:0,i=t.text,a=D.stringWidth(i.trimRight());return t.span?this.wrap?r<a?e:(t.hidden=!0,i.trimRight()+` `.repeat(r-a)+e.trimLeft()):(t.hidden=!0,i+e):e}rasterize(e){let t=[],n=this.columnWidths(e),r;return e.forEach((e,i)=>{e.width=n[i],r=this.wrap?D.wrap(e.text,this.negatePadding(e),{hard:!0}).split(`
|
|
5
5
|
`):e.text.split(`
|
|
@@ -95,7 +95,7 @@ complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name
|
|
|
95
95
|
`)}`:``;t.fail(i(`Missing required argument: %s`,`Missing required arguments: %s`,Object.keys(r).length,Object.keys(r).join(`, `)+n))}},a.unknownArguments=function(n,r,o,s,c=!0){let l=e.getInternalMethods().getCommandInstance().getCommands(),u=[],d=e.getInternalMethods().getContext();if(Object.keys(n).forEach(t=>{!cn.includes(t)&&!Object.prototype.hasOwnProperty.call(o,t)&&!Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),t)&&!a.isValidAndSomeAliasIsNotNew(t,r)&&u.push(t)}),c&&(d.commands.length>0||l.length>0||s)&&n._.slice(d.commands.length).forEach(e=>{l.includes(``+e)||u.push(``+e)}),c){let t=e.getDemandedCommands()._?.max||0,r=d.commands.length+t;r<n._.length&&n._.slice(r).forEach(e=>{e=String(e),!d.commands.includes(e)&&!u.includes(e)&&u.push(e)})}u.length&&t.fail(i(`Unknown argument: %s`,`Unknown arguments: %s`,u.length,u.map(e=>e.trim()?e:`"${e}"`).join(`, `)))},a.unknownCommands=function(n){let r=e.getInternalMethods().getCommandInstance().getCommands(),a=[],o=e.getInternalMethods().getContext();return(o.commands.length>0||r.length>0)&&n._.slice(o.commands.length).forEach(e=>{r.includes(``+e)||a.push(``+e)}),a.length>0?(t.fail(i(`Unknown command: %s`,`Unknown commands: %s`,a.length,a.join(`, `))),!0):!1},a.isValidAndSomeAliasIsNotNew=function(t,n){if(!Object.prototype.hasOwnProperty.call(n,t))return!1;let r=e.parsed.newAliases;return[t,...n[t]].some(e=>!Object.prototype.hasOwnProperty.call(r,e)||!r[t])},a.limitedChoices=function(n){let i=e.getOptions(),a={};if(!Object.keys(i.choices).length)return;Object.keys(n).forEach(e=>{cn.indexOf(e)===-1&&Object.prototype.hasOwnProperty.call(i.choices,e)&&[].concat(n[e]).forEach(t=>{i.choices[e].indexOf(t)===-1&&t!==void 0&&(a[e]=(a[e]||[]).concat(t))})});let o=Object.keys(a);if(!o.length)return;let s=r(`Invalid values:`);o.forEach(e=>{s+=`\n ${r(`Argument: %s, Given: %s, Choices: %s`,e,t.stringifiedValues(a[e]),t.stringifiedValues(i.choices[e]))}`}),t.fail(s)};let o={};a.implies=function(t,r){P(`<string|object> [array|number|string]`,[t,r],arguments.length),typeof t==`object`?Object.keys(t).forEach(e=>{a.implies(e,t[e])}):(e.global(t),o[t]||(o[t]=[]),Array.isArray(r)?r.forEach(e=>a.implies(t,e)):(j(r,void 0,n),o[t].push(r)))},a.getImplied=function(){return o};function s(e,t){let n=Number(t);return t=isNaN(n)?t:n,typeof t==`number`?t=e._.length>=t:t.match(/^--no-.+/)?(t=t.match(/^--no-(.+)/)[1],t=!Object.prototype.hasOwnProperty.call(e,t)):t=Object.prototype.hasOwnProperty.call(e,t),t}a.implications=function(e){let n=[];if(Object.keys(o).forEach(t=>{let r=t;(o[t]||[]).forEach(t=>{let i=r,a=t;i=s(e,i),t=s(e,t),i&&!t&&n.push(` ${r} -> ${a}`)})}),n.length){let e=`${r(`Implications failed:`)}\n`;n.forEach(t=>{e+=t}),t.fail(e)}};let c={};a.conflicts=function(t,n){P(`<string|object> [array|string]`,[t,n],arguments.length),typeof t==`object`?Object.keys(t).forEach(e=>{a.conflicts(e,t[e])}):(e.global(t),c[t]||(c[t]=[]),Array.isArray(n)?n.forEach(e=>a.conflicts(t,e)):c[t].push(n))},a.getConflicting=()=>c,a.conflicting=function(i){Object.keys(i).forEach(e=>{c[e]&&c[e].forEach(n=>{n&&i[e]!==void 0&&i[n]!==void 0&&t.fail(r(`Arguments %s and %s are mutually exclusive`,e,n))})}),e.getInternalMethods().getParserConfiguration()[`strip-dashed`]&&Object.keys(c).forEach(e=>{c[e].forEach(a=>{a&&i[n.Parser.camelCase(e)]!==void 0&&i[n.Parser.camelCase(a)]!==void 0&&t.fail(r(`Arguments %s and %s are mutually exclusive`,e,a))})})},a.recommendCommands=function(e,n){n=n.sort((e,t)=>t.length-e.length);let i=null,a=1/0;for(let t=0,r;(r=n[t])!==void 0;t++){let t=sn(e,r);t<=3&&t<a&&(a=t,i=r)}i&&t.fail(r(`Did you mean %s?`,i))},a.reset=function(e){return o=Jt(o,t=>!e[t]),c=Jt(c,t=>!e[t]),a};let l=[];return a.freeze=function(){l.push({implied:o,conflicting:c})},a.unfreeze=function(){let e=l.pop();j(e,void 0,n),{implied:o,conflicting:c}=e},a}let un=[],dn;function fn(e,t,n,r){dn=r;let i={};if(Object.prototype.hasOwnProperty.call(e,`extends`)){if(typeof e.extends!=`string`)return i;let a=/\.json|\..*rc$/.test(e.extends),o=null;if(a)o=mn(t,e.extends);else try{o=import.meta.resolve(e.extends)}catch{return e}pn(o),un.push(o),i=a?JSON.parse(dn.readFileSync(o,`utf8`)):r.require(e.extends),delete e.extends,i=fn(i,dn.path.dirname(o),n,dn)}return un=[],n?hn(i,e):Object.assign({},i,e)}function pn(e){if(un.indexOf(e)>-1)throw new N(`Circular extended configurations: '${e}'.`)}function mn(e,t){return dn.path.resolve(e,t)}function hn(e,t){let n={};function r(e){return e&&typeof e==`object`&&!Array.isArray(e)}Object.assign(n,e);for(let i of Object.keys(t))r(t[i])&&r(n[i])?n[i]=hn(e[i],t[i]):n[i]=t[i];return n}var F=function(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n},I=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},L,gn,_n,R,z,vn,B,yn,bn,V,xn,H,U,W,G,Sn,Cn,K,q,wn,Tn,J,En,Dn,On,Y,kn,X,An,jn,Mn,Z,Nn,Q,$;function Pn(e){return(t=[],n=e.process.cwd(),r)=>{let i=new _r(t,n,r,e);return Object.defineProperty(i,`argv`,{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}}const Fn=Symbol(`copyDoubleDash`),In=Symbol(`copyDoubleDash`),Ln=Symbol(`deleteFromParserHintObject`),Rn=Symbol(`emitWarning`),zn=Symbol(`freeze`),Bn=Symbol(`getDollarZero`),Vn=Symbol(`getParserConfiguration`),Hn=Symbol(`getUsageConfiguration`),Un=Symbol(`guessLocale`),Wn=Symbol(`guessVersion`),Gn=Symbol(`parsePositionalNumbers`),Kn=Symbol(`pkgUp`),qn=Symbol(`populateParserHintArray`),Jn=Symbol(`populateParserHintSingleValueDictionary`),Yn=Symbol(`populateParserHintArrayDictionary`),Xn=Symbol(`populateParserHintDictionary`),Zn=Symbol(`sanitizeKey`),Qn=Symbol(`setKey`),$n=Symbol(`unfreeze`),er=Symbol(`validateAsync`),tr=Symbol(`getCommandInstance`),nr=Symbol(`getContext`),rr=Symbol(`getHasOutput`),ir=Symbol(`getLoggerInstance`),ar=Symbol(`getParseContext`),or=Symbol(`getUsageInstance`),sr=Symbol(`getValidationInstance`),cr=Symbol(`hasParseCallback`),lr=Symbol(`isGlobalContext`),ur=Symbol(`postProcess`),dr=Symbol(`rebase`),fr=Symbol(`reset`),pr=Symbol(`runYargsParserAndExecuteCommands`),mr=Symbol(`runValidation`),hr=Symbol(`setHasOutput`),gr=Symbol(`kTrackManuallySetKeys`);var _r=class{constructor(e=[],t,n,r){this.customScriptName=!1,this.parsed=!1,L.set(this,void 0),gn.set(this,void 0),_n.set(this,{commands:[],fullCommands:[]}),R.set(this,null),z.set(this,null),vn.set(this,`show-hidden`),B.set(this,null),yn.set(this,!0),bn.set(this,{}),V.set(this,!0),xn.set(this,[]),H.set(this,void 0),U.set(this,{}),W.set(this,!1),G.set(this,null),Sn.set(this,!0),Cn.set(this,void 0),K.set(this,``),q.set(this,void 0),wn.set(this,void 0),Tn.set(this,{}),J.set(this,null),En.set(this,null),Dn.set(this,{}),On.set(this,{}),Y.set(this,void 0),kn.set(this,!1),X.set(this,void 0),An.set(this,!1),jn.set(this,!1),Mn.set(this,!1),Z.set(this,void 0),Nn.set(this,{}),Q.set(this,null),$.set(this,void 0),F(this,X,r,`f`),F(this,Y,e,`f`),F(this,gn,t,`f`),F(this,wn,n,`f`),F(this,H,new Ft(this),`f`),this.$0=this[Bn](),this[fr](),F(this,L,I(this,L,`f`),`f`),F(this,Z,I(this,Z,`f`),`f`),F(this,$,I(this,$,`f`),`f`),F(this,q,I(this,q,`f`),`f`),I(this,q,`f`).showHiddenOpt=I(this,vn,`f`),F(this,Cn,this[In](),`f`),I(this,X,`f`).y18n.setLocale(`en_US`)}addHelpOpt(e,t){return P(`[string|boolean] [string]`,[e,t],arguments.length),I(this,G,`f`)&&(this[Ln](I(this,G,`f`)),F(this,G,null,`f`)),e===!1&&t===void 0?this:(F(this,G,typeof e==`string`?e:`help`,`f`),this.boolean(I(this,G,`f`)),this.describe(I(this,G,`f`),t||I(this,Z,`f`).deferY18nLookup(`Show help`)),this)}help(e,t){return this.addHelpOpt(e,t)}addShowHiddenOpt(e,t){if(P(`[string|boolean] [string]`,[e,t],arguments.length),e===!1&&t===void 0)return this;let n=typeof e==`string`?e:I(this,vn,`f`);return this.boolean(n),this.describe(n,t||I(this,Z,`f`).deferY18nLookup(`Show hidden options`)),I(this,q,`f`).showHiddenOpt=n,this}showHidden(e,t){return this.addShowHiddenOpt(e,t)}alias(e,t){return P(`<object|string|array> [string|array]`,[e,t],arguments.length),this[Yn](this.alias.bind(this),`alias`,e,t),this}array(e){return P(`<array|string>`,[e],arguments.length),this[qn](`array`,e),this[gr](e),this}boolean(e){return P(`<array|string>`,[e],arguments.length),this[qn](`boolean`,e),this[gr](e),this}check(e,t){return P(`<function> [boolean]`,[e,t],arguments.length),this.middleware((t,n)=>Rt(()=>e(t,n.getOptions()),n=>(n?(typeof n==`string`||n instanceof Error)&&I(this,Z,`f`).fail(n.toString(),n):I(this,Z,`f`).fail(I(this,X,`f`).y18n.__(`Argument check failed: %s`,e.toString())),t),e=>(I(this,Z,`f`).fail(e.message?e.message:e.toString(),e),t)),!1,t),this}choices(e,t){return P(`<object|string|array> [string|array]`,[e,t],arguments.length),this[Yn](this.choices.bind(this),`choices`,e,t),this}coerce(e,t){if(P(`<object|string|array> [function]`,[e,t],arguments.length),Array.isArray(e)){if(!t)throw new N(`coerce callback must be provided`);for(let n of e)this.coerce(n,t);return this}else if(typeof e==`object`){for(let t of Object.keys(e))this.coerce(t,e[t]);return this}if(!t)throw new N(`coerce callback must be provided`);let n=e;return I(this,q,`f`).key[n]=!0,I(this,H,`f`).addCoerceMiddleware((e,r)=>{let i=[n,...r.getAliases()[n]??[]].filter(t=>Object.prototype.hasOwnProperty.call(e,t));return i.length===0?e:Rt(()=>t(e[i[0]]),t=>(i.forEach(n=>{e[n]=t}),e),e=>{throw new N(e.message)})},n),this}conflicts(e,t){return P(`<string|object> [string|array]`,[e,t],arguments.length),I(this,$,`f`).conflicts(e,t),this}config(e=`config`,t,n){return P(`[object|string] [string|function] [function]`,[e,t,n],arguments.length),typeof e==`object`&&!Array.isArray(e)?(e=fn(e,I(this,gn,`f`),this[Vn]()[`deep-merge-config`]||!1,I(this,X,`f`)),I(this,q,`f`).configObjects=(I(this,q,`f`).configObjects||[]).concat(e),this):(typeof t==`function`&&(n=t,t=void 0),this.describe(e,t||I(this,Z,`f`).deferY18nLookup(`Path to JSON config file`)),(Array.isArray(e)?e:[e]).forEach(e=>{I(this,q,`f`).config[e]=n||!0}),this)}completion(e,t,n){return P(`[string] [string|boolean|function] [function]`,[e,t,n],arguments.length),typeof t==`function`&&(n=t,t=void 0),F(this,z,e||I(this,z,`f`)||`completion`,`f`),!t&&t!==!1&&(t=`generate completion script`),this.command(I(this,z,`f`),t),n&&I(this,R,`f`).registerFunction(n),this}command(e,t,n,r,i,a){return P(`<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]`,[e,t,n,r,i,a],arguments.length),I(this,L,`f`).addHandler(e,t,n,r,i,a),this}commands(e,t,n,r,i,a){return this.command(e,t,n,r,i,a)}commandDir(e,t){P(`<string> [object]`,[e,t],arguments.length);let n=I(this,wn,`f`)||I(this,X,`f`).require;return I(this,L,`f`).addDirectory(e,n,I(this,X,`f`).getCallerFile(),t),this}count(e){return P(`<array|string>`,[e],arguments.length),this[qn](`count`,e),this[gr](e),this}default(e,t,n){return P(`<object|string|array> [*] [string]`,[e,t,n],arguments.length),n&&(kt(e,I(this,X,`f`)),I(this,q,`f`).defaultDescription[e]=n),typeof t==`function`&&(kt(e,I(this,X,`f`)),I(this,q,`f`).defaultDescription[e]||(I(this,q,`f`).defaultDescription[e]=I(this,Z,`f`).functionDescription(t)),t=t.call()),this[Jn](this.default.bind(this),`default`,e,t),this}defaults(e,t,n){return this.default(e,t,n)}demandCommand(e=1,t,n,r){return P(`[number] [number|string] [string|null|undefined] [string|null|undefined]`,[e,t,n,r],arguments.length),typeof t!=`number`&&(n=t,t=1/0),this.global(`_`,!1),I(this,q,`f`).demandedCommands._={min:e,max:t,minMsg:n,maxMsg:r},this}demand(e,t,n){return Array.isArray(t)?(t.forEach(e=>{j(n,!0,I(this,X,`f`)),this.demandOption(e,n)}),t=1/0):typeof t!=`number`&&(n=t,t=1/0),typeof e==`number`?(j(n,!0,I(this,X,`f`)),this.demandCommand(e,t,n,n)):Array.isArray(e)?e.forEach(e=>{j(n,!0,I(this,X,`f`)),this.demandOption(e,n)}):typeof n==`string`?this.demandOption(e,n):(n===!0||n===void 0)&&this.demandOption(e),this}demandOption(e,t){return P(`<object|string|array> [string]`,[e,t],arguments.length),this[Jn](this.demandOption.bind(this),`demandedOptions`,e,t),this}deprecateOption(e,t){return P(`<string> [string|boolean]`,[e,t],arguments.length),I(this,q,`f`).deprecatedOptions[e]=t,this}describe(e,t){return P(`<object|string|array> [string]`,[e,t],arguments.length),this[Qn](e,!0),I(this,Z,`f`).describe(e,t),this}detectLocale(e){return P(`<boolean>`,[e],arguments.length),F(this,yn,e,`f`),this}env(e){return P(`[string|boolean]`,[e],arguments.length),e===!1?delete I(this,q,`f`).envPrefix:I(this,q,`f`).envPrefix=e||``,this}epilogue(e){return P(`<string>`,[e],arguments.length),I(this,Z,`f`).epilog(e),this}epilog(e){return this.epilogue(e)}example(e,t){return P(`<string|array> [string]`,[e,t],arguments.length),Array.isArray(e)?e.forEach(e=>this.example(...e)):I(this,Z,`f`).example(e,t),this}exit(e,t){F(this,W,!0,`f`),F(this,B,t,`f`),I(this,V,`f`)&&I(this,X,`f`).process.exit(e)}exitProcess(e=!0){return P(`[boolean]`,[e],arguments.length),F(this,V,e,`f`),this}fail(e){if(P(`<function|boolean>`,[e],arguments.length),typeof e==`boolean`&&e!==!1)throw new N(`Invalid first argument. Expected function or boolean 'false'`);return I(this,Z,`f`).failFn(e),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,t){return P(`<array> [function]`,[e,t],arguments.length),t?I(this,R,`f`).getCompletion(e,t):new Promise((t,n)=>{I(this,R,`f`).getCompletion(e,(e,r)=>{e?n(e):t(r)})})}getDemandedOptions(){return P([],0),I(this,q,`f`).demandedOptions}getDemandedCommands(){return P([],0),I(this,q,`f`).demandedCommands}getDeprecatedOptions(){return P([],0),I(this,q,`f`).deprecatedOptions}getDetectLocale(){return I(this,yn,`f`)}getExitProcess(){return I(this,V,`f`)}getGroups(){return Object.assign({},I(this,U,`f`),I(this,On,`f`))}getHelp(){if(F(this,W,!0,`f`),!I(this,Z,`f`).hasCachedHelpMessage()){if(!this.parsed){let e=this[pr](I(this,Y,`f`),void 0,void 0,0,!0);if(M(e))return e.then(()=>I(this,Z,`f`).help())}let e=I(this,L,`f`).runDefaultBuilderOn(this);if(M(e))return e.then(()=>I(this,Z,`f`).help())}return Promise.resolve(I(this,Z,`f`).help())}getOptions(){return I(this,q,`f`)}getStrict(){return I(this,An,`f`)}getStrictCommands(){return I(this,jn,`f`)}getStrictOptions(){return I(this,Mn,`f`)}global(e,t){return P(`<string|array> [boolean]`,[e,t],arguments.length),e=[].concat(e),t===!1?e.forEach(e=>{I(this,q,`f`).local.includes(e)||I(this,q,`f`).local.push(e)}):I(this,q,`f`).local=I(this,q,`f`).local.filter(t=>e.indexOf(t)===-1),this}group(e,t){P(`<string|array> <string>`,[e,t],arguments.length);let n=I(this,On,`f`)[t]||I(this,U,`f`)[t];I(this,On,`f`)[t]&&delete I(this,On,`f`)[t];let r={};return I(this,U,`f`)[t]=(n||[]).concat(e).filter(e=>r[e]?!1:r[e]=!0),this}hide(e){return P(`<string>`,[e],arguments.length),I(this,q,`f`).hiddenOptions.push(e),this}implies(e,t){return P(`<string|object> [number|string|array]`,[e,t],arguments.length),I(this,$,`f`).implies(e,t),this}locale(e){return P(`[string]`,[e],arguments.length),e===void 0?(this[Un](),I(this,X,`f`).y18n.getLocale()):(F(this,yn,!1,`f`),I(this,X,`f`).y18n.setLocale(e),this)}middleware(e,t,n){return I(this,H,`f`).addMiddleware(e,!!t,n)}nargs(e,t){return P(`<string|object|array> [number]`,[e,t],arguments.length),this[Jn](this.nargs.bind(this),`narg`,e,t),this}normalize(e){return P(`<array|string>`,[e],arguments.length),this[qn](`normalize`,e),this}number(e){return P(`<array|string>`,[e],arguments.length),this[qn](`number`,e),this[gr](e),this}option(e,t){if(P(`<string|object> [object]`,[e,t],arguments.length),typeof e==`object`)Object.keys(e).forEach(t=>{this.options(t,e[t])});else{typeof t!=`object`&&(t={}),this[gr](e),I(this,Q,`f`)&&(e===`version`||t?.alias===`version`)&&this[Rn]([`"version" is a reserved word.`,`Please do one of the following:`,'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)",`- Use a different option key`,`https://yargs.js.org/docs/#api-reference-version`].join(`
|
|
96
96
|
`),void 0,`versionWarning`),I(this,q,`f`).key[e]=!0,t.alias&&this.alias(e,t.alias);let n=t.deprecate||t.deprecated;n&&this.deprecateOption(e,n);let r=t.demand||t.required||t.require;r&&this.demand(e,r),t.demandOption&&this.demandOption(e,typeof t.demandOption==`string`?t.demandOption:void 0),t.conflicts&&this.conflicts(e,t.conflicts),`default`in t&&this.default(e,t.default),t.implies!==void 0&&this.implies(e,t.implies),t.nargs!==void 0&&this.nargs(e,t.nargs),t.config&&this.config(e,t.configParser),t.normalize&&this.normalize(e),t.choices&&this.choices(e,t.choices),t.coerce&&this.coerce(e,t.coerce),t.group&&this.group(e,t.group),(t.boolean||t.type===`boolean`)&&(this.boolean(e),t.alias&&this.boolean(t.alias)),(t.array||t.type===`array`)&&(this.array(e),t.alias&&this.array(t.alias)),(t.number||t.type===`number`)&&(this.number(e),t.alias&&this.number(t.alias)),(t.string||t.type===`string`)&&(this.string(e),t.alias&&this.string(t.alias)),(t.count||t.type===`count`)&&this.count(e),typeof t.global==`boolean`&&this.global(e,t.global),t.defaultDescription&&(I(this,q,`f`).defaultDescription[e]=t.defaultDescription),t.skipValidation&&this.skipValidation(e);let i=t.describe||t.description||t.desc,a=I(this,Z,`f`).getDescriptions();(!Object.prototype.hasOwnProperty.call(a,e)||typeof i==`string`)&&this.describe(e,i),t.hidden&&this.hide(e),t.requiresArg&&this.requiresArg(e)}return this}options(e,t){return this.option(e,t)}parse(e,t,n){P(`[string|array] [function|boolean|object] [function]`,[e,t,n],arguments.length),this[zn](),e===void 0&&(e=I(this,Y,`f`)),typeof t==`object`&&(F(this,En,t,`f`),t=n),typeof t==`function`&&(F(this,J,t,`f`),t=!1),t||F(this,Y,e,`f`),I(this,J,`f`)&&F(this,V,!1,`f`);let r=this[pr](e,!!t),i=this.parsed;return I(this,R,`f`).setParsed(this.parsed),M(r)?r.then(e=>(I(this,J,`f`)&&I(this,J,`f`).call(this,I(this,B,`f`),e,I(this,K,`f`)),e)).catch(e=>{throw I(this,J,`f`)&&I(this,J,`f`)(e,this.parsed.argv,I(this,K,`f`)),e}).finally(()=>{this[$n](),this.parsed=i}):(I(this,J,`f`)&&I(this,J,`f`).call(this,I(this,B,`f`),r,I(this,K,`f`)),this[$n](),this.parsed=i,r)}parseAsync(e,t,n){let r=this.parse(e,t,n);return M(r)?r:Promise.resolve(r)}parseSync(e,t,n){let r=this.parse(e,t,n);if(M(r))throw new N(`.parseSync() must not be used with asynchronous builders, handlers, or middleware`);return r}parserConfiguration(e){return P(`<object>`,[e],arguments.length),F(this,Tn,e,`f`),this}pkgConf(e,t){P(`<string> [string]`,[e,t],arguments.length);let n=null,r=this[Kn](t||I(this,gn,`f`));return r[e]&&typeof r[e]==`object`&&(n=fn(r[e],t||I(this,gn,`f`),this[Vn]()[`deep-merge-config`]||!1,I(this,X,`f`)),I(this,q,`f`).configObjects=(I(this,q,`f`).configObjects||[]).concat(n)),this}positional(e,t){P(`<string> <object>`,[e,t],arguments.length);let n=[`default`,`defaultDescription`,`implies`,`normalize`,`choices`,`conflicts`,`coerce`,`type`,`describe`,`desc`,`description`,`alias`];t=Jt(t,(e,t)=>e===`type`&&![`string`,`number`,`boolean`].includes(t)?!1:n.includes(e));let r=I(this,_n,`f`).fullCommands[I(this,_n,`f`).fullCommands.length-1],i=r?I(this,L,`f`).cmdToParseOptions(r):{array:[],alias:{},default:{},demand:{}};return At(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.indexOf(e)!==-1&&(t[n]=!0):r[e]&&!(n in t)&&(t[n]=r[e])}),this.group(e,I(this,Z,`f`).getPositionalGroupName()),this.option(e,t)}recommendCommands(e=!0){return P(`[boolean]`,[e],arguments.length),F(this,kn,e,`f`),this}required(e,t,n){return this.demand(e,t,n)}require(e,t,n){return this.demand(e,t,n)}requiresArg(e){return P(`<array|string|object> [number]`,[e],arguments.length),typeof e==`string`&&I(this,q,`f`).narg[e]||this[Jn](this.requiresArg.bind(this),`narg`,e,NaN),this}showCompletionScript(e,t){return P(`[string] [string]`,[e,t],arguments.length),e||=this.$0,I(this,Cn,`f`).log(I(this,R,`f`).generateCompletionScript(e,t||I(this,z,`f`)||`completion`)),this}showHelp(e){if(P(`[string|function]`,[e],arguments.length),F(this,W,!0,`f`),!I(this,Z,`f`).hasCachedHelpMessage()){if(!this.parsed){let t=this[pr](I(this,Y,`f`),void 0,void 0,0,!0);if(M(t))return t.then(()=>{I(this,Z,`f`).showHelp(e)}),this}let t=I(this,L,`f`).runDefaultBuilderOn(this);if(M(t))return t.then(()=>{I(this,Z,`f`).showHelp(e)}),this}return I(this,Z,`f`).showHelp(e),this}scriptName(e){return this.customScriptName=!0,this.$0=e,this}showHelpOnFail(e,t){return P(`[boolean|string] [string]`,[e,t],arguments.length),I(this,Z,`f`).showHelpOnFail(e,t),this}showVersion(e){return P(`[string|function]`,[e],arguments.length),I(this,Z,`f`).showVersion(e),this}skipValidation(e){return P(`<array|string>`,[e],arguments.length),this[qn](`skipValidation`,e),this}strict(e){return P(`[boolean]`,[e],arguments.length),F(this,An,e!==!1,`f`),this}strictCommands(e){return P(`[boolean]`,[e],arguments.length),F(this,jn,e!==!1,`f`),this}strictOptions(e){return P(`[boolean]`,[e],arguments.length),F(this,Mn,e!==!1,`f`),this}string(e){return P(`<array|string>`,[e],arguments.length),this[qn](`string`,e),this[gr](e),this}terminalWidth(){return P([],0),I(this,X,`f`).process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){return P(`<object>`,[e],arguments.length),F(this,yn,!1,`f`),I(this,X,`f`).y18n.updateLocale(e),this}usage(e,t,n,r){if(P(`<string|null|undefined> [string|boolean] [function|object] [function]`,[e,t,n,r],arguments.length),t!==void 0){if(j(e,null,I(this,X,`f`)),(e||``).match(/^\$0( |$)/))return this.command(e,t,n,r);throw new N(`.usage() description must start with $0 if being used as alias for .command()`)}else return I(this,Z,`f`).usage(e),this}usageConfiguration(e){return P(`<object>`,[e],arguments.length),F(this,Nn,e,`f`),this}version(e,t,n){let r=`version`;if(P(`[boolean|string] [string] [string]`,[e,t,n],arguments.length),I(this,Q,`f`)&&(this[Ln](I(this,Q,`f`)),I(this,Z,`f`).version(void 0),F(this,Q,null,`f`)),arguments.length===0)n=this[Wn](),e=r;else if(arguments.length===1){if(e===!1)return this;n=e,e=r}else arguments.length===2&&(n=t,t=void 0);return F(this,Q,typeof e==`string`?e:r,`f`),t||=I(this,Z,`f`).deferY18nLookup(`Show version number`),I(this,Z,`f`).version(n||void 0),this.boolean(I(this,Q,`f`)),this.describe(I(this,Q,`f`),t),this}wrap(e){return P(`<number|null|undefined>`,[e],arguments.length),I(this,Z,`f`).wrap(e),this}[(L=new WeakMap,gn=new WeakMap,_n=new WeakMap,R=new WeakMap,z=new WeakMap,vn=new WeakMap,B=new WeakMap,yn=new WeakMap,bn=new WeakMap,V=new WeakMap,xn=new WeakMap,H=new WeakMap,U=new WeakMap,W=new WeakMap,G=new WeakMap,Sn=new WeakMap,Cn=new WeakMap,K=new WeakMap,q=new WeakMap,wn=new WeakMap,Tn=new WeakMap,J=new WeakMap,En=new WeakMap,Dn=new WeakMap,On=new WeakMap,Y=new WeakMap,kn=new WeakMap,X=new WeakMap,An=new WeakMap,jn=new WeakMap,Mn=new WeakMap,Z=new WeakMap,Nn=new WeakMap,Q=new WeakMap,$=new WeakMap,Fn)](e){if(!e._||!e[`--`])return e;e._.push.apply(e._,e[`--`]);try{delete e[`--`]}catch{}return e}[In](){return{log:(...e)=>{this[cr]()||console.log(...e),F(this,W,!0,`f`),I(this,K,`f`).length&&F(this,K,I(this,K,`f`)+`
|
|
97
97
|
`,`f`),F(this,K,I(this,K,`f`)+e.join(` `),`f`)},error:(...e)=>{this[cr]()||console.error(...e),F(this,W,!0,`f`),I(this,K,`f`).length&&F(this,K,I(this,K,`f`)+`
|
|
98
|
-
`,`f`),F(this,K,I(this,K,`f`)+e.join(` `),`f`)}}}[Ln](e){At(I(this,q,`f`)).forEach(t=>{if((e=>e===`configObjects`)(t))return;let n=I(this,q,`f`)[t];Array.isArray(n)?n.includes(e)&&n.splice(n.indexOf(e),1):typeof n==`object`&&delete n[e]}),delete I(this,Z,`f`).getDescriptions()[e]}[Rn](e,t,n){I(this,bn,`f`)[n]||(I(this,X,`f`).process.emitWarning(e,t),I(this,bn,`f`)[n]=!0)}[zn](){I(this,xn,`f`).push({options:I(this,q,`f`),configObjects:I(this,q,`f`).configObjects.slice(0),exitProcess:I(this,V,`f`),groups:I(this,U,`f`),strict:I(this,An,`f`),strictCommands:I(this,jn,`f`),strictOptions:I(this,Mn,`f`),completionCommand:I(this,z,`f`),output:I(this,K,`f`),exitError:I(this,B,`f`),hasOutput:I(this,W,`f`),parsed:this.parsed,parseFn:I(this,J,`f`),parseContext:I(this,En,`f`)}),I(this,Z,`f`).freeze(),I(this,$,`f`).freeze(),I(this,L,`f`).freeze(),I(this,H,`f`).freeze()}[Bn](){let e=``,t;return t=/\b(node|iojs|electron)(\.exe)?$/.test(I(this,X,`f`).process.argv()[0])?I(this,X,`f`).process.argv().slice(1,2):I(this,X,`f`).process.argv().slice(0,1),e=t.map(e=>{let t=this[dr](I(this,gn,`f`),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e}).join(` `).trim(),I(this,X,`f`).getEnv(`_`)&&I(this,X,`f`).getProcessArgvBin()===I(this,X,`f`).getEnv(`_`)&&(e=I(this,X,`f`).getEnv(`_`).replace(`${I(this,X,`f`).path.dirname(I(this,X,`f`).process.execPath())}/`,``)),e}[Vn](){return I(this,Tn,`f`)}[Hn](){return I(this,Nn,`f`)}[Un](){if(!I(this,yn,`f`))return;let e=I(this,X,`f`).getEnv(`LC_ALL`)||I(this,X,`f`).getEnv(`LC_MESSAGES`)||I(this,X,`f`).getEnv(`LANG`)||I(this,X,`f`).getEnv(`LANGUAGE`)||`en_US`;this.locale(e.replace(/[.:].*/,``))}[Wn](){return this[Kn]().version||`unknown`}[Gn](e){let t=e[`--`]?e[`--`]:e._;for(let e=0,n;(n=t[e])!==void 0;e++)I(this,X,`f`).Parser.looksLikeNumber(n)&&Number.isSafeInteger(Math.floor(parseFloat(`${n}`)))&&(t[e]=Number(n));return e}[Kn](e){let t=e||`*`;if(I(this,Dn,`f`)[t])return I(this,Dn,`f`)[t];let n={};try{let t=e||I(this,X,`f`).mainFilename;I(this,X,`f`).path.extname(t)&&(t=I(this,X,`f`).path.dirname(t));let r=I(this,X,`f`).findUp(t,(e,t)=>{if(t.includes(`package.json`))return`package.json`});j(r,void 0,I(this,X,`f`)),n=JSON.parse(I(this,X,`f`).readFileSync(r,`utf8`))}catch{}return I(this,Dn,`f`)[t]=n||{},I(this,Dn,`f`)[t]}[qn](e,t){t=[].concat(t),t.forEach(t=>{t=this[Zn](t),I(this,q,`f`)[e].push(t)})}[Jn](e,t,n,r){this[Xn](e,t,n,r,(e,t,n)=>{I(this,q,`f`)[e][t]=n})}[Yn](e,t,n,r){this[Xn](e,t,n,r,(e,t,n)=>{I(this,q,`f`)[e][t]=(I(this,q,`f`)[e][t]||[]).concat(n)})}[Xn](e,t,n,r,i){if(Array.isArray(n))n.forEach(t=>{e(t,r)});else if((e=>typeof e==`object`)(n))for(let t of At(n))e(t,n[t]);else i(t,this[Zn](n),r)}[Zn](e){return e===`__proto__`?`___proto___`:e}[Qn](e,t){return this[Jn](this[Qn].bind(this),`key`,e,t),this}[$n](){var e,t,n,r,i,a,o,s,c,l,u,d;let f=I(this,xn,`f`).pop();j(f,void 0,I(this,X,`f`));let p;e=this,t=this,n=this,r=this,i=this,a=this,o=this,s=this,c=this,l=this,u=this,d=this,{options:{set value(t){F(e,q,t,`f`)}}.value,configObjects:p,exitProcess:{set value(e){F(t,V,e,`f`)}}.value,groups:{set value(e){F(n,U,e,`f`)}}.value,output:{set value(e){F(r,K,e,`f`)}}.value,exitError:{set value(e){F(i,B,e,`f`)}}.value,hasOutput:{set value(e){F(a,W,e,`f`)}}.value,parsed:this.parsed,strict:{set value(e){F(o,An,e,`f`)}}.value,strictCommands:{set value(e){F(s,jn,e,`f`)}}.value,strictOptions:{set value(e){F(c,Mn,e,`f`)}}.value,completionCommand:{set value(e){F(l,z,e,`f`)}}.value,parseFn:{set value(e){F(u,J,e,`f`)}}.value,parseContext:{set value(e){F(d,En,e,`f`)}}.value}=f,I(this,q,`f`).configObjects=p,I(this,Z,`f`).unfreeze(),I(this,$,`f`).unfreeze(),I(this,L,`f`).unfreeze(),I(this,H,`f`).unfreeze()}[er](e,t){return Rt(t,t=>(e(t),t))}getInternalMethods(){return{getCommandInstance:this[tr].bind(this),getContext:this[nr].bind(this),getHasOutput:this[rr].bind(this),getLoggerInstance:this[ir].bind(this),getParseContext:this[ar].bind(this),getParserConfiguration:this[Vn].bind(this),getUsageConfiguration:this[Hn].bind(this),getUsageInstance:this[or].bind(this),getValidationInstance:this[sr].bind(this),hasParseCallback:this[cr].bind(this),isGlobalContext:this[lr].bind(this),postProcess:this[ur].bind(this),reset:this[fr].bind(this),runValidation:this[mr].bind(this),runYargsParserAndExecuteCommands:this[pr].bind(this),setHasOutput:this[hr].bind(this)}}[tr](){return I(this,L,`f`)}[nr](){return I(this,_n,`f`)}[rr](){return I(this,W,`f`)}[ir](){return I(this,Cn,`f`)}[ar](){return I(this,En,`f`)||{}}[or](){return I(this,Z,`f`)}[sr](){return I(this,$,`f`)}[cr](){return!!I(this,J,`f`)}[lr](){return I(this,Sn,`f`)}[ur](e,t,n,r){return n||M(e)?e:(t||(e=this[Fn](e)),(this[Vn]()[`parse-positional-numbers`]||this[Vn]()[`parse-positional-numbers`]===void 0)&&(e=this[Gn](e)),r&&(e=Lt(e,this,I(this,H,`f`).getMiddleware(),!1)),e)}[fr](e={}){F(this,q,I(this,q,`f`)||{},`f`);let t={};t.local=I(this,q,`f`).local||[],t.configObjects=I(this,q,`f`).configObjects||[];let n={};return t.local.forEach(t=>{n[t]=!0,(e[t]||[]).forEach(e=>{n[e]=!0})}),Object.assign(I(this,On,`f`),Object.keys(I(this,U,`f`)).reduce((e,t)=>{let r=I(this,U,`f`)[t].filter(e=>!(e in n));return r.length>0&&(e[t]=r),e},{})),F(this,U,{},`f`),[`array`,`boolean`,`string`,`skipValidation`,`count`,`normalize`,`number`,`hiddenOptions`].forEach(e=>{t[e]=(I(this,q,`f`)[e]||[]).filter(e=>!n[e])}),[`narg`,`key`,`alias`,`default`,`defaultDescription`,`config`,`choices`,`demandedOptions`,`demandedCommands`,`deprecatedOptions`].forEach(e=>{t[e]=Jt(I(this,q,`f`)[e],e=>!n[e])}),t.envPrefix=I(this,q,`f`).envPrefix,F(this,q,t,`f`),F(this,Z,I(this,Z,`f`)?I(this,Z,`f`).reset(n):Zt(this,I(this,X,`f`)),`f`),F(this,$,I(this,$,`f`)?I(this,$,`f`).reset(n):ln(this,I(this,Z,`f`),I(this,X,`f`)),`f`),F(this,L,I(this,L,`f`)?I(this,L,`f`).reset():Ht(I(this,Z,`f`),I(this,$,`f`),I(this,H,`f`),I(this,X,`f`)),`f`),I(this,R,`f`)||F(this,R,rn(this,I(this,Z,`f`),I(this,L,`f`),I(this,X,`f`)),`f`),I(this,H,`f`).reset(),F(this,z,null,`f`),F(this,K,``,`f`),F(this,B,null,`f`),F(this,W,!1,`f`),this.parsed=!1,this}[dr](e,t){return I(this,X,`f`).path.relative(e,t)}[pr](e,t,n,r=0,i=!1){let a=!!n||i;e||=I(this,Y,`f`),I(this,q,`f`).__=I(this,X,`f`).y18n.__,I(this,q,`f`).configuration=this[Vn]();let o=!!I(this,q,`f`).configuration[`populate--`],s=Object.assign({},I(this,q,`f`).configuration,{"populate--":!0}),c=I(this,X,`f`).Parser.detailed(e,Object.assign({},I(this,q,`f`),{configuration:{"parse-positional-numbers":!1,...s}})),l=Object.assign(c.argv,I(this,En,`f`)),u,d=c.aliases,f=!1,p=!1;Object.keys(l).forEach(e=>{e===I(this,G,`f`)&&l[e]?f=!0:e===I(this,Q,`f`)&&l[e]&&(p=!0)}),l.$0=this.$0,this.parsed=c,r===0&&I(this,Z,`f`).clearCachedHelpMessage();try{if(this[Un](),t)return this[ur](l,o,!!n,!1);I(this,G,`f`)&&[I(this,G,`f`)].concat(d[I(this,G,`f`)]||[]).filter(e=>e.length>1).includes(``+l._[l._.length-1])&&(l._.pop(),f=!0),F(this,Sn,!1,`f`);let s=I(this,L,`f`).getCommands(),m=I(this,R,`f`)?.completionKey?[I(this,R,`f`)?.completionKey,...this.getAliases()[I(this,R,`f`)?.completionKey]??[]].some(e=>Object.prototype.hasOwnProperty.call(l,e)):!1,h=f||m||i;if(l._.length){if(s.length){let e;for(let t=r||0,a;l._[t]!==void 0;t++)if(a=String(l._[t]),s.includes(a)&&a!==I(this,z,`f`)){let e=I(this,L,`f`).runCommand(a,this,c,t+1,i,f||p||i);return this[ur](e,o,!!n,!1)}else if(!e&&a!==I(this,z,`f`)){e=a;break}!I(this,L,`f`).hasDefaultCommand()&&I(this,kn,`f`)&&e&&!h&&I(this,$,`f`).recommendCommands(e,s)}I(this,z,`f`)&&l._.includes(I(this,z,`f`))&&!m&&(I(this,V,`f`)&&Yt(!0),this.showCompletionScript(),this.exit(0))}if(I(this,L,`f`).hasDefaultCommand()&&!h){let e=I(this,L,`f`).runCommand(null,this,c,0,i,f||p||i);return this[ur](e,o,!!n,!1)}if(m){I(this,V,`f`)&&Yt(!0),e=[].concat(e);let t=e.slice(e.indexOf(`--${I(this,R,`f`).completionKey}`)+1);return I(this,R,`f`).getCompletion(t,(e,t)=>{if(e)throw new N(e.message);(t||[]).forEach(e=>{I(this,Cn,`f`).log(e)}),this.exit(0)}),this[ur](l,!o,!!n,!1)}if(I(this,W,`f`)||(f?(I(this,V,`f`)&&Yt(!0),a=!0,this.showHelp(e=>{I(this,Cn,`f`).log(e),this.exit(0)})):p&&(I(this,V,`f`)&&Yt(!0),a=!0,I(this,Z,`f`).showVersion(`log`),this.exit(0))),!a&&I(this,q,`f`).skipValidation.length>0&&(a=Object.keys(l).some(e=>I(this,q,`f`).skipValidation.indexOf(e)>=0&&l[e]===!0)),!a){if(c.error)throw new N(c.error.message);if(!m){let e=this[mr](d,{},c.error);n||(u=Lt(l,this,I(this,H,`f`).getMiddleware(),!0)),u=this[er](e,u??l),M(u)&&!n&&(u=u.then(()=>Lt(l,this,I(this,H,`f`).getMiddleware(),!1)))}}}catch(e){if(e instanceof N)I(this,Z,`f`).fail(e.message,e);else throw e}return this[ur](u??l,o,!!n,!0)}[mr](e,t,n,r){let i={...this.getDemandedOptions()};return a=>{if(n)throw new N(n.message);I(this,$,`f`).nonOptionCount(a),I(this,$,`f`).requiredArguments(a,i);let o=!1;I(this,jn,`f`)&&(o=I(this,$,`f`).unknownCommands(a)),I(this,An,`f`)&&!o?I(this,$,`f`).unknownArguments(a,e,t,!!r):I(this,Mn,`f`)&&I(this,$,`f`).unknownArguments(a,e,{},!1,!1),I(this,$,`f`).limitedChoices(a),I(this,$,`f`).implications(a),I(this,$,`f`).conflicting(a)}}[hr](){F(this,W,!0,`f`)}[gr](e){if(typeof e==`string`)I(this,q,`f`).key[e]=!0;else for(let t of e)I(this,q,`f`).key[t]=!0}};function vr(e){return!!e&&typeof e.getInternalMethods==`function`}const yr=Pn(Ot),br=[{command:i(`abuse-reports`,`Submit and track abuse reports for phishing, malware, and other policy violations on Cloudflare-proxied sites`,()=>import(`./abuse-reports-DoqL_52r.mjs`),null),hideCommand:!0},{command:i(`access`,`Access protected applications and services`,()=>import(`./access-DRlrq_cq.mjs`),null),hideCommand:!1},{command:i(`account`,`account`,()=>import(`./account-DfC3gRTf.mjs`),null),hideCommand:!1},{command:i(`account-tags`,`account-tags`,()=>import(`./account-tags-DMCYk5rR.mjs`),null),hideCommand:!1},{command:i(`accounts`,`Account settings, members, roles, subscriptions, and API tokens for your Cloudflare account`,()=>import(`./accounts-BlVDzIWc.mjs`),null),hideCommand:!1},{command:i(`acm`,`acm`,()=>import(`./acm-CCc33e4l.mjs`),null),hideCommand:!0},{command:i(`addressing`,`addressing`,()=>import(`./addressing-BA-5A3jQ.mjs`),null),hideCommand:!1},{command:i(`agent-memory`,`agent-memory`,()=>import(`./agent-memory-Csgs8W5u.mjs`),null),hideCommand:!1},{command:i(`ai`,`ai`,()=>import(`./ai-BN_pzw7p.mjs`),null),hideCommand:!1},{command:i(`ai-audit`,`ai-audit`,()=>import(`./ai-audit-Dbln3Ai6.mjs`),null),hideCommand:!1},{command:i(`ai-gateway`,`Proxy, cache, rate-limit, and observe requests to AI providers — OpenAI, Anthropic, Workers AI, and more`,()=>import(`./ai-gateway-BhASWwdp.mjs`),null),hideCommand:!1},{command:i(`ai-search`,`Managed search-as-a-service: crawl, index, and query content with AI-powered relevance and chat completions`,()=>import(`./ai-search-DvA8g4xr.mjs`),null),hideCommand:!1},{command:i(`ai-security`,`Detect prompt injection, PII, and unsafe topics in traffic to your AI applications`,()=>import(`./ai-security-nualpneg.mjs`),null),hideCommand:!0},{command:i(`alerting`,`alerting`,()=>import(`./alerting-HUbVuQMl.mjs`),null),hideCommand:!0},{command:i(`alerts`,`alerts`,()=>import(`./alerts-DqZgVSCT.mjs`),null),hideCommand:!0},{command:i(`analytics`,`Zone-level traffic analytics — dashboard summaries, per-colo breakdowns, and Argo latency metrics`,()=>import(`./analytics-ClKN9YnQ.mjs`),null),hideCommand:!1},{command:i(`analytics_engine`,`analytics_engine`,()=>import(`./analytics_engine-DP_O5HIq.mjs`),null),hideCommand:!0},{command:i(`api-security`,`api-security`,()=>import(`./api-security-Ce_9nFH9.mjs`),null),hideCommand:!0},{command:i(`argo`,`Network optimization features that speed up and improve reliability of traffic to your origins`,()=>import(`./argo-CLLBrtiV.mjs`),null),hideCommand:!0},{command:i(`artifacts`,`artifacts`,()=>import(`./artifacts-CIxZX3VM.mjs`),null),hideCommand:!0},{command:i(`audit-logs`,`audit-logs`,()=>import(`./audit-logs-DjzIj9T4.mjs`),null),hideCommand:!0},{command:i(`autorag`,`autorag`,()=>import(`./autorag-Cq9k9Ye6.mjs`),null),hideCommand:!0},{command:i(`billing`,`Account billing profiles and usage data for Cloudflare subscriptions and add-on services`,()=>import(`./billing-tHlHhEVf.mjs`),null),hideCommand:!1},{command:i(`bot-management`,`bot-management`,()=>import(`./bot-management-ChV-gaXh.mjs`),null),hideCommand:!0},{command:i(`botnet-feed`,`Botnet threat intelligence feeds — IP and ASN-level data on known command-and-control infrastructure`,()=>import(`./botnet-feed-DQWBOEqC.mjs`),null),hideCommand:!0},{command:i(`brand-protection`,`brand-protection`,()=>import(`./brand-protection-B3afeuOj.mjs`),null),hideCommand:!0},{command:i(`brands`,`brands`,()=>import(`./brands-DeLbFxSt.mjs`),null),hideCommand:!0},{command:i(`browser-extension`,`browser-extension`,()=>import(`./browser-extension-C1zmKFDG.mjs`),null),hideCommand:!0},{command:i(`browser-run`,`browser-run`,()=>import(`./browser-run-eQMomr1x.mjs`),null),hideCommand:!1},{command:i(`builds`,`Build and deploy Workers from connected repositories, then inspect build status and logs.`,()=>import(`./builds-wTOvlp0S.mjs`),null),hideCommand:!1},{command:i(`cache`,`Purge cached content and configure Cache Reserve, tiered caching, and variant serving`,()=>import(`./cache-s4HK0we7.mjs`),null),hideCommand:!1},{command:i(`certificate-authorities`,`certificate-authorities`,()=>import(`./certificate-authorities-CaPUfYzA.mjs`),null),hideCommand:!0},{command:i(`clear`,`clear`,()=>import(`./clear-CRfI7WS7.mjs`),null),hideCommand:!0},{command:i(`client-certificates`,`client-certificates`,()=>import(`./client-certificates-BfNDnT8H.mjs`),null),hideCommand:!0},{command:i(`client-side-security`,`Client-Side Security — monitor JavaScript, connections, and cookies on your pages for supply-chain attacks`,()=>import(`./client-side-security-BV7iORbb.mjs`),null),hideCommand:!0},{command:i(`cloud-connector`,`Route traffic from Cloudflare directly to cloud provider services (AWS, Azure, GCP) without origin servers`,()=>import(`./cloud-connector-CGT8ezvv.mjs`),null),hideCommand:!1},{command:i(`cloudforce-one`,`Detection rule management APIs`,()=>import(`./cloudforce-one-BDhbXtA_.mjs`),null),hideCommand:!1},{command:i(`connector-interrupts`,`connector-interrupts`,()=>import(`./connector-interrupts-hfttjm-b.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-events`,`connector-telemetry-events`,()=>import(`./connector-telemetry-events-5nVvivYA.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-events-latest`,`connector-telemetry-events-latest`,()=>import(`./connector-telemetry-events-latest-D8p_dR8s.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-snapshots`,`connector-telemetry-snapshots`,()=>import(`./connector-telemetry-snapshots-DKk_7VQa.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-snapshots-latest`,`connector-telemetry-snapshots-latest`,()=>import(`./connector-telemetry-snapshots-latest-COFmzmlk.mjs`),null),hideCommand:!0},{command:i(`connectors`,`connectors`,()=>import(`./connectors-CvX4Z3cg.mjs`),null),hideCommand:!0},{command:i(`containers`,`Deploy and manage Containers applications on Cloudflare's global network`,()=>import(`./containers-BQxj87na.mjs`),null),hideCommand:!1},{command:i(`content-scan`,`Malicious uploads detection, scan uploaded content in HTTP requests for malware and malicious payloads`,()=>import(`./content-scan-hWh-aGbO.mjs`),null),hideCommand:!0},{command:i(`cps`,`cps`,()=>import(`./cps-o8QQFfnF.mjs`),null),hideCommand:!1},{command:i(`csamScanner`,`csamScanner`,()=>import(`./csamScanner-DHod3Hak.mjs`),null),hideCommand:!0},{command:i(`ct-alerting`,`ct-alerting`,()=>import(`./ct-alerting-D-_YsE1x.mjs`),null),hideCommand:!0},{command:i(`custom-certificates`,`custom-certificates`,()=>import(`./custom-certificates-UnaVRb3W.mjs`),null),hideCommand:!0},{command:i(`custom-csrs`,`custom-csrs`,()=>import(`./custom-csrs-BCJ7LOUe.mjs`),null),hideCommand:!1},{command:i(`custom-hostnames`,`custom-hostnames`,()=>import(`./custom-hostnames-DOluVIfa.mjs`),null),hideCommand:!0},{command:i(`custom-nameservers`,`custom-nameservers`,()=>import(`./custom-nameservers-CvIucaA2.mjs`),null),hideCommand:!1},{command:i(`custom-pages`,`Manage custom error and challenge pages and their assets for accounts and zones`,()=>import(`./custom-pages-DzrXSeCR.mjs`),null),hideCommand:!1},{command:i(`d1`,`D1 is Cloudflare's managed, serverless database with SQLite's SQL semantics, built-in disaster recovery, and Worker and HTTP API access.`,()=>import(`./d1-BCg7BhWi.mjs`),null),hideCommand:!1},{command:i(`dcv-delegation`,`dcv-delegation`,()=>import(`./dcv-delegation-9bMHPSoc.mjs`),null),hideCommand:!0},{command:i(`diagnostics`,`Network diagnostic tools — traceroutes from Cloudflare's edge and endpoint health checks`,()=>import(`./diagnostics-BIe-XR-P.mjs`),null),hideCommand:!0},{command:i(`dls`,`dls`,()=>import(`./dls-BuKO5QWL.mjs`),null),hideCommand:!0},{command:i(`dns`,`dns`,()=>import(`./dns-DzVN-WA4.mjs`),null),hideCommand:!1},{command:i(`dns-firewall`,`dns-firewall`,()=>import(`./dns-firewall-Dx_XvWKJ.mjs`),null),hideCommand:!0},{command:i(`domain-info`,`domain-info`,()=>import(`./domain-info-aiwP60Fo.mjs`),null),hideCommand:!0},{command:i(`durable-objects`,`durable-objects`,()=>import(`./durable-objects-DnU6OsEb.mjs`),null),hideCommand:!1},{command:i(`email-auth`,`email-auth`,()=>import(`./email-auth-DqIyzEcR.mjs`),null),hideCommand:!0},{command:i(`email-routing`,`Route incoming email to verified destination addresses or Workers with routing rules, catch-all behavior, and managed DNS records`,()=>import(`./email-routing-8rhAmzOY.mjs`),null),hideCommand:!1},{command:i(`email-security`,`Cloud email security — investigate threats, manage allow/block policies, and detect phishing`,()=>import(`./email-security-BRq5J31C.mjs`),null),hideCommand:!1},{command:i(`email-sending`,`Send transactional email and manage sending subdomains and their DNS configuration`,()=>import(`./email-sending-Bsfk4Jia.mjs`),null),hideCommand:!1},{command:i(`fieldExtractors`,`fieldExtractors`,()=>import(`./fieldExtractors-COaK02vB.mjs`),null),hideCommand:!0},{command:i(`firewall`,`Legacy firewall rules, zone lockdowns, access rules, user-agent blocking, and WAF packages`,()=>import(`./firewall-Dar706zc.mjs`),null),hideCommand:!1},{command:i(`flagship`,`flagship`,()=>import(`./flagship-CTchDpyw.mjs`),null),hideCommand:!0},{command:i(`fraud`,`fraud`,()=>import(`./fraud-H-mdJfRU.mjs`),null),hideCommand:!0},{command:i(`google-tag-gateway`,`Google Tag Gateway operations`,()=>import(`./google-tag-gateway-zqXS_12f.mjs`),null),hideCommand:!0},{command:i(`health`,`health`,()=>import(`./health-Bz33n-_F.mjs`),null),hideCommand:!0},{command:i(`healthchecks`,`Standalone health checks that monitor origin server availability from Cloudflare's edge`,()=>import(`./healthchecks-x889sT8g.mjs`),null),hideCommand:!0},{command:i(`hostnames`,`hostnames`,()=>import(`./hostnames-DqB5I-_U.mjs`),null),hideCommand:!0},{command:i(`hyperdrive`,`Accelerate access to existing databases by caching queries and pooling connections at the edge`,()=>import(`./hyperdrive-sR7Mwif9.mjs`),null),hideCommand:!1},{command:i(`iam`,`Identity and access management — permission groups, resource groups, user groups, and SSO connectors`,()=>import(`./iam-CKt7U41p.mjs`),null),hideCommand:!0},{command:i(`images`,`Store, resize, and deliver optimized images globally — variants, signing keys, and direct uploads`,()=>import(`./images-CakdBcMc.mjs`),null),hideCommand:!1},{command:i(`intel`,`Threat intelligence lookups — IP reputation, domain info, ASN details, WHOIS, and indicator feeds`,()=>import(`./intel-Dcv1vMsK.mjs`),null),hideCommand:!1},{command:i(`internal`,`internal`,()=>import(`./internal-BHrJbbdA.mjs`),null),hideCommand:!0},{command:i(`ips`,`ips`,()=>import(`./ips-Ce9_k1Vh.mjs`),null),hideCommand:!0},{command:i(`keyless-certificates`,`keyless-certificates`,()=>import(`./keyless-certificates-Cf_6sc7K.mjs`),null),hideCommand:!0},{command:i(`keys`,`keys`,()=>import(`./keys-DW2A43fL.mjs`),null),hideCommand:!0},{command:i(`kv`,`kv`,()=>import(`./kv-BKBWXf8s.mjs`),null),hideCommand:!1},{command:i(`leaked-credential-checks`,`Detect compromised credentials in login requests by checking against known breach databases`,()=>import(`./leaked-credential-checks-D-gwxxaF.mjs`),null),hideCommand:!0},{command:i(`live`,`live`,()=>import(`./live-a01OfPf9.mjs`),null),hideCommand:!0},{command:i(`load-balancers`,`Distribute traffic across origin pools with health monitoring, geo-steering, and failover`,()=>import(`./load-balancers-DHUVei95.mjs`),null),hideCommand:!1},{command:i(`logo-matches`,`logo-matches`,()=>import(`./logo-matches-D1aNSBnZ.mjs`),null),hideCommand:!0},{command:i(`logos`,`logos`,()=>import(`./logos-SyEjq15s.mjs`),null),hideCommand:!0},{command:i(`logpush`,`logpush`,()=>import(`./logpush-l9tVWnua.mjs`),null),hideCommand:!1},{command:i(`logs`,`Log control, retention, and raw log access — CMB config, ray ID lookups, and received fields`,()=>import(`./logs-EW0Pq-gf.mjs`),null),hideCommand:!1},{command:i(`magic-cloud-networking`,`magic-cloud-networking`,()=>import(`./magic-cloud-networking-CN2Qd2Lx.mjs`),null),hideCommand:!0},{command:i(`magic-network-monitoring`,`Flow-based network traffic monitoring with configurable alerting rules and VPC flow ingestion`,()=>import(`./magic-network-monitoring-8jxG-tPc.mjs`),null),hideCommand:!1},{command:i(`magic-transit`,`DDoS-protected network transit — GRE/IPsec tunnels, static routes, Magic WAN sites, connectors, and packet captures`,()=>import(`./magic-transit-DLhIQz2l.mjs`),null),hideCommand:!0},{command:i(`managed-defense`,`managed-defense`,()=>import(`./managed-defense-CgKdTd9J.mjs`),null),hideCommand:!1},{command:i(`managed-transforms`,`managed-transforms`,()=>import(`./managed-transforms-BASi4j_s.mjs`),null),hideCommand:!0},{command:i(`matches`,`matches`,()=>import(`./matches-BCV6x948.mjs`),null),hideCommand:!0},{command:i(`mcp`,`mcp`,()=>import(`./mcp-DQODvLQm.mjs`),null),hideCommand:!1},{command:i(`mesh`,`mesh`,()=>import(`./mesh-S_yYh-w3.mjs`),null),hideCommand:!0},{command:i(`mtls-certificates`,`mtls-certificates`,()=>import(`./mtls-certificates-XJXK21J_.mjs`),null),hideCommand:!0},{command:i(`network`,`network`,()=>import(`./network-DA81Mcdh.mjs`),null),hideCommand:!0},{command:i(`network-interconnects`,`Physical and virtual private interconnects between your infrastructure and Cloudflare's network`,()=>import(`./network-interconnects-OttR92s7.mjs`),null),hideCommand:!0},{command:i(`oauth-clients`,`oauth-clients`,()=>import(`./oauth-clients-Ba-YZsxB.mjs`),null),hideCommand:!0},{command:i(`oauth-scopes`,`oauth-scopes`,()=>import(`./oauth-scopes-XqOk2zCQ.mjs`),null),hideCommand:!0},{command:i(`observability`,`observability`,()=>import(`./observability-BdIbZ1D8.mjs`),null),hideCommand:!1},{command:i(`organization`,`organization`,()=>import(`./organization-DnQ2_txo.mjs`),null),hideCommand:!1},{command:i(`organizations`,`Multi-user organizations that group accounts, members, and shared settings under a single entity`,()=>import(`./organizations-BkI0IhEg.mjs`),null),hideCommand:!1},{command:i(`origin-ca-certificates`,`origin-ca-certificates`,()=>import(`./origin-ca-certificates-Br91H1EG.mjs`),null),hideCommand:!0},{command:i(`origin-post-quantum-encryption`,`Enable post-quantum key exchange for connections between Cloudflare and your origin server`,()=>import(`./origin-post-quantum-encryption-BcpK8DaG.mjs`),null),hideCommand:!0},{command:i(`origin-tls-client-auth`,`origin-tls-client-auth`,()=>import(`./origin-tls-client-auth-CYK6YnzK.mjs`),null),hideCommand:!0},{command:i(`page-rules`,`page-rules`,()=>import(`./page-rules-DpOcNsJr.mjs`),null),hideCommand:!0},{command:i(`pages`,`Full-stack application hosting with Git-integrated builds, preview deployments, and custom domains`,()=>import(`./pages-Cw4DM-1N.mjs`),null),hideCommand:!0},{command:i(`pay-per-crawl`,`pay-per-crawl`,()=>import(`./pay-per-crawl-BORpCGxC.mjs`),null),hideCommand:!1},{command:i(`pay-per-use`,`pay-per-use`,()=>import(`./pay-per-use-CZw-KHEz.mjs`),null),hideCommand:!1},{command:i(`pipelines`,`Ingest, transform, and route event streams into R2, analytics, or other destinations in real time`,()=>import(`./pipelines-DDDyJ6Oe.mjs`),null),hideCommand:!1},{command:i(`precursor`,`Precursor settings for a zone`,()=>import(`./precursor-DrH1i64o.mjs`),null),hideCommand:!0},{command:i(`queries`,`queries`,()=>import(`./queries-CD6h6iEP.mjs`),null),hideCommand:!0},{command:i(`queues`,`Reliable message queuing between Workers — produce, consume, and batch-process messages at scale`,()=>import(`./queues-3TpjE349.mjs`),null),hideCommand:!1},{command:i(`r2`,`S3-compatible object storage with zero egress fees — buckets, lifecycle rules, event notifications, and data migration`,()=>import(`./r2-CV_hSFkM.mjs`),null),hideCommand:!1},{command:i(`r2-data-catalog`,`Iceberg-compatible data catalog for R2 — organize objects into tables and namespaces for SQL query engines`,()=>import(`./r2-data-catalog-D_YHTMFG.mjs`),null),hideCommand:!0},{command:i(`radar`,`Internet-wide traffic intelligence — BGP, DNS, HTTP trends, attack data, and network quality insights`,()=>import(`./radar-6-4_LoQ1.mjs`),null),hideCommand:!0},{command:i(`rate-limit-analytics`,`rate-limit-analytics`,()=>import(`./rate-limit-analytics-Bw9qmxMx.mjs`),null),hideCommand:!1},{command:i(`rate-limits`,`Legacy per-zone rate limiting rules — prefer Advanced Rate Limiting in Rulesets for new configurations`,()=>import(`./rate-limits-CDm_xzKt.mjs`),null),hideCommand:!0},{command:i(`ready`,`ready`,()=>import(`./ready-BXGqY1Wi.mjs`),null),hideCommand:!0},{command:i(`realtime`,`Real-time audio, video, and data services on Cloudflare's global network`,()=>import(`./realtime-B5ce977I.mjs`),null),hideCommand:!1},{command:i(`recent-submissions`,`recent-submissions`,()=>import(`./recent-submissions-AhGZD3a3.mjs`),null),hideCommand:!0},{command:i(`refute`,`refute`,()=>import(`./refute-D_w5Gw20.mjs`),null),hideCommand:!0},{command:i(`registrar`,`registrar`,()=>import(`./registrar-CF-3h2dN.mjs`),null),hideCommand:!1},{command:i(`registrar-sandbox`,`registrar-sandbox`,()=>import(`./registrar-sandbox-BDRZbyAV.mjs`),null),hideCommand:!1},{command:i(`reporting`,`reporting`,()=>import(`./reporting-CiS-RBNJ.mjs`),null),hideCommand:!1},{command:i(`request-tracers`,`Trace how a request would be processed through Cloudflare's rules and configuration pipeline`,()=>import(`./request-tracers-Drcpv8ha.mjs`),null),hideCommand:!0},{command:i(`resource-sharing`,`Share Cloudflare resources (zones, accounts) across organizations with granular access controls`,()=>import(`./resource-sharing-BI3CoOjl.mjs`),null),hideCommand:!1},{command:i(`resource-tagging`,`resource-tagging`,()=>import(`./resource-tagging-D4i_-E0W.mjs`),null),hideCommand:!0},{command:i(`rules`,`Account-level IP lists, hostname lists, and other reusable lists referenced by Rulesets rules`,()=>import(`./rules-C4I4CLoq.mjs`),null),hideCommand:!0},{command:i(`rulesets`,`rulesets`,()=>import(`./rulesets-c2efesdy.mjs`),null),hideCommand:!1},{command:i(`rum`,`Real User Measurement (Web Analytics) — track page loads, Core Web Vitals, and visitor metrics`,()=>import(`./rum-DT58nW8a.mjs`),null),hideCommand:!0},{command:i(`scan-logo`,`scan-logo`,()=>import(`./scan-logo-BZzFam-Q.mjs`),null),hideCommand:!0},{command:i(`scan-page`,`scan-page`,()=>import(`./scan-page-BPA8nSPM.mjs`),null),hideCommand:!0},{command:i(`scim`,`SCIM 2.0 provisioning — manage users, groups, and identity provider sync for your account`,()=>import(`./scim-PfJWMuRu.mjs`),null),hideCommand:!0},{command:i(`search`,`search`,()=>import(`./search-De0UlXYN.mjs`),null),hideCommand:!0},{command:i(`secrets-store`,`Centralized secret management — store API keys, tokens, and credentials for use across Workers and other products`,()=>import(`./secrets-store-7jrgww1J.mjs`),null),hideCommand:!1},{command:i(`security-center`,`Security posture dashboard — view and manage security insights, misconfigurations, and vulnerabilities`,()=>import(`./security-center-BhUM_Flh.mjs`),null),hideCommand:!1},{command:i(`security-txt`,`Manage the /.well-known/security.txt file that tells security researchers how to report vulnerabilities`,()=>import(`./security-txt-ButEG3qy.mjs`),null),hideCommand:!0},{command:i(`signed-url`,`signed-url`,()=>import(`./signed-url-ziDz9frX.mjs`),null),hideCommand:!0},{command:i(`smart-shield`,`Smart Shield settings, health checks, and cache reserve management`,()=>import(`./smart-shield-DgbYuUFC.mjs`),null),hideCommand:!0},{command:i(`snippets`,`snippets`,()=>import(`./snippets-De-xVTIb.mjs`),null),hideCommand:!1},{command:i(`spectrum`,`Proxy and protect arbitrary TCP/UDP applications through Cloudflare's network with DDoS mitigation`,()=>import(`./spectrum-DcknX0jS.mjs`),null),hideCommand:!0},{command:i(`speed`,`Observatory speed tests — run Lighthouse audits, track performance trends, and schedule recurring tests`,()=>import(`./speed-Cn_p-ieT.mjs`),null),hideCommand:!1},{command:i(`ssl`,`SSL/TLS certificate management — certificate packs, Universal SSL, verification, and TLS mode recommendations`,()=>import(`./ssl-Bkn4ke9Q.mjs`),null),hideCommand:!0},{command:i(`stream`,`Video encoding, storage, and delivery — upload, live-stream, clip, caption, and embed video at scale`,()=>import(`./stream-Cx78uNm_.mjs`),null),hideCommand:!1},{command:i(`submission-info`,`submission-info`,()=>import(`./submission-info-83D2DCCG.mjs`),null),hideCommand:!0},{command:i(`submit`,`submit`,()=>import(`./submit-Gu34n1a6.mjs`),null),hideCommand:!0},{command:i(`tags`,`tags`,()=>import(`./tags-BQqO7TLX.mjs`),null),hideCommand:!0},{command:i(`tenant`,`tenant`,()=>import(`./tenant-Dr0hGlhU.mjs`),null),hideCommand:!1},{command:i(`tenant-custom-nameservers`,`tenant-custom-nameservers`,()=>import(`./tenant-custom-nameservers-B5Nf5hLr.mjs`),null),hideCommand:!0},{command:i(`total-queries`,`total-queries`,()=>import(`./total-queries-Dhol31Kn.mjs`),null),hideCommand:!0},{command:i(`tracked-domains`,`tracked-domains`,()=>import(`./tracked-domains-DoOPs6Vd.mjs`),null),hideCommand:!0},{command:i(`tunnels`,`tunnels`,()=>import(`./tunnels-ndJtol-f.mjs`),null),hideCommand:!0},{command:i(`turnstile`,`CAPTCHA-free bot verification widgets that protect forms and APIs without degrading user experience`,()=>import(`./turnstile-Cd65N6jD.mjs`),null),hideCommand:!0},{command:i(`url-info`,`url-info`,()=>import(`./url-info-CQKJ5A-x.mjs`),null),hideCommand:!0},{command:i(`url-normalization`,`url-normalization`,()=>import(`./url-normalization-BPXZwYu0.mjs`),null),hideCommand:!0},{command:i(`url-scanner`,`Scan URLs for phishing, malware, and other threats — submit scans and retrieve detailed results`,()=>import(`./url-scanner-Bq43LJ98.mjs`),null),hideCommand:!0},{command:i(`user`,`Your Cloudflare user profile, invitations, organizations, billing, and personal API tokens`,()=>import(`./user-D4InwQxA.mjs`),null),hideCommand:!1},{command:i(`values`,`values`,()=>import(`./values-C3YLablc.mjs`),null),hideCommand:!0},{command:i(`vectorize`,`vectorize`,()=>import(`./vectorize-CYt0qXQ5.mjs`),null),hideCommand:!0},{command:i(`verify`,`verify`,()=>import(`./verify-CxpGEnJb.mjs`),null),hideCommand:!0},{command:i(`waiting-rooms`,`Virtual queues that throttle traffic to your site during peak demand with customizable waiting pages`,()=>import(`./waiting-rooms-B3ksWao9.mjs`),null),hideCommand:!1},{command:i(`web-assets`,`web-assets`,()=>import(`./web-assets-DNiElHgV.mjs`),null),hideCommand:!0},{command:i(`web3`,`web3`,()=>import(`./web3-DfMKMDix.mjs`),null),hideCommand:!0},{command:i(`workers`,`workers`,()=>import(`./workers-C8uiRedD.mjs`),null),hideCommand:!1},{command:i(`workers-builds`,`workers-builds`,()=>import(`./workers-builds-DbEy311-.mjs`),null),hideCommand:!0},{command:i(`workers-for-platforms`,`workers-for-platforms`,()=>import(`./workers-for-platforms-BjvcY5A1.mjs`),null),hideCommand:!1},{command:i(`workers-vpc`,`workers-vpc`,()=>import(`./workers-vpc-BEnB6e_3.mjs`),null),hideCommand:!1},{command:i(`workflows`,`Durable, multi-step workflows that run on Workers with automatic retries and state persistence`,()=>import(`./workflows-CX3Zer8w.mjs`),null),hideCommand:!1},{command:i(`zaraz`,`Server-side tag manager — load third-party tools (analytics, pixels, etc.) from Cloudflare's edge without client-side JS`,()=>import(`./zaraz-DR1KbYY-.mjs`),null),hideCommand:!0},{command:i(`zero-trust`,`Cloudflare's SASE platform — secure access, device posture, DLP, tunnels, gateway policies, and network segmentation`,()=>import(`./zero-trust-CLoXVq1e.mjs`),null),hideCommand:!1},{command:i(`zone`,`zone`,()=>import(`./zone-B9qejq6W.mjs`),null),hideCommand:!1},{command:i(`zones`,`Zones are domains on Cloudflare — list, create, and configure domain settings`,()=>import(`./zones-BxU08wO0.mjs`),null),hideCommand:!1}];function xr(e){return typeof e==`object`&&!!e&&`schemas`in e&&typeof e.schemas==`object`&&e.schemas!==null&&!Array.isArray(e.schemas)}function Sr(e,t){if(!t)return e;let n=a(import.meta.url,`schemas.json`,xr);return!n||!Object.hasOwn(n.schemas,t)?e:`${e}\n\n${o.italic(`To inspect the exact API request, run ${o.code(`cf schema ${t}`)}`)}`}const Cr=[{kind:`root`,command:`auth`,describe:`Manage authentication and profiles`,dir:`auth`,load:()=>import(`./auth-CgPQplnD.mjs`),telemetry:{command:`auth`,recordArgs:!1}},{kind:`root`,command:`login`,describe:!1,dir:`login`,load:()=>import(`./login-D37fy09s.mjs`),telemetry:null},{kind:`root`,command:`build`,describe:`Build a project for Cloudflare`,dir:`build`,load:()=>import(`./build-DFa0ngeO.mjs`),telemetry:{command:`build`,classification:{safeFlags:[]}}},{kind:`root`,command:`complete [shell]`,describe:`Generate and handle shell completions`,dir:`completions`,load:()=>import(`./completions-VR53Fiec.mjs`),telemetry:null},{kind:`root`,command:`deploy`,describe:`Deploy a project to Cloudflare`,dir:`deploy`,load:()=>import(`./deploy-BT_EVz0K.mjs`),telemetry:{command:`deploy`,classification:{safeFlags:[`dry-run`,`prebuilt`,`containers-rollout`]}}},{kind:`root`,command:`dev [implArgs..]`,describe:`Run the project's Cloudflare dev server`,dir:`dev`,load:()=>import(`./dev-jRnP9IIJ.mjs`),telemetry:{command:`dev`,recordArgs:!1}},{kind:`root`,command:`init [directory]`,describe:`Create a new Cloudflare project or set up an existing one`,dir:`init`,load:()=>import(`./init-CVyWV_Ow.mjs`),telemetry:{command:`init`,classification:{safeFlags:[`install`,`package-manager`]}}},{kind:`root`,command:`migrate [path]`,describe:`Migrate a Wrangler project to cf`,dir:`migrate`,load:()=>import(`./migrate-B4kBnkpV.mjs`),telemetry:{command:`migrate`,recordArgs:!1}},{kind:`root`,command:`cli`,describe:`Discover commands and configure the cf CLI`,dir:`cli`,load:()=>import(`./cli-CT-QJu7q.mjs`),telemetry:{command:`cli`,recordArgs:!1}},{kind:`root`,command:`previews`,describe:`Manage Worker Previews`,dir:`previews`,load:()=>import(`./previews-CiYBBKj8.mjs`),telemetry:{command:`previews`,recordArgs:!1}},{kind:`root`,command:`schema [command..]`,describe:`Show API schema details for a command`,dir:`schema`,load:()=>import(`./schema-CueLBLXC.mjs`),telemetry:{command:`schema`,classification:{safeFlags:[`list`]}}},{kind:`root`,command:`tools`,describe:!1,dir:`tools`,load:()=>import(`./tools-BJbI_f35.mjs`),telemetry:{command:`tools`,classification:{safeFlags:[`text`]}}},{kind:`leafOverride`,emitKey:`ai/run`,dir:`ai/run`},{kind:`leafOverride`,emitKey:`registrar/registrations/create`,dir:`registrar/registrations/create`},{kind:`leaf`,parent:`workers/versions`,name:`create`,dir:`workers/versions/create`},{kind:`leaf`,parent:`containers`,name:`build`,dir:`containers/build`},{kind:`leaf`,parent:`containers`,name:`push`,dir:`containers/push`},{kind:`leaf`,parent:`containers/images`,name:`list`,dir:`containers/images/list`},{kind:`leaf`,parent:`containers/images`,name:`delete`,dir:`containers/images/delete`},{kind:`leaf`,parent:`containers`,name:`ssh`,dir:`containers/ssh`},{kind:`leaf`,parent:`pages`,name:`deploy`,dir:`pages/deploy`},{kind:`leaf`,parent:`workers`,name:`check`,dir:`workers/check`},{kind:`leaf`,parent:`workers`,name:`types`,dir:`workers/types`},{kind:`parentOverride`,parent:`access`,describe:`Access protected applications and services`,expose:!0},{kind:`leaf`,parent:`access`,name:`login`,dir:`access/login`},{kind:`leaf`,parent:`access`,name:`token`,dir:`access/token`},{kind:`leaf`,parent:`access`,name:`ssh-config`,dir:`access/ssh-config`},{kind:`leaf`,parent:`access`,name:`ssh-gen`,dir:`access/ssh-gen`},{kind:`leaf`,parent:`access`,name:`tcp`,dir:`access/tcp`},{kind:`leaf`,parent:`access`,name:`curl`,dir:`access/curl`},{kind:`leaf`,parent:`tunnels`,name:`diag`,dir:`tunnels/diag`},{kind:`leaf`,parent:`tunnels`,name:`login`,dir:`tunnels/login`},{kind:`leaf`,parent:`tunnels`,name:`quick-start`,dir:`tunnels/quick-start`},{kind:`leaf`,parent:`tunnels`,name:`ready`,dir:`tunnels/ready`},{kind:`leaf`,parent:`tunnels`,name:`run`,dir:`tunnels/run`},{kind:`leaf`,parent:`tunnels`,name:`tail`,dir:`tunnels/tail`},{kind:`subgroup`,parent:`d1`,name:`migrations`,dir:`d1/migrations`,describe:`Create, list, and apply D1 database migrations`},{kind:`subgroup`,parent:`workers`,name:`triggers`,dir:`workers/triggers`,describe:`Manage triggers (Routes, Workflows, Cron triggers etc.)`}];function wr(){return Cr.filter(e=>e.kind===`root`)}function Tr(e){return e.command.split(/\s+/)[0]??e.command}function Er(e){try{let t=new URL(e);return`${t.pathname.replace(/^\/client\/v\d+/,``)}${t.search}`}catch{return e}}function Dr(e){if(_(m),e instanceof f){let t=e.statusCode,n=e.body,r=t===void 0?`Envelope Error`:kr(t),i=[];if(n){let e=n;Array.isArray(e.errors)&&(i=e.errors)}let a=e.rawResponse?.url?`HTTP ${Er(e.rawResponse.url)}`:void 0,s=t===void 0?r:`${t} ${r}`,c=a?`${s} · ${a}`:s,l=o.muted(c),u=``;return i.length>0?u=i.map((e,t)=>{let n=typeof e.code==`number`?o.error(o.bold(`[${e.code}]`)):o.error(o.bold(`[error]`)),r=o.bold(e.message??``);return t===i.length-1?`${n} ${r}\n${l}`:`${n} ${r}`}).join(`
|
|
98
|
+
`,`f`),F(this,K,I(this,K,`f`)+e.join(` `),`f`)}}}[Ln](e){At(I(this,q,`f`)).forEach(t=>{if((e=>e===`configObjects`)(t))return;let n=I(this,q,`f`)[t];Array.isArray(n)?n.includes(e)&&n.splice(n.indexOf(e),1):typeof n==`object`&&delete n[e]}),delete I(this,Z,`f`).getDescriptions()[e]}[Rn](e,t,n){I(this,bn,`f`)[n]||(I(this,X,`f`).process.emitWarning(e,t),I(this,bn,`f`)[n]=!0)}[zn](){I(this,xn,`f`).push({options:I(this,q,`f`),configObjects:I(this,q,`f`).configObjects.slice(0),exitProcess:I(this,V,`f`),groups:I(this,U,`f`),strict:I(this,An,`f`),strictCommands:I(this,jn,`f`),strictOptions:I(this,Mn,`f`),completionCommand:I(this,z,`f`),output:I(this,K,`f`),exitError:I(this,B,`f`),hasOutput:I(this,W,`f`),parsed:this.parsed,parseFn:I(this,J,`f`),parseContext:I(this,En,`f`)}),I(this,Z,`f`).freeze(),I(this,$,`f`).freeze(),I(this,L,`f`).freeze(),I(this,H,`f`).freeze()}[Bn](){let e=``,t;return t=/\b(node|iojs|electron)(\.exe)?$/.test(I(this,X,`f`).process.argv()[0])?I(this,X,`f`).process.argv().slice(1,2):I(this,X,`f`).process.argv().slice(0,1),e=t.map(e=>{let t=this[dr](I(this,gn,`f`),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e}).join(` `).trim(),I(this,X,`f`).getEnv(`_`)&&I(this,X,`f`).getProcessArgvBin()===I(this,X,`f`).getEnv(`_`)&&(e=I(this,X,`f`).getEnv(`_`).replace(`${I(this,X,`f`).path.dirname(I(this,X,`f`).process.execPath())}/`,``)),e}[Vn](){return I(this,Tn,`f`)}[Hn](){return I(this,Nn,`f`)}[Un](){if(!I(this,yn,`f`))return;let e=I(this,X,`f`).getEnv(`LC_ALL`)||I(this,X,`f`).getEnv(`LC_MESSAGES`)||I(this,X,`f`).getEnv(`LANG`)||I(this,X,`f`).getEnv(`LANGUAGE`)||`en_US`;this.locale(e.replace(/[.:].*/,``))}[Wn](){return this[Kn]().version||`unknown`}[Gn](e){let t=e[`--`]?e[`--`]:e._;for(let e=0,n;(n=t[e])!==void 0;e++)I(this,X,`f`).Parser.looksLikeNumber(n)&&Number.isSafeInteger(Math.floor(parseFloat(`${n}`)))&&(t[e]=Number(n));return e}[Kn](e){let t=e||`*`;if(I(this,Dn,`f`)[t])return I(this,Dn,`f`)[t];let n={};try{let t=e||I(this,X,`f`).mainFilename;I(this,X,`f`).path.extname(t)&&(t=I(this,X,`f`).path.dirname(t));let r=I(this,X,`f`).findUp(t,(e,t)=>{if(t.includes(`package.json`))return`package.json`});j(r,void 0,I(this,X,`f`)),n=JSON.parse(I(this,X,`f`).readFileSync(r,`utf8`))}catch{}return I(this,Dn,`f`)[t]=n||{},I(this,Dn,`f`)[t]}[qn](e,t){t=[].concat(t),t.forEach(t=>{t=this[Zn](t),I(this,q,`f`)[e].push(t)})}[Jn](e,t,n,r){this[Xn](e,t,n,r,(e,t,n)=>{I(this,q,`f`)[e][t]=n})}[Yn](e,t,n,r){this[Xn](e,t,n,r,(e,t,n)=>{I(this,q,`f`)[e][t]=(I(this,q,`f`)[e][t]||[]).concat(n)})}[Xn](e,t,n,r,i){if(Array.isArray(n))n.forEach(t=>{e(t,r)});else if((e=>typeof e==`object`)(n))for(let t of At(n))e(t,n[t]);else i(t,this[Zn](n),r)}[Zn](e){return e===`__proto__`?`___proto___`:e}[Qn](e,t){return this[Jn](this[Qn].bind(this),`key`,e,t),this}[$n](){var e,t,n,r,i,a,o,s,c,l,u,d;let f=I(this,xn,`f`).pop();j(f,void 0,I(this,X,`f`));let p;e=this,t=this,n=this,r=this,i=this,a=this,o=this,s=this,c=this,l=this,u=this,d=this,{options:{set value(t){F(e,q,t,`f`)}}.value,configObjects:p,exitProcess:{set value(e){F(t,V,e,`f`)}}.value,groups:{set value(e){F(n,U,e,`f`)}}.value,output:{set value(e){F(r,K,e,`f`)}}.value,exitError:{set value(e){F(i,B,e,`f`)}}.value,hasOutput:{set value(e){F(a,W,e,`f`)}}.value,parsed:this.parsed,strict:{set value(e){F(o,An,e,`f`)}}.value,strictCommands:{set value(e){F(s,jn,e,`f`)}}.value,strictOptions:{set value(e){F(c,Mn,e,`f`)}}.value,completionCommand:{set value(e){F(l,z,e,`f`)}}.value,parseFn:{set value(e){F(u,J,e,`f`)}}.value,parseContext:{set value(e){F(d,En,e,`f`)}}.value}=f,I(this,q,`f`).configObjects=p,I(this,Z,`f`).unfreeze(),I(this,$,`f`).unfreeze(),I(this,L,`f`).unfreeze(),I(this,H,`f`).unfreeze()}[er](e,t){return Rt(t,t=>(e(t),t))}getInternalMethods(){return{getCommandInstance:this[tr].bind(this),getContext:this[nr].bind(this),getHasOutput:this[rr].bind(this),getLoggerInstance:this[ir].bind(this),getParseContext:this[ar].bind(this),getParserConfiguration:this[Vn].bind(this),getUsageConfiguration:this[Hn].bind(this),getUsageInstance:this[or].bind(this),getValidationInstance:this[sr].bind(this),hasParseCallback:this[cr].bind(this),isGlobalContext:this[lr].bind(this),postProcess:this[ur].bind(this),reset:this[fr].bind(this),runValidation:this[mr].bind(this),runYargsParserAndExecuteCommands:this[pr].bind(this),setHasOutput:this[hr].bind(this)}}[tr](){return I(this,L,`f`)}[nr](){return I(this,_n,`f`)}[rr](){return I(this,W,`f`)}[ir](){return I(this,Cn,`f`)}[ar](){return I(this,En,`f`)||{}}[or](){return I(this,Z,`f`)}[sr](){return I(this,$,`f`)}[cr](){return!!I(this,J,`f`)}[lr](){return I(this,Sn,`f`)}[ur](e,t,n,r){return n||M(e)?e:(t||(e=this[Fn](e)),(this[Vn]()[`parse-positional-numbers`]||this[Vn]()[`parse-positional-numbers`]===void 0)&&(e=this[Gn](e)),r&&(e=Lt(e,this,I(this,H,`f`).getMiddleware(),!1)),e)}[fr](e={}){F(this,q,I(this,q,`f`)||{},`f`);let t={};t.local=I(this,q,`f`).local||[],t.configObjects=I(this,q,`f`).configObjects||[];let n={};return t.local.forEach(t=>{n[t]=!0,(e[t]||[]).forEach(e=>{n[e]=!0})}),Object.assign(I(this,On,`f`),Object.keys(I(this,U,`f`)).reduce((e,t)=>{let r=I(this,U,`f`)[t].filter(e=>!(e in n));return r.length>0&&(e[t]=r),e},{})),F(this,U,{},`f`),[`array`,`boolean`,`string`,`skipValidation`,`count`,`normalize`,`number`,`hiddenOptions`].forEach(e=>{t[e]=(I(this,q,`f`)[e]||[]).filter(e=>!n[e])}),[`narg`,`key`,`alias`,`default`,`defaultDescription`,`config`,`choices`,`demandedOptions`,`demandedCommands`,`deprecatedOptions`].forEach(e=>{t[e]=Jt(I(this,q,`f`)[e],e=>!n[e])}),t.envPrefix=I(this,q,`f`).envPrefix,F(this,q,t,`f`),F(this,Z,I(this,Z,`f`)?I(this,Z,`f`).reset(n):Zt(this,I(this,X,`f`)),`f`),F(this,$,I(this,$,`f`)?I(this,$,`f`).reset(n):ln(this,I(this,Z,`f`),I(this,X,`f`)),`f`),F(this,L,I(this,L,`f`)?I(this,L,`f`).reset():Ht(I(this,Z,`f`),I(this,$,`f`),I(this,H,`f`),I(this,X,`f`)),`f`),I(this,R,`f`)||F(this,R,rn(this,I(this,Z,`f`),I(this,L,`f`),I(this,X,`f`)),`f`),I(this,H,`f`).reset(),F(this,z,null,`f`),F(this,K,``,`f`),F(this,B,null,`f`),F(this,W,!1,`f`),this.parsed=!1,this}[dr](e,t){return I(this,X,`f`).path.relative(e,t)}[pr](e,t,n,r=0,i=!1){let a=!!n||i;e||=I(this,Y,`f`),I(this,q,`f`).__=I(this,X,`f`).y18n.__,I(this,q,`f`).configuration=this[Vn]();let o=!!I(this,q,`f`).configuration[`populate--`],s=Object.assign({},I(this,q,`f`).configuration,{"populate--":!0}),c=I(this,X,`f`).Parser.detailed(e,Object.assign({},I(this,q,`f`),{configuration:{"parse-positional-numbers":!1,...s}})),l=Object.assign(c.argv,I(this,En,`f`)),u,d=c.aliases,f=!1,p=!1;Object.keys(l).forEach(e=>{e===I(this,G,`f`)&&l[e]?f=!0:e===I(this,Q,`f`)&&l[e]&&(p=!0)}),l.$0=this.$0,this.parsed=c,r===0&&I(this,Z,`f`).clearCachedHelpMessage();try{if(this[Un](),t)return this[ur](l,o,!!n,!1);I(this,G,`f`)&&[I(this,G,`f`)].concat(d[I(this,G,`f`)]||[]).filter(e=>e.length>1).includes(``+l._[l._.length-1])&&(l._.pop(),f=!0),F(this,Sn,!1,`f`);let s=I(this,L,`f`).getCommands(),m=I(this,R,`f`)?.completionKey?[I(this,R,`f`)?.completionKey,...this.getAliases()[I(this,R,`f`)?.completionKey]??[]].some(e=>Object.prototype.hasOwnProperty.call(l,e)):!1,h=f||m||i;if(l._.length){if(s.length){let e;for(let t=r||0,a;l._[t]!==void 0;t++)if(a=String(l._[t]),s.includes(a)&&a!==I(this,z,`f`)){let e=I(this,L,`f`).runCommand(a,this,c,t+1,i,f||p||i);return this[ur](e,o,!!n,!1)}else if(!e&&a!==I(this,z,`f`)){e=a;break}!I(this,L,`f`).hasDefaultCommand()&&I(this,kn,`f`)&&e&&!h&&I(this,$,`f`).recommendCommands(e,s)}I(this,z,`f`)&&l._.includes(I(this,z,`f`))&&!m&&(I(this,V,`f`)&&Yt(!0),this.showCompletionScript(),this.exit(0))}if(I(this,L,`f`).hasDefaultCommand()&&!h){let e=I(this,L,`f`).runCommand(null,this,c,0,i,f||p||i);return this[ur](e,o,!!n,!1)}if(m){I(this,V,`f`)&&Yt(!0),e=[].concat(e);let t=e.slice(e.indexOf(`--${I(this,R,`f`).completionKey}`)+1);return I(this,R,`f`).getCompletion(t,(e,t)=>{if(e)throw new N(e.message);(t||[]).forEach(e=>{I(this,Cn,`f`).log(e)}),this.exit(0)}),this[ur](l,!o,!!n,!1)}if(I(this,W,`f`)||(f?(I(this,V,`f`)&&Yt(!0),a=!0,this.showHelp(e=>{I(this,Cn,`f`).log(e),this.exit(0)})):p&&(I(this,V,`f`)&&Yt(!0),a=!0,I(this,Z,`f`).showVersion(`log`),this.exit(0))),!a&&I(this,q,`f`).skipValidation.length>0&&(a=Object.keys(l).some(e=>I(this,q,`f`).skipValidation.indexOf(e)>=0&&l[e]===!0)),!a){if(c.error)throw new N(c.error.message);if(!m){let e=this[mr](d,{},c.error);n||(u=Lt(l,this,I(this,H,`f`).getMiddleware(),!0)),u=this[er](e,u??l),M(u)&&!n&&(u=u.then(()=>Lt(l,this,I(this,H,`f`).getMiddleware(),!1)))}}}catch(e){if(e instanceof N)I(this,Z,`f`).fail(e.message,e);else throw e}return this[ur](u??l,o,!!n,!0)}[mr](e,t,n,r){let i={...this.getDemandedOptions()};return a=>{if(n)throw new N(n.message);I(this,$,`f`).nonOptionCount(a),I(this,$,`f`).requiredArguments(a,i);let o=!1;I(this,jn,`f`)&&(o=I(this,$,`f`).unknownCommands(a)),I(this,An,`f`)&&!o?I(this,$,`f`).unknownArguments(a,e,t,!!r):I(this,Mn,`f`)&&I(this,$,`f`).unknownArguments(a,e,{},!1,!1),I(this,$,`f`).limitedChoices(a),I(this,$,`f`).implications(a),I(this,$,`f`).conflicting(a)}}[hr](){F(this,W,!0,`f`)}[gr](e){if(typeof e==`string`)I(this,q,`f`).key[e]=!0;else for(let t of e)I(this,q,`f`).key[t]=!0}};function vr(e){return!!e&&typeof e.getInternalMethods==`function`}const yr=Pn(Ot),br=[{command:i(`abuse-reports`,`Submit and track abuse reports for phishing, malware, and other policy violations on Cloudflare-proxied sites`,()=>import(`./abuse-reports-D7Hrm0MV.mjs`),null),hideCommand:!1},{command:i(`access`,`Access protected applications and services`,()=>import(`./access-_upGyV1N.mjs`),null),hideCommand:!1},{command:i(`account-tags`,`account-tags`,()=>import(`./account-tags-CrijxKW6.mjs`),null),hideCommand:!1},{command:i(`accounts`,`Account settings, members, roles, subscriptions, and API tokens for your Cloudflare account`,()=>import(`./accounts-Db5SMjh2.mjs`),null),hideCommand:!1},{command:i(`acm`,`acm`,()=>import(`./acm-9cXKVj2C.mjs`),null),hideCommand:!0},{command:i(`addressing`,`addressing`,()=>import(`./addressing-D_FtdMEM.mjs`),null),hideCommand:!1},{command:i(`agent-memory`,`agent-memory`,()=>import(`./agent-memory-BygNv4aJ.mjs`),null),hideCommand:!1},{command:i(`ai`,`ai`,()=>import(`./ai-D-55e3UD.mjs`),null),hideCommand:!1},{command:i(`ai-audit`,`ai-audit`,()=>import(`./ai-audit-DDQ68vrA.mjs`),null),hideCommand:!1},{command:i(`ai-gateway`,`Proxy, cache, rate-limit, and observe requests to AI providers — OpenAI, Anthropic, Workers AI, and more`,()=>import(`./ai-gateway-sP2B_8Ef.mjs`),null),hideCommand:!1},{command:i(`ai-search`,`Managed search-as-a-service: crawl, index, and query content with AI-powered relevance and chat completions`,()=>import(`./ai-search-DvMUOhub.mjs`),null),hideCommand:!1},{command:i(`ai-security`,`Detect prompt injection, PII, and unsafe topics in traffic to your AI applications`,()=>import(`./ai-security-BVWVxZmP.mjs`),null),hideCommand:!0},{command:i(`alerting`,`alerting`,()=>import(`./alerting-DZ9gxuKS.mjs`),null),hideCommand:!0},{command:i(`alerts`,`alerts`,()=>import(`./alerts-DY_7Nknx.mjs`),null),hideCommand:!0},{command:i(`analytics`,`Zone-level traffic analytics — dashboard summaries, per-colo breakdowns, and Argo latency metrics`,()=>import(`./analytics-Y2xckwX1.mjs`),null),hideCommand:!1},{command:i(`analytics_engine`,`analytics_engine`,()=>import(`./analytics_engine-A8gMyUty.mjs`),null),hideCommand:!0},{command:i(`api-security`,`api-security`,()=>import(`./api-security-CNMyTBs-.mjs`),null),hideCommand:!0},{command:i(`argo`,`Network optimization features that speed up and improve reliability of traffic to your origins`,()=>import(`./argo-Be_3wk6n.mjs`),null),hideCommand:!0},{command:i(`artifacts`,`artifacts`,()=>import(`./artifacts-B8roQjRg.mjs`),null),hideCommand:!0},{command:i(`audit-logs`,`audit-logs`,()=>import(`./audit-logs-DgkSAyTu.mjs`),null),hideCommand:!0},{command:i(`autorag`,`autorag`,()=>import(`./autorag-K396-M2S.mjs`),null),hideCommand:!0},{command:i(`basin-catalog`,`Iceberg-compatible data catalog for R2 — organize objects into tables and namespaces for SQL query engines`,()=>import(`./basin-catalog-85ubk7YB.mjs`),null),hideCommand:!1},{command:i(`billing`,`Account billing profiles and usage data for Cloudflare subscriptions and add-on services`,()=>import(`./billing-Cc6_LzwM.mjs`),null),hideCommand:!1},{command:i(`bot-management`,`bot-management`,()=>import(`./bot-management-DSJtyyh_.mjs`),null),hideCommand:!0},{command:i(`botnet-feed`,`Botnet threat intelligence feeds — IP and ASN-level data on known command-and-control infrastructure`,()=>import(`./botnet-feed-BkhLL1Oz.mjs`),null),hideCommand:!0},{command:i(`brand-protection`,`brand-protection`,()=>import(`./brand-protection-Bldu6Tvz.mjs`),null),hideCommand:!0},{command:i(`brands`,`brands`,()=>import(`./brands-DeLbFxSt.mjs`),null),hideCommand:!0},{command:i(`browser-extension`,`browser-extension`,()=>import(`./browser-extension-C1zmKFDG.mjs`),null),hideCommand:!0},{command:i(`browser-run`,`browser-run`,()=>import(`./browser-run-B_0Fh5Cg.mjs`),null),hideCommand:!1},{command:i(`builds`,`Build and deploy Workers from connected repositories, then inspect build status and logs.`,()=>import(`./builds-BwP-UvyR.mjs`),null),hideCommand:!1},{command:i(`cache`,`Purge cached content and configure Cache Reserve, tiered caching, and variant serving`,()=>import(`./cache-DQDer_pF.mjs`),null),hideCommand:!1},{command:i(`certificate-authorities`,`certificate-authorities`,()=>import(`./certificate-authorities-Dfc0QVyT.mjs`),null),hideCommand:!0},{command:i(`clear`,`clear`,()=>import(`./clear-CRfI7WS7.mjs`),null),hideCommand:!0},{command:i(`client-certificates`,`client-certificates`,()=>import(`./client-certificates-BVfmuFsa.mjs`),null),hideCommand:!0},{command:i(`client-side-security`,`Client-Side Security — monitor JavaScript, connections, and cookies on your pages for supply-chain attacks`,()=>import(`./client-side-security-DiaSjw1y.mjs`),null),hideCommand:!0},{command:i(`cloud-connector`,`Route traffic from Cloudflare directly to cloud provider services (AWS, Azure, GCP) without origin servers`,()=>import(`./cloud-connector-B6iUAIzF.mjs`),null),hideCommand:!1},{command:i(`cloudforce-one`,`Detection rule management APIs`,()=>import(`./cloudforce-one-B2PweUyv.mjs`),null),hideCommand:!1},{command:i(`connector-interrupts`,`connector-interrupts`,()=>import(`./connector-interrupts-47IuSZFG.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-events`,`connector-telemetry-events`,()=>import(`./connector-telemetry-events-BQb3Hsnt.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-events-latest`,`connector-telemetry-events-latest`,()=>import(`./connector-telemetry-events-latest-D8p_dR8s.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-snapshots`,`connector-telemetry-snapshots`,()=>import(`./connector-telemetry-snapshots-CeFJqT4_.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-snapshots-latest`,`connector-telemetry-snapshots-latest`,()=>import(`./connector-telemetry-snapshots-latest-COFmzmlk.mjs`),null),hideCommand:!0},{command:i(`connectors`,`connectors`,()=>import(`./connectors-CF9n8yHv.mjs`),null),hideCommand:!0},{command:i(`containers`,`Deploy and manage Containers applications on Cloudflare's global network`,()=>import(`./containers-DBs5P8vO.mjs`),null),hideCommand:!1},{command:i(`content-scan`,`Malicious uploads detection, scan uploaded content in HTTP requests for malware and malicious payloads`,()=>import(`./content-scan-DLdl9ZpM.mjs`),null),hideCommand:!0},{command:i(`cps`,`cps`,()=>import(`./cps-X4HFj7Qw.mjs`),null),hideCommand:!1},{command:i(`csamScanner`,`csamScanner`,()=>import(`./csamScanner-tkB73Sgi.mjs`),null),hideCommand:!0},{command:i(`ct-alerting`,`ct-alerting`,()=>import(`./ct-alerting-HDZJVnZS.mjs`),null),hideCommand:!0},{command:i(`custom-certificates`,`custom-certificates`,()=>import(`./custom-certificates-ClGBR4Oo.mjs`),null),hideCommand:!0},{command:i(`custom-csrs`,`custom-csrs`,()=>import(`./custom-csrs-D3b2bNiX.mjs`),null),hideCommand:!1},{command:i(`custom-hostnames`,`custom-hostnames`,()=>import(`./custom-hostnames-CWyObX98.mjs`),null),hideCommand:!0},{command:i(`custom-nameservers`,`custom-nameservers`,()=>import(`./custom-nameservers-Di8z6ioQ.mjs`),null),hideCommand:!1},{command:i(`custom-pages`,`Manage custom error and challenge pages and their assets for accounts and zones`,()=>import(`./custom-pages-D2l1rZfJ.mjs`),null),hideCommand:!1},{command:i(`d1`,`D1 is Cloudflare's managed, serverless database with SQLite's SQL semantics, built-in disaster recovery, and Worker and HTTP API access.`,()=>import(`./d1-aDiX5BdB.mjs`),null),hideCommand:!1},{command:i(`dcv-delegation`,`dcv-delegation`,()=>import(`./dcv-delegation-D-vyZC0M.mjs`),null),hideCommand:!0},{command:i(`diagnostics`,`Network diagnostic tools — traceroutes from Cloudflare's edge and endpoint health checks`,()=>import(`./diagnostics-nRYcfs30.mjs`),null),hideCommand:!0},{command:i(`dls`,`dls`,()=>import(`./dls-CANrS9Ke.mjs`),null),hideCommand:!0},{command:i(`dns`,`dns`,()=>import(`./dns-Vt3Dc_Vu.mjs`),null),hideCommand:!1},{command:i(`dns-firewall`,`dns-firewall`,()=>import(`./dns-firewall-CVSEaJZY.mjs`),null),hideCommand:!0},{command:i(`domain-info`,`domain-info`,()=>import(`./domain-info-aiwP60Fo.mjs`),null),hideCommand:!0},{command:i(`durable-objects`,`durable-objects`,()=>import(`./durable-objects-B-e7xqhL.mjs`),null),hideCommand:!1},{command:i(`email-auth`,`email-auth`,()=>import(`./email-auth-hUz_5D2H.mjs`),null),hideCommand:!0},{command:i(`email-routing`,`Route incoming email to verified destination addresses or Workers with routing rules, catch-all behavior, and managed DNS records`,()=>import(`./email-routing-By5Q7zP0.mjs`),null),hideCommand:!1},{command:i(`email-security`,`Cloud email security — investigate threats, manage allow/block policies, and detect phishing`,()=>import(`./email-security-C9VhlZkz.mjs`),null),hideCommand:!1},{command:i(`email-sending`,`Send transactional email and manage sending subdomains and their DNS configuration`,()=>import(`./email-sending-C7cVl025.mjs`),null),hideCommand:!1},{command:i(`fieldExtractors`,`fieldExtractors`,()=>import(`./fieldExtractors-DMdnj9KA.mjs`),null),hideCommand:!0},{command:i(`firewall`,`Legacy firewall rules, zone lockdowns, access rules, user-agent blocking, and WAF packages`,()=>import(`./firewall-C93JnCsO.mjs`),null),hideCommand:!1},{command:i(`flagship`,`flagship`,()=>import(`./flagship-CVZWzLTv.mjs`),null),hideCommand:!1},{command:i(`fraud`,`fraud`,()=>import(`./fraud-DJ3jnp3_.mjs`),null),hideCommand:!0},{command:i(`google-tag-gateway`,`Google Tag Gateway operations`,()=>import(`./google-tag-gateway-DbE_3TkF.mjs`),null),hideCommand:!0},{command:i(`health`,`health`,()=>import(`./health-Bz33n-_F.mjs`),null),hideCommand:!0},{command:i(`healthchecks`,`Standalone health checks that monitor origin server availability from Cloudflare's edge`,()=>import(`./healthchecks-DKWTVerg.mjs`),null),hideCommand:!0},{command:i(`hostnames`,`hostnames`,()=>import(`./hostnames-VNPfazJd.mjs`),null),hideCommand:!0},{command:i(`hyperdrive`,`Accelerate access to existing databases by caching queries and pooling connections at the edge`,()=>import(`./hyperdrive-BKtLQf8J.mjs`),null),hideCommand:!1},{command:i(`iam`,`Identity and access management — permission groups, resource groups, user groups, and SSO connectors`,()=>import(`./iam-BsZ7ORd5.mjs`),null),hideCommand:!0},{command:i(`images`,`Store, resize, and deliver optimized images globally — variants, signing keys, and direct uploads`,()=>import(`./images-Bd3lRkGK.mjs`),null),hideCommand:!1},{command:i(`intel`,`Threat intelligence lookups — IP reputation, domain info, ASN details, WHOIS, and indicator feeds`,()=>import(`./intel-ropzhmya.mjs`),null),hideCommand:!1},{command:i(`internal`,`internal`,()=>import(`./internal-BHrJbbdA.mjs`),null),hideCommand:!0},{command:i(`ips`,`ips`,()=>import(`./ips-85Mq1qXg.mjs`),null),hideCommand:!0},{command:i(`keyless-certificates`,`keyless-certificates`,()=>import(`./keyless-certificates-CRzCJ82O.mjs`),null),hideCommand:!0},{command:i(`keys`,`keys`,()=>import(`./keys-CWUCTmsD.mjs`),null),hideCommand:!1},{command:i(`kv`,`kv`,()=>import(`./kv-BT2uSv-y.mjs`),null),hideCommand:!1},{command:i(`leaked-credential-checks`,`Detect compromised credentials in login requests by checking against known breach databases`,()=>import(`./leaked-credential-checks-DjDq1Toq.mjs`),null),hideCommand:!0},{command:i(`live`,`live`,()=>import(`./live-a01OfPf9.mjs`),null),hideCommand:!0},{command:i(`load-balancers`,`Distribute traffic across origin pools with health monitoring, geo-steering, and failover`,()=>import(`./load-balancers--4Ouz99G.mjs`),null),hideCommand:!1},{command:i(`logo-matches`,`logo-matches`,()=>import(`./logo-matches-DVQfRSCD.mjs`),null),hideCommand:!0},{command:i(`logos`,`logos`,()=>import(`./logos-BUEuiGuz.mjs`),null),hideCommand:!0},{command:i(`logpush`,`logpush`,()=>import(`./logpush-cKUA9fBU.mjs`),null),hideCommand:!1},{command:i(`logs`,`Log control, retention, and raw log access — CMB config, ray ID lookups, and received fields`,()=>import(`./logs-2OJeMqWG.mjs`),null),hideCommand:!1},{command:i(`magic-cloud-networking`,`magic-cloud-networking`,()=>import(`./magic-cloud-networking-D29ITjYQ.mjs`),null),hideCommand:!0},{command:i(`magic-network-monitoring`,`Flow-based network traffic monitoring with configurable alerting rules and VPC flow ingestion`,()=>import(`./magic-network-monitoring-Bva_tF2u.mjs`),null),hideCommand:!1},{command:i(`magic-transit`,`DDoS-protected network transit — GRE/IPsec tunnels, static routes, Magic WAN sites, connectors, and packet captures`,()=>import(`./magic-transit-DG_ZmEzW.mjs`),null),hideCommand:!0},{command:i(`managed-defense`,`managed-defense`,()=>import(`./managed-defense-xGCISaB_.mjs`),null),hideCommand:!1},{command:i(`managed-transforms`,`managed-transforms`,()=>import(`./managed-transforms-DDgqNWVJ.mjs`),null),hideCommand:!0},{command:i(`matches`,`matches`,()=>import(`./matches-CxWA1zUN.mjs`),null),hideCommand:!0},{command:i(`mcp`,`mcp`,()=>import(`./mcp-DVoYs5z5.mjs`),null),hideCommand:!1},{command:i(`mesh`,`mesh`,()=>import(`./mesh-qenm6AM4.mjs`),null),hideCommand:!0},{command:i(`monetization`,`monetization`,()=>import(`./monetization-CUWtxI_y.mjs`),null),hideCommand:!1},{command:i(`mtls-certificates`,`mtls-certificates`,()=>import(`./mtls-certificates-xUIkGtmX.mjs`),null),hideCommand:!0},{command:i(`network`,`network`,()=>import(`./network-Y8kCdzJC.mjs`),null),hideCommand:!0},{command:i(`network-interconnects`,`Physical and virtual private interconnects between your infrastructure and Cloudflare's network`,()=>import(`./network-interconnects-CEvvsGwX.mjs`),null),hideCommand:!0},{command:i(`oauth-clients`,`oauth-clients`,()=>import(`./oauth-clients-B7qfaBLY.mjs`),null),hideCommand:!0},{command:i(`oauth-scopes`,`oauth-scopes`,()=>import(`./oauth-scopes-D7_xDwvo.mjs`),null),hideCommand:!0},{command:i(`observability`,`observability`,()=>import(`./observability-_aI_XF0M.mjs`),null),hideCommand:!1},{command:i(`organization`,`organization`,()=>import(`./organization-C41nlZcO.mjs`),null),hideCommand:!1},{command:i(`organizations`,`Multi-user organizations that group accounts, members, and shared settings under a single entity`,()=>import(`./organizations-D15_q5u6.mjs`),null),hideCommand:!1},{command:i(`origin-ca-certificates`,`origin-ca-certificates`,()=>import(`./origin-ca-certificates-DGSGDaNw.mjs`),null),hideCommand:!0},{command:i(`origin-post-quantum-encryption`,`Enable post-quantum key exchange for connections between Cloudflare and your origin server`,()=>import(`./origin-post-quantum-encryption-C_9NBBkG.mjs`),null),hideCommand:!0},{command:i(`origin-tls-client-auth`,`origin-tls-client-auth`,()=>import(`./origin-tls-client-auth-Dh9vTi_F.mjs`),null),hideCommand:!0},{command:i(`page-rules`,`page-rules`,()=>import(`./page-rules-CWZJaKuz.mjs`),null),hideCommand:!0},{command:i(`pages`,`Full-stack application hosting with Git-integrated builds, preview deployments, and custom domains`,()=>import(`./pages-CVlGF6mj.mjs`),null),hideCommand:!1},{command:i(`pay-per-crawl`,`pay-per-crawl`,()=>import(`./pay-per-crawl-BJ10CSH9.mjs`),null),hideCommand:!1},{command:i(`pay-per-use`,`pay-per-use`,()=>import(`./pay-per-use-B3eQmzWv.mjs`),null),hideCommand:!1},{command:i(`pipelines`,`Ingest, transform, and route event streams into R2, analytics, or other destinations in real time`,()=>import(`./pipelines-VhDz1fDL.mjs`),null),hideCommand:!1},{command:i(`precursor`,`Precursor settings for a zone`,()=>import(`./precursor-CvYpYouB.mjs`),null),hideCommand:!0},{command:i(`queries`,`queries`,()=>import(`./queries-8m5UOv21.mjs`),null),hideCommand:!0},{command:i(`queues`,`Reliable message queuing between Workers — produce, consume, and batch-process messages at scale`,()=>import(`./queues-C8P3RI-3.mjs`),null),hideCommand:!1},{command:i(`r2`,`S3-compatible object storage with zero egress fees — buckets, lifecycle rules, event notifications, and data migration`,()=>import(`./r2-ChQ_GZA7.mjs`),null),hideCommand:!1},{command:i(`r2-data-catalog`,`Iceberg-compatible data catalog for R2 — organize objects into tables and namespaces for SQL query engines`,()=>import(`./r2-data-catalog-DpktRU5y.mjs`),null),hideCommand:!1},{command:i(`radar`,`Internet-wide traffic intelligence — BGP, DNS, HTTP trends, attack data, and network quality insights`,()=>import(`./radar-B9PnH7nW.mjs`),null),hideCommand:!0},{command:i(`rate-limit-analytics`,`rate-limit-analytics`,()=>import(`./rate-limit-analytics-YsGha5pH.mjs`),null),hideCommand:!1},{command:i(`rate-limits`,`Legacy per-zone rate limiting rules — prefer Advanced Rate Limiting in Rulesets for new configurations`,()=>import(`./rate-limits-kH13NRdf.mjs`),null),hideCommand:!0},{command:i(`ready`,`ready`,()=>import(`./ready-DYun4Fpn.mjs`),null),hideCommand:!0},{command:i(`realtime`,`Real-time audio, video, and data services on Cloudflare's global network`,()=>import(`./realtime-31GZpgm5.mjs`),null),hideCommand:!1},{command:i(`recent-submissions`,`recent-submissions`,()=>import(`./recent-submissions-18NaOGOo.mjs`),null),hideCommand:!0},{command:i(`refute`,`refute`,()=>import(`./refute-BhMiJcE1.mjs`),null),hideCommand:!0},{command:i(`registrar`,`registrar`,()=>import(`./registrar-fBw5wh-I.mjs`),null),hideCommand:!1},{command:i(`registrar-sandbox`,`registrar-sandbox`,()=>import(`./registrar-sandbox-Bcr5l7Js.mjs`),null),hideCommand:!1},{command:i(`reporting`,`reporting`,()=>import(`./reporting-BfpNLeGh.mjs`),null),hideCommand:!1},{command:i(`request-tracers`,`Trace how a request would be processed through Cloudflare's rules and configuration pipeline`,()=>import(`./request-tracers-DCpDftuC.mjs`),null),hideCommand:!0},{command:i(`resource-sharing`,`Share Cloudflare resources (zones, accounts) across organizations with granular access controls`,()=>import(`./resource-sharing-D-OCBlIj.mjs`),null),hideCommand:!1},{command:i(`resource-tagging`,`resource-tagging`,()=>import(`./resource-tagging-DCn8TwS0.mjs`),null),hideCommand:!1},{command:i(`rules`,`Resources used by Cloudflare rules and rulesets`,()=>import(`./rules-DHeYlXlI.mjs`),null),hideCommand:!1},{command:i(`rulesets`,`rulesets`,()=>import(`./rulesets-BMv5GVEt.mjs`),null),hideCommand:!1},{command:i(`rum`,`Real User Measurement (Web Analytics) — track page loads, Core Web Vitals, and visitor metrics`,()=>import(`./rum-CaTeqDsB.mjs`),null),hideCommand:!0},{command:i(`scan-logo`,`scan-logo`,()=>import(`./scan-logo-7y0pqFMk.mjs`),null),hideCommand:!0},{command:i(`scan-page`,`scan-page`,()=>import(`./scan-page-B6jnK3QI.mjs`),null),hideCommand:!0},{command:i(`scim`,`SCIM 2.0 provisioning — manage users, groups, and identity provider sync for your account`,()=>import(`./scim-DHwWD1nA.mjs`),null),hideCommand:!0},{command:i(`search`,`search`,()=>import(`./search-Rn3Eefv8.mjs`),null),hideCommand:!0},{command:i(`secrets-store`,`Centralized secret management — store API keys, tokens, and credentials for use across Workers and other products`,()=>import(`./secrets-store-DoH9JnqC.mjs`),null),hideCommand:!1},{command:i(`security-insights`,`security-insights`,()=>import(`./security-insights-oqJuf8MY.mjs`),null),hideCommand:!1},{command:i(`security-txt`,`Manage the /.well-known/security.txt file that tells security researchers how to report vulnerabilities`,()=>import(`./security-txt-BY07I5Bx.mjs`),null),hideCommand:!1},{command:i(`signed-url`,`signed-url`,()=>import(`./signed-url-Dzwy9Xiw.mjs`),null),hideCommand:!0},{command:i(`smart-shield`,`Smart Shield settings, health checks, and cache reserve management`,()=>import(`./smart-shield-g5UHGdCQ.mjs`),null),hideCommand:!0},{command:i(`snippets`,`snippets`,()=>import(`./snippets-Bgn7ZKJo.mjs`),null),hideCommand:!1},{command:i(`spectrum`,`Proxy and protect arbitrary TCP/UDP applications through Cloudflare's network with DDoS mitigation`,()=>import(`./spectrum-BmLwQKib.mjs`),null),hideCommand:!0},{command:i(`speed`,`Observatory speed tests — run Lighthouse audits, track performance trends, and schedule recurring tests`,()=>import(`./speed-CesLeufR.mjs`),null),hideCommand:!1},{command:i(`ssl`,`SSL/TLS certificate management — certificate packs, Universal SSL, verification, and TLS mode recommendations`,()=>import(`./ssl-DrYK9KX-.mjs`),null),hideCommand:!0},{command:i(`stream`,`Video encoding, storage, and delivery — upload, live-stream, clip, caption, and embed video at scale`,()=>import(`./stream-D0sXaEj7.mjs`),null),hideCommand:!1},{command:i(`submission-info`,`submission-info`,()=>import(`./submission-info-SNhkDRRZ.mjs`),null),hideCommand:!0},{command:i(`submit`,`submit`,()=>import(`./submit-CpjZiCN9.mjs`),null),hideCommand:!0},{command:i(`tags`,`tags`,()=>import(`./tags-B17h1YBS.mjs`),null),hideCommand:!1},{command:i(`tenant`,`tenant`,()=>import(`./tenant-S7-Cb54D.mjs`),null),hideCommand:!1},{command:i(`tenant-custom-nameservers`,`tenant-custom-nameservers`,()=>import(`./tenant-custom-nameservers-CZ8qgnt_.mjs`),null),hideCommand:!0},{command:i(`total-queries`,`total-queries`,()=>import(`./total-queries-B20xslrH.mjs`),null),hideCommand:!0},{command:i(`tracked-domains`,`tracked-domains`,()=>import(`./tracked-domains-BCvIOZOK.mjs`),null),hideCommand:!0},{command:i(`tunnels`,`tunnels`,()=>import(`./tunnels-DzSFv0qt.mjs`),null),hideCommand:!0},{command:i(`turnstile`,`CAPTCHA-free bot verification widgets that protect forms and APIs without degrading user experience`,()=>import(`./turnstile-C5tc9QGH.mjs`),null),hideCommand:!0},{command:i(`url-info`,`url-info`,()=>import(`./url-info-lY7WbQzK.mjs`),null),hideCommand:!0},{command:i(`url-normalization`,`url-normalization`,()=>import(`./url-normalization-BHVZ4ULQ.mjs`),null),hideCommand:!0},{command:i(`url-scanner`,`Scan URLs for phishing, malware, and other threats — submit scans and retrieve detailed results`,()=>import(`./url-scanner-DRnPOsj9.mjs`),null),hideCommand:!0},{command:i(`user`,`Your Cloudflare user profile, invitations, organizations, billing, and personal API tokens`,()=>import(`./user-DyT-q94n.mjs`),null),hideCommand:!1},{command:i(`values`,`values`,()=>import(`./values-BE3pRW6M.mjs`),null),hideCommand:!1},{command:i(`vectorize`,`Globally distributed vector database for building semantic search, recommendations, and RAG applications on Workers`,()=>import(`./vectorize-CGl0BOXJ.mjs`),null),hideCommand:!1},{command:i(`verify`,`verify`,()=>import(`./verify-DOeBG4PL.mjs`),null),hideCommand:!0},{command:i(`waiting-rooms`,`Virtual queues that throttle traffic to your site during peak demand with customizable waiting pages`,()=>import(`./waiting-rooms-DbhiDyp_.mjs`),null),hideCommand:!1},{command:i(`web-assets`,`web-assets`,()=>import(`./web-assets-noQwig7x.mjs`),null),hideCommand:!0},{command:i(`web3`,`web3`,()=>import(`./web3-Dts8-Peq.mjs`),null),hideCommand:!0},{command:i(`workers`,`workers`,()=>import(`./workers-DtZRm0HJ.mjs`),null),hideCommand:!1},{command:i(`workers-builds`,`workers-builds`,()=>import(`./workers-builds-ean9unEX.mjs`),null),hideCommand:!0},{command:i(`workers-for-platforms`,`workers-for-platforms`,()=>import(`./workers-for-platforms-jdC-4D-X.mjs`),null),hideCommand:!1},{command:i(`workers-vpc`,`workers-vpc`,()=>import(`./workers-vpc-D2PZCegg.mjs`),null),hideCommand:!1},{command:i(`workflows`,`Durable, multi-step workflows that run on Workers with automatic retries and state persistence`,()=>import(`./workflows-C9QBOzZz.mjs`),null),hideCommand:!1},{command:i(`zaraz`,`Server-side tag manager — load third-party tools (analytics, pixels, etc.) from Cloudflare's edge without client-side JS`,()=>import(`./zaraz-DVLkn3fF.mjs`),null),hideCommand:!0},{command:i(`zero-trust`,`Cloudflare's SASE platform — secure access, device posture, DLP, tunnels, gateway policies, and network segmentation`,()=>import(`./zero-trust-DfwISsW4.mjs`),null),hideCommand:!1},{command:i(`zone`,`zone`,()=>import(`./zone-DQV-hfHN.mjs`),null),hideCommand:!1},{command:i(`zones`,`Zones are domains on Cloudflare — list, create, and configure domain settings`,()=>import(`./zones-By8IT3CV.mjs`),null),hideCommand:!1}];function xr(e){return typeof e==`object`&&!!e&&`schemas`in e&&typeof e.schemas==`object`&&e.schemas!==null&&!Array.isArray(e.schemas)}function Sr(e,t){if(!t)return e;let n=a(import.meta.url,`schemas.json`,xr);return!n||!Object.hasOwn(n.schemas,t)?e:`${e}\n\n${o.italic(`To inspect the exact API request, run ${o.code(`cf schema ${t}`)}`)}`}const Cr=[{kind:`root`,command:`auth`,describe:`Manage authentication and profiles`,dir:`auth`,load:()=>import(`./auth-B74oTm3b.mjs`),telemetry:{command:`auth`,recordArgs:!1}},{kind:`root`,command:`login`,describe:!1,dir:`login`,load:()=>import(`./login-BDFpobb3.mjs`),telemetry:null},{kind:`root`,command:`build`,describe:`Build a project for Cloudflare`,dir:`build`,load:()=>import(`./build-VB6btUkb.mjs`),telemetry:{command:`build`,classification:{safeFlags:[]}}},{kind:`root`,command:`complete [shell]`,describe:`Generate and handle shell completions`,dir:`completions`,load:()=>import(`./completions-UDpzduKn.mjs`),telemetry:null},{kind:`root`,command:`deploy`,describe:`Deploy a project to Cloudflare`,dir:`deploy`,load:()=>import(`./deploy-DBmw0fiq.mjs`),telemetry:{command:`deploy`,classification:{safeFlags:[`dry-run`,`prebuilt`,`containers-rollout`]}}},{kind:`root`,command:`dev [implArgs..]`,describe:`Run the project's Cloudflare dev server`,dir:`dev`,load:()=>import(`./dev-SpCmvb4M.mjs`),telemetry:{command:`dev`,recordArgs:!1}},{kind:`root`,command:`init [directory]`,describe:`Create a new Cloudflare project or set up an existing one`,dir:`init`,load:()=>import(`./init-D9pazuYJ.mjs`),telemetry:{command:`init`,classification:{safeFlags:[`install`,`package-manager`]}}},{kind:`root`,command:`migrate [path]`,describe:`Migrate a Wrangler project to cf`,dir:`migrate`,load:()=>import(`./migrate-CipwWhJE.mjs`),telemetry:{command:`migrate`,recordArgs:!1}},{kind:`root`,command:`cli`,describe:`Discover commands and configure the cf CLI`,dir:`cli`,load:()=>import(`./cli-B0_EbPK6.mjs`),telemetry:{command:`cli`,recordArgs:!1}},{kind:`root`,command:`previews`,describe:`Manage Worker Previews`,dir:`previews`,load:()=>import(`./previews-CJHqRKPF.mjs`),telemetry:{command:`previews`,recordArgs:!1}},{kind:`root`,command:`schema [command..]`,describe:`Show API schema details for a command`,dir:`schema`,load:()=>import(`./schema-JVvksQ1J.mjs`),telemetry:{command:`schema`,classification:{safeFlags:[`list`]}}},{kind:`root`,command:`tools`,describe:!1,dir:`tools`,load:()=>import(`./tools-CFEubTr4.mjs`),telemetry:{command:`tools`,classification:{safeFlags:[`text`]}}},{kind:`leafOverride`,emitKey:`ai/run`,dir:`ai/run`},{kind:`leafOverride`,emitKey:`registrar/registrations/create`,dir:`registrar/registrations/create`},{kind:`leaf`,parent:`workers/versions`,name:`create`,dir:`workers/versions/create`},{kind:`leaf`,parent:`containers`,name:`build`,dir:`containers/build`},{kind:`leaf`,parent:`containers`,name:`push`,dir:`containers/push`},{kind:`leaf`,parent:`containers/images`,name:`list`,dir:`containers/images/list`},{kind:`leaf`,parent:`containers/images`,name:`delete`,dir:`containers/images/delete`},{kind:`leaf`,parent:`containers`,name:`ssh`,dir:`containers/ssh`},{kind:`leaf`,parent:`pages`,name:`deploy`,dir:`pages/deploy`},{kind:`leaf`,parent:`workers`,name:`check`,dir:`workers/check`},{kind:`leaf`,parent:`workers`,name:`types`,dir:`workers/types`},{kind:`parentOverride`,parent:`access`,describe:`Access protected applications and services`,expose:!0},{kind:`leaf`,parent:`access`,name:`login`,dir:`access/login`},{kind:`leaf`,parent:`access`,name:`token`,dir:`access/token`},{kind:`leaf`,parent:`access`,name:`ssh-config`,dir:`access/ssh-config`},{kind:`leaf`,parent:`access`,name:`ssh-gen`,dir:`access/ssh-gen`},{kind:`leaf`,parent:`access`,name:`tcp`,dir:`access/tcp`},{kind:`leaf`,parent:`access`,name:`curl`,dir:`access/curl`},{kind:`leaf`,parent:`tunnels`,name:`diag`,dir:`tunnels/diag`},{kind:`leaf`,parent:`tunnels`,name:`login`,dir:`tunnels/login`},{kind:`leaf`,parent:`tunnels`,name:`quick-start`,dir:`tunnels/quick-start`},{kind:`leaf`,parent:`tunnels`,name:`ready`,dir:`tunnels/ready`},{kind:`leaf`,parent:`tunnels`,name:`run`,dir:`tunnels/run`},{kind:`leaf`,parent:`tunnels`,name:`tail`,dir:`tunnels/tail`},{kind:`subgroup`,parent:`d1`,name:`migrations`,dir:`d1/migrations`,describe:`Create, list, and apply D1 database migrations`},{kind:`subgroup`,parent:`workers`,name:`triggers`,dir:`workers/triggers`,describe:`Manage triggers (Routes, Workflows, Cron triggers etc.)`}];function wr(){return Cr.filter(e=>e.kind===`root`)}function Tr(e){return e.command.split(/\s+/)[0]??e.command}function Er(e){try{let t=new URL(e);return`${t.pathname.replace(/^\/client\/v\d+/,``)}${t.search}`}catch{return e}}function Dr(e){if(_(m),e instanceof f){let t=e.statusCode,n=e.body,r=t===void 0?`Envelope Error`:kr(t),i=[];if(n){let e=n;Array.isArray(e.errors)&&(i=e.errors)}let a=e.rawResponse?.url?`HTTP ${Er(e.rawResponse.url)}`:void 0,s=t===void 0?r:`${t} ${r}`,c=a?`${s} · ${a}`:s,l=o.muted(c),u=``;return i.length>0?u=i.map((e,t)=>{let n=typeof e.code==`number`?o.error(o.bold(`[${e.code}]`)):o.error(o.bold(`[error]`)),r=o.bold(e.message??``);return t===i.length-1?`${n} ${r}\n${l}`:`${n} ${r}`}).join(`
|
|
99
99
|
|
|
100
100
|
`):(u=o.error(o.bold(e.message||c)),e.message&&c&&(u+=`\n${l}`)),console.error(v(u,void 0,{title:`APIError`,rawMessage:!0})),t===401?console.error(`
|
|
101
101
|
`+h(`Try running: cf auth login`)):t===403&&console.error(`
|
|
@@ -104,6 +104,6 @@ complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name
|
|
|
104
104
|
`)}else{let t=o.error(o.bold(e.message));i=n?`${t}\n${n}`:t}return console.error(v(i,void 0,{title:`APIError`,rawMessage:!0})),e.status===401?console.error(`
|
|
105
105
|
`+h(`Try running: cf auth login`)):e.status===403&&console.error(`
|
|
106
106
|
`+h(`Check your API token permissions`)),e}if(e instanceof Error){let t=process.env.DEBUG&&e.stack?Or(e.stack):void 0;return console.error(v(e.message,t)),e}return console.error(v(`An unexpected error occurred`,String(e))),e}function Or(e){return e.replace(/[A-Za-z0-9_-]{40,}/g,`[REDACTED]`)}function kr(e){return{400:`Bad Request`,401:`Unauthorized`,403:`Forbidden`,404:`Not Found`,405:`Method Not Allowed`,409:`Conflict`,422:`Unprocessable Entity`,429:`Too Many Requests`,500:`Internal Server Error`,502:`Bad Gateway`,503:`Service Unavailable`,504:`Gateway Timeout`}[e]??``}const Ar={quiet:{type:`boolean`,alias:`q`,description:`Suppress non-essential output`,global:!0,default:!1},zone:{type:`string`,alias:`z`,description:`Zone ID or domain name (overrides CLOUDFLARE_ZONE_ID)`,global:!0},profile:{type:`string`,description:`Use a specific auth profile`,requiresArg:!0,global:!0},mode:{type:`string`,alias:`m`,description:`Mode used to evaluate project configuration`,requiresArg:!0,global:!0,coerce:e=>{if(Array.isArray(e))throw Error(`--mode can only be specified once.`);if(e===``)throw Error(`--mode requires a non-empty value.`);return e}},local:{type:`boolean`,description:`Use local resource simulations`,global:!0,default:!1},"persist-to":{type:`string`,description:`Directory holding local persisted state (default: ~/.config/cloudflare/state)`,requiresArg:!0,global:!0}};function jr(e){return Object.entries(Ar).some(([t,n])=>{if(n.type===`boolean`)return!1;let r=n.alias;return[t,...Array.isArray(r)?r:r===void 0?[]:[r]].some(t=>e===(t.length===1?`-${t}`:`--${t}`))})}const Mr=wr().map(e=>i(e.command,e.describe,e.load,e.telemetry)),Nr=new Set(wr().map(Tr)),Pr=[`=== STOP: AGENT COMMAND DISCOVERY ===`,`AGENTS: Do not explore commands by chaining nested --help calls.`,`Your first port of call and the best way to discover commands is:`,`AGENTS: Keep cf cli search queries anonymous; describe the action and resource type only.`,`Never include names, email addresses, domains, account or resource IDs, tokens, or other identifying values.`,` cf cli search "<describe the task you want to accomplish>"`,`It returns five compact JSON matches with short descriptions. Pick the best match instead of repeating similar searches.`,"Run `<discovered command> --help` for detailed command help.","For API request details, replace the result's leading `cf` with `cf schema`.",`=== END AGENT COMMAND DISCOVERY ===`].join(`
|
|
107
|
-
`);function Fr(e){return s().isAgentic?`${Pr}\n${e}`:e}function Ir(e,t){return Fr(Sr(e,t))}async function Lr(e=!1){if(!process.stderr.isTTY||e||c(process.argv.slice(2))||Br()===`complete`)return;let{readState:t,updateState:n}=await import(`./state-
|
|
108
|
-
`)),!0}function Zr(e=!1,t){let n=process.argv.slice(2),r=n.indexOf(`--`),i=r===-1?n:n.slice(0,r);i.length!==0&&(i.includes(`--version`)||i.includes(`-v`)||Br(i)!==`complete`&&_(m,{quiet:e||c(i),update:t}))}async function Qr(){let e=process.argv.slice(2);if(c(e)||Br(e)===`complete`||(e.length===0||e.includes(`--version`)||e.includes(`-v`)?process.stdout.isTTY!==!0:process.stderr.isTTY!==!0))return;let{isCI:t}=await import(`./interactive-SgAjen2z.mjs`);if(t)return;let{getUpdateNotice:n,maybeStartBackgroundUpdateCheck:r}=await import(`./update-check-
|
|
109
|
-
The Cloudflare CLI - manage your Cloudflare resources`).updateStrings({"Commands:":s(`Commands`),"Options:":s(`Options`),"Positionals:":s(`Positionals`),"Examples:":s(`Examples`)}).help(`help`,`Show help`).alias(`h`,`help`).options(Ar).group([...Object.keys(Ar),`help`,`version`],s(`Global flags`));for(let e of Mr)f.command(e);for(let e of br)e.hideCommand?f.command({...e.command,describe:!1}):f.command(e.command);f.middleware(async e=>{Zr(e.quiet,i?.notice),i?.start();let t=Gr(f);t!==void 0&&n?.(t);try{await Hr(e.quiet)}catch{}try{await Lr(e.quiet)}catch{}te(e.mode);let r=String(e._[0]??``);if(!e.help&&(r===`dev`&&l||e.local&&Nr.has(r)))throw Error(`--local is not supported by cf ${r}.`);if(e.persistTo===``)throw Error(`--persist-to requires a non-empty directory.`);if(e.persistTo!==void 0&&!e.local)throw Error(`--persist-to can only be used with --local.`);if(t!==void 0&&u(t,e.local)&&(a=await d(e)),!e.local){let{resolveProfile:t}=await import(`./oauth-
|
|
107
|
+
`);function Fr(e){return s().isAgentic?`${Pr}\n${e}`:e}function Ir(e,t){return Fr(Sr(e,t))}async function Lr(e=!1){if(!process.stderr.isTTY||e||c(process.argv.slice(2))||Br()===`complete`)return;let{readState:t,updateState:n}=await import(`./state-50FyMVTz.mjs`);t().completions?.prompted||(process.stderr.write(o.muted("Tip: run `cf complete <bash|zsh|fish>` to install shell completions.\n")),n({completions:{prompted:!0}}))}let Rr;function zr(){return Rr??=import(`./telemetry-D84K-X2j.mjs`),Rr}function Br(e=process.argv.slice(2)){return Vr(e,1)[0]}function Vr(e=process.argv.slice(2),t=2){let n=[];for(let r=0;r<e.length&&n.length<t;r++){let t=e[r];if(t===void 0||t===`--`)break;if(jr(t)){r++;continue}t.startsWith(`-`)||n.push(t)}return n}async function Hr(e=!1){if(!process.stderr.isTTY)return;let t=process.argv.slice(2);if(e||c(t)||t.includes(`--help`)||t.includes(`-h`)||Kr(Vr(t).join(` `)))return;let{getBannerLastShown:n,getTelemetryDispatcher:r,setBannerLastShown:i}=await zr();r().enabled&&n()!==m&&(process.stderr.write(o.muted("Cloudflare collects anonymous cf usage telemetry. Run `cf cli telemetry disable` to opt out.\n")),i(m))}async function Ur(){try{await Promise.race([b(),S(1e3,void 0,{ref:!1})])}catch{}}function Wr(e){return e instanceof Error&&e.message.startsWith(`Unknown command:`)}function Gr(e){try{let t=e.getInternalMethods().getContext().commands;return!Array.isArray(t)||t.length===0||!t.every(e=>typeof e==`string`)?void 0:t.join(` `)}catch{return}}function Kr(e){let[t,n]=e.split(` `);return t===`complete`||t===`cli`&&n===`telemetry`}async function qr(e,t){if(ne()||e instanceof l)return;let n=Wr(e)?void 0:t;if(!(n===void 0&&!Wr(e)||Kr(n??Vr().join(` `))))try{let{getTelemetryDispatcher:t,UNKNOWN_COMMAND_EVENT:r}=await zr(),{sanitizeError:i}=await import(`./error-sanitization-CSlapZbU.mjs`),a=t(),o={command:n??r,sanitizedArgs:{},argsUsed:[],argsCombination:``};a.sendCommandEvent(`cf command started`,o),a.sendCommandEvent(`cf command finished`,{...o,outcome:`error`,durationMs:0,...i(e)})}catch{}}async function Jr(e){if(!(!e||Kr(e)))try{let{getTelemetryDispatcher:t}=await zr();t().sendAdhocEvent(`cf help shown`,{command:e})}catch{}}function Yr(e){let t=process.argv.slice(2),n=t.indexOf(`--`),r=n===-1?t:t.slice(0,n);return!r.includes(`--version`)&&!r.includes(`-v`)?!1:(console.log(g(m,e)),!0)}function Xr(e){if(process.argv.slice(2).length>0)return!1;let t=[g(m,e),``,`The Cloudflare CLI — manage your account, zones, and developer platform.`,``,`${o.bold(`Get started:`)}`,` ${o.code(`cf auth login`)} ${o.muted(`Authenticate with Cloudflare`)}`,` ${o.code(`cf --help`)} ${o.muted(`Browse all commands`)}`,` ${o.code(`cf <command> --help`)} ${o.muted(`Per-command help`)}`,` ${o.code(`cf migrate`)} ${o.muted(`Migrate a Wrangler project to cf`)}`,` ${o.code(`cf complete bash`)} ${o.muted(`Install shell completions`)}`,``,`${o.bold(`Docs:`)} ${o.brand(`https://developers.cloudflare.com/`)}`,``];return console.log(t.join(`
|
|
108
|
+
`)),!0}function Zr(e=!1,t){let n=process.argv.slice(2),r=n.indexOf(`--`),i=r===-1?n:n.slice(0,r);i.length!==0&&(i.includes(`--version`)||i.includes(`-v`)||Br(i)!==`complete`&&_(m,{quiet:e||c(i),update:t}))}async function Qr(){let e=process.argv.slice(2);if(c(e)||Br(e)===`complete`||(e.length===0||e.includes(`--version`)||e.includes(`-v`)?process.stdout.isTTY!==!0:process.stderr.isTTY!==!0))return;let{isCI:t}=await import(`./interactive-SgAjen2z.mjs`);if(t)return;let{getUpdateNotice:n,maybeStartBackgroundUpdateCheck:r}=await import(`./update-check-7q-e6UWW.mjs`),i=!1;return{notice:n(m),start(){i||(i=!0,r())}}}function $r(e,t={}){let{onCommandResolved:n,onHelpShown:r,updateCheck:i}=t,a,s=e=>o.brand(e),c=e.indexOf(`--`),l=(c===-1?e:e.slice(0,c)).some(e=>e===`--local`||e===`--no-local`||e.startsWith(`--local=`)),f=yr(e).scriptName(`cf`).parserConfiguration({"sort-commands":!0}).wrap(process.stdout.columns||80).usage(`$0 <command> [options]`).usage(`
|
|
109
|
+
The Cloudflare CLI - manage your Cloudflare resources`).updateStrings({"Commands:":s(`Commands`),"Options:":s(`Options`),"Positionals:":s(`Positionals`),"Examples:":s(`Examples`)}).help(`help`,`Show help`).alias(`h`,`help`).options(Ar).group([...Object.keys(Ar),`help`,`version`],s(`Global flags`));for(let e of Mr)f.command(e);for(let e of br)e.hideCommand?f.command({...e.command,describe:!1}):f.command(e.command);f.middleware(async e=>{Zr(e.quiet,i?.notice),i?.start();let t=Gr(f);t!==void 0&&n?.(t);try{await Hr(e.quiet)}catch{}try{await Lr(e.quiet)}catch{}te(e.mode);let r=String(e._[0]??``);if(!e.help&&(r===`dev`&&l||e.local&&Nr.has(r)))throw Error(`--local is not supported by cf ${r}.`);if(e.persistTo===``)throw Error(`--persist-to requires a non-empty directory.`);if(e.persistTo!==void 0&&!e.local)throw Error(`--persist-to can only be used with --local.`);if(t!==void 0&&u(t,e.local)&&(a=await d(e)),!e.local){let{resolveProfile:t}=await import(`./oauth-vj6qkLCC.mjs`);ee(t(e.profile))}}).demandCommand(1,`You need to specify a command`).strictCommands().strictOptions().recommendCommands().version(m).alias(`v`,`version`).epilogue(`For more information, visit https://developers.cloudflare.com/`).exitProcess(!1).fail((e,t,a)=>{Zr(!1,i?.notice),i?.start();let o=Gr(f);if(o!==void 0&&n?.(o),t)throw t;let s=/^Did you mean (.+)\?$/.exec(e)?.[1];if(!(s&&!a.getCommands().some(([e])=>e.split(` `)[0]===s))){if(e===`Please specify a subcommand`){o!==void 0&&r?.(o),a.showHelp(`log`);return}throw a.showHelp(`error`),Error(e)}});let p=f.showHelp.bind(f);f.showHelp=e=>p(t=>{let i=Gr(f);i!==void 0&&n?.(i),r?.(i??`cf`);let a=Ir(t,i);typeof e==`function`?e(a):e===`log`?console.log(a):console.error(a)});let h=f.getHelp.bind(f);return f.getHelp=async()=>Ir(await h(),Gr(f)),{cli:f,dispose:()=>{a?.(),a=void 0}}}async function ei(e){let t=process.argv;process.argv=[`node`,`cf`,...e];try{await ti()}finally{process.argv=t}}async function ti(){te(void 0),re();let e=await Qr();if(Yr(e?.notice)||Xr(e?.notice))throw e?.start(),new l(0);let t,n,{cli:r,dispose:i}=$r(vt(process.argv),{onCommandResolved:e=>{t=e},onHelpShown:e=>{n=e},updateCheck:e}),a=vt(process.argv),o=a.indexOf(`--`),s=o===-1?a:a.slice(0,o);if(s.includes(`--help`)||s.includes(`-h`)){Zr(!1,e?.notice),e?.start();try{await Lr()}catch{}}try{await r.parse(vt(process.argv)),await Jr(n)}catch(e){if(e instanceof l)throw e;if(t===void 0){try{await Hr()}catch{}try{await Lr()}catch{}}throw await qr(e,t??Gr(r)),Dr(e)}finally{i(),await y(),await Ur()}}export{ti as n,ei as r,$r as t};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-C71TA0Yp.mjs";import{r as t}from"./auth-CHTMVVW3.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BlxgG8Ss.mjs";import{t as a}from"./run-l2pCxS-W.mjs";import"./telemetry-BqtdHwmi.mjs";import{n as o,t as s}from"./body-parser-hh2avzkz.mjs";import{n as c}from"./input-validation-Dk52b0me.mjs";import{i as l,n as u}from"./prompt-ClEoR47s.mjs";import{t as d}from"./cli-types-DoVT5q_M.mjs";function f(e){return e.usage(`$0 ssl analyze create
|
|
3
3
|
|
|
4
4
|
Returns the set of hostnames, the signature algorithm, and the expiration date of the certificate.`).option(`bundle-method`,{type:`string`,description:`A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.`,choices:[`ubiquitous`,`optimal`,`force`],default:`ubiquitous`}).option(`certificate`,{type:`string`,description:`The zone's SSL certificate or certificate and the intermediate(s).`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const p={command:`create`,describe:`Analyze Certificate`,builder:f,handler:async l=>a({command:`ssl analyze create`,classification:{safeFlags:[`bundle-method`,`dry-run`]}},l,async()=>{if(l.dryRun){r({command:`cf ssl analyze create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${l.zone??l.zoneId??`<zone>`}/ssl/analyze`,pathParams:{"zone-id":String(l.zone??l[`zone-id`]??``)},bodyKind:`json`,body:l.body===void 0?s({bundle_method:c(l[`bundle-method`],`bundle-method`,`text`),certificate:c(l.certificate,`certificate`,`text`)}):o(l.body)});return}let a=await t(l),u=await e({zone:l.zone},a,{quiet:l.quiet});if(l.zoneId=u,l.body){let e=o(l.body);n(await i(`Creating`,async()=>a.ssl.analyze.create({...e,zone_id:u})),{successLabel:`Created`});return}let d=s({bundle_method:c(l[`bundle-method`],`bundle-method`,`text`),certificate:c(l.certificate,`certificate`,`text`)});n(await i(`Creating`,async()=>a.ssl.analyze.create({...d,zone_id:u})),{successLabel:`Created`})})},m={command:`analyze`,describe:`Operations for analyze`,builder:e=>e.command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function h(e){return e.usage('$0 ssl auto-origin-tls-kex edit\n\nEnable or disable Auto-Origin TLS KEX selection for the zone by sending `{"enabled": true}` or `{"enabled": false}`. When enabled, Cloudflare runs a periodic scan of the zone\'s origins to determine the preferred key-exchange algorithm and writes that preference to the edge so it is sent first in the TLS ClientHello to the origin.').option(`enabled`,{type:`boolean`,description:`Controls enablement of Auto-Origin TLS KEX selection for the zone.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Update enablement of Auto-Origin TLS KEX selection.`})}const g={command:`edit`,describe:`Patch Auto-Origin TLS KEX enrollment status for the given zone`,builder:h,handler:async c=>a({command:`ssl auto-origin-tls-kex edit`,classification:{safeFlags:[`enabled`,`dry-run`]}},c,async()=>{if(c.dryRun){r({command:`cf ssl auto-origin-tls-kex edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${c.zone??c.zoneId??`<zone>`}/settings/auto_origin_tls_kex`,pathParams:{"zone-id":String(c.zone??c[`zone-id`]??``)},bodyKind:`json`,body:c.body===void 0?s({enabled:c.enabled}):o(c.body)});return}let a=await t(c),l=await e({zone:c.zone},a,{quiet:c.quiet});if(c.zoneId=l,c.body){let e=o(c.body);n(await i(`Updating`,async()=>a.ssl.autoOriginTlsKex.edit({...e,zone_id:l})),{successLabel:`Updated`});return}if(c.enabled===void 0)throw Error(`--enabled is required (or pass --body with this field set).`);let u=s({enabled:c.enabled});n(await i(`Updating`,async()=>a.ssl.autoOriginTlsKex.edit({...u,zone_id:l})),{successLabel:`Updated`})})};function _(e){return e.usage(`$0 ssl auto-origin-tls-kex get
|
|
5
5
|
|