cf 1.0.0-beta.6 → 1.0.0-beta.8
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 +119 -218
- package/dist/_meta/schemas.json +77 -126
- package/dist/{abuse-reports-BtI6fvRl.mjs → abuse-reports-D9LttL99.mjs} +1 -1
- package/dist/{access-CqOyTHw4.mjs → access-CSUG9fDH.mjs} +1 -1
- package/dist/{account-tags-7I77Dwsd.mjs → account-tags-BkmuF6bd.mjs} +2 -2
- package/dist/{accounts-Cq-eOPzL.mjs → accounts-CmqKD3xG.mjs} +1 -1
- package/dist/{acm-CSXnlN6o.mjs → acm-D9WirG6Y.mjs} +1 -1
- package/dist/{addressing-C5XvjNhk.mjs → addressing-DAdzF3M5.mjs} +1 -1
- package/dist/{agent-memory-CSzr9gty.mjs → agent-memory-CIEk0dD-.mjs} +1 -1
- package/dist/{ai-C0xWIvsG.mjs → ai-Dq1GOYn7.mjs} +3 -3
- package/dist/{ai-audit-B43vm1KJ.mjs → ai-audit-D5XtqDkx.mjs} +1 -1
- package/dist/{ai-gateway-BK3MbIzT.mjs → ai-gateway-D16_7Zbq.mjs} +1 -1
- package/dist/{ai-search-TrFTxBbn.mjs → ai-search-Ce3p9ccc.mjs} +1 -1
- package/dist/{ai-security-JrYa27qd.mjs → ai-security-BodoNshv.mjs} +1 -1
- package/dist/{alerting-B1-ZwfVT.mjs → alerting-DuF0tdhO.mjs} +1 -1
- package/dist/{analytics-B-wlVtDV.mjs → analytics-DmnqxoBT.mjs} +1 -1
- package/dist/{analytics_engine-DWzzQzOs.mjs → analytics_engine-BOYHgzoX.mjs} +1 -1
- package/dist/{api-security-BWFWWmXl.mjs → api-security-B3v-EKrg.mjs} +1 -1
- package/dist/{argo-DHPGTvCT.mjs → argo-BsSvWev6.mjs} +1 -1
- package/dist/{artifacts-mmBDk3wO.mjs → artifacts-Dq5t2ZQO.mjs} +1 -1
- package/dist/{audit-logs-CCF5e500.mjs → audit-logs-DpszUSNO.mjs} +1 -1
- package/dist/{auth-gOCL6Pm0.mjs → auth-BjxUTZWb.mjs} +2 -2
- package/dist/{auth-Dnp10uLy.mjs → auth-skaSvH3I.mjs} +1 -1
- package/dist/{autoconfig-DqEPKpj0.mjs → autoconfig-DXXV-Xyz.mjs} +1 -1
- package/dist/{basin-catalog-hRY01t_Z.mjs → basin-catalog-c_Z-KmdC.mjs} +20 -18
- package/dist/{billing-C_ev-9nh.mjs → billing-D8eSkPUk.mjs} +1 -1
- package/dist/{bot-management-CyYsXkZt.mjs → bot-management-gPqJF81w.mjs} +1 -1
- package/dist/{botnet-feed-Dj5R5v2o.mjs → botnet-feed-B1TeX5OO.mjs} +1 -1
- package/dist/{brand-protection-CmQ6Iu0I.mjs → brand-protection-jjdTCYeF.mjs} +1 -1
- package/dist/{browser-run-sWHTsCSB.mjs → browser-run-CkmofJ6D.mjs} +1 -1
- package/dist/{build-_qqitpn0.mjs → build-B-tN7mO-.mjs} +1 -1
- package/dist/build-D5D56lvE.mjs +2 -0
- package/dist/{builds-c21rTfcg.mjs → builds-Ca9hPvgz.mjs} +1 -1
- package/dist/{cache-CuNjJl6m.mjs → cache-BnRnlPjP.mjs} +1 -1
- package/dist/{certificate-authorities-DRUUzvI3.mjs → certificate-authorities-D2J5rh-m.mjs} +1 -1
- package/dist/{cf-O3gEaXYZ.mjs → cf-Bh_fTFIj.mjs} +2 -2
- package/dist/chunk-FT2NMTJB-1VFYM1Ro.mjs +97 -0
- package/dist/chunk-KKDV4JPS-DdzLLtnl.mjs +2 -0
- package/dist/{cli-Caa776EB.mjs → cli-xbKU3h28.mjs} +1 -1
- package/dist/{client-certificates-BSi1CEGk.mjs → client-certificates-D3mKJGFa.mjs} +1 -1
- package/dist/{client-side-security-BdxUX3Y8.mjs → client-side-security-DcO8apX2.mjs} +1 -1
- package/dist/{cloud-connector-B46ajuAj.mjs → cloud-connector-CCbT4xFi.mjs} +1 -1
- package/dist/{cloudflared-Ciq4L97v.mjs → cloudflared-C4KjWoEY.mjs} +1 -1
- package/dist/{cloudforce-one-adbVR2Ah.mjs → cloudforce-one-Cnj0OnZF.mjs} +1 -1
- package/dist/{command-C2bU5Etc.mjs → command-8lsstsSi.mjs} +1 -1
- package/dist/{command-CRgQ0dM3.mjs → command-B9rrie65.mjs} +1 -1
- package/dist/{command-DV196MKR.mjs → command-BUWmTl5w.mjs} +1 -1
- package/dist/{command-eBmGBTA7.mjs → command-BWUoVso3.mjs} +1 -1
- package/dist/{command-Bw-M_qxb.mjs → command-BtmIP6e1.mjs} +1 -1
- package/dist/{command-CkJvjkfK.mjs → command-BvwvCWkB.mjs} +1 -1
- package/dist/{command-B5Itp2BM.mjs → command-BxrOxsu9.mjs} +1 -1
- package/dist/{command-Du3MiYA7.mjs → command-CUQF-QFP.mjs} +1 -1
- package/dist/{command-CVg0qT13.mjs → command-CvzUv83h.mjs} +1 -1
- package/dist/{command-BmXnByw9.mjs → command-CwsA28Vt.mjs} +1 -1
- package/dist/{command-CHcCSvVz.mjs → command-D5vy9tlg.mjs} +1 -1
- package/dist/{command-B47VlNBp.mjs → command-DwbJIcAA.mjs} +1 -1
- package/dist/{command-D1Z5uf_S.mjs → command-WCtue6i1.mjs} +1 -1
- package/dist/{command-eqgT8zz4.mjs → command-_4j_XD3U.mjs} +1 -1
- package/dist/{completions-DbT6O2ol.mjs → completions-EHied_ON.mjs} +1 -1
- package/dist/{connector-interrupts-BhfMiPcq.mjs → connector-interrupts-CyeiC7gw.mjs} +1 -1
- package/dist/{connector-telemetry-events-CxKECRgO.mjs → connector-telemetry-events-D-cL2RuW.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-BHi-jHE5.mjs → connector-telemetry-snapshots-MrpBZ5fC.mjs} +1 -1
- package/dist/{connectors-gkP2aNSN.mjs → connectors-Ds5PWdpP.mjs} +1 -1
- package/dist/{containers-DUvBpnRo.mjs → containers-BR6paNcL.mjs} +1 -1
- package/dist/{containers-BY8pinEV.mjs → containers-D9masRwv.mjs} +7 -7
- package/dist/{content-scan-BCPhAjMZ.mjs → content-scan-eX3wIB8J.mjs} +1 -1
- package/dist/{context-CE7QFX-z.mjs → context-M2Ho8pi3.mjs} +1 -1
- package/dist/{cps-B35EPUAk.mjs → cps-CyviY22M.mjs} +1 -1
- package/dist/{csamScanner-DcTA9oLR.mjs → csamScanner-CHF53DZw.mjs} +1 -1
- package/dist/{ct-alerting-B3CS-CPk.mjs → ct-alerting-BORxnBtn.mjs} +1 -1
- package/dist/{custom-certificates-IjJJhl7_.mjs → custom-certificates-KsS8xnfG.mjs} +1 -1
- package/dist/{custom-csrs-ChYOaEQg.mjs → custom-csrs-BtNQaSVn.mjs} +1 -1
- package/dist/{custom-hostnames-Bai3cqAD.mjs → custom-hostnames-4tLpHtCK.mjs} +1 -1
- package/dist/{custom-nameservers-DsukmLNZ.mjs → custom-nameservers-DYM29vGA.mjs} +1 -1
- package/dist/{custom-pages-CiboX-9D.mjs → custom-pages-BIwM1IyN.mjs} +1 -1
- package/dist/{d1-s293SFAJ.mjs → d1-Yhj_t0--.mjs} +1 -1
- package/dist/{dcv-delegation-BfgvmpQT.mjs → dcv-delegation-DXspPfEr.mjs} +1 -1
- package/dist/{deploy-input-CNrImP7B.mjs → deploy-input-DJWWJs3a.mjs} +1 -1
- package/dist/{deploy-CvxNMDbS.mjs → deploy-su0BR90P.mjs} +1 -1
- package/dist/{dev-Z6vYszaT.mjs → dev-DqgkwmRH.mjs} +1 -1
- package/dist/{diagnostics-Ops0RjxG.mjs → diagnostics-B6FqDbQY.mjs} +1 -1
- package/dist/dist-BuCJ_55d.mjs +366 -0
- package/dist/{dist-Dgnf_i4w.mjs → dist-CxGYQfpW.mjs} +3 -3
- package/dist/{dls-uo7NYEqE.mjs → dls-CDvZjyjo.mjs} +1 -1
- package/dist/{dns-B-NwBOpQ.mjs → dns-DGMcGcBE.mjs} +1 -1
- package/dist/{dns-firewall-LTIP13nb.mjs → dns-firewall-BahlWOJO.mjs} +1 -1
- package/dist/{durable-objects-o7uB3YYg.mjs → durable-objects-Cnho3J7w.mjs} +1 -1
- package/dist/{email-auth-BUdBDCaE.mjs → email-auth-CkqeIq8V.mjs} +1 -1
- package/dist/{email-routing-BPRliM3z.mjs → email-routing-D_Mw8HSX.mjs} +1 -1
- package/dist/{email-security-dbLE3I5c.mjs → email-security-D9yMRsXl.mjs} +1 -1
- package/dist/{email-sending-BLlGy5Mn.mjs → email-sending-CQfuE7h6.mjs} +1 -1
- package/dist/{error-sanitization-CcNUzN1f.mjs → error-sanitization-BXqhvJsR.mjs} +1 -1
- package/dist/error-sanitization-CSlapZbU.mjs +2 -0
- package/dist/{fieldExtractors-M-KfLOGw.mjs → fieldExtractors-Bbbegy-c.mjs} +1 -1
- package/dist/{firewall-DzbLwqo3.mjs → firewall-DtlT_8mG.mjs} +1 -1
- package/dist/{flagship-DcXWEywy.mjs → flagship-BWEdMJSQ.mjs} +1 -1
- package/dist/{fraud-CGXRWANi.mjs → fraud-mszBJHV6.mjs} +1 -1
- package/dist/{google-tag-gateway-B3Z3Puwl.mjs → google-tag-gateway-DD8rztUs.mjs} +1 -1
- package/dist/{healthchecks-BIiV29q7.mjs → healthchecks-CzCJR3df.mjs} +1 -1
- package/dist/{hostnames-ueWsZFwv.mjs → hostnames-BTSxAv-T.mjs} +1 -1
- package/dist/hyperdrive-Bg1T58qE.mjs +37 -0
- package/dist/{iam-kA9gcv79.mjs → iam-cAzxdXI7.mjs} +1 -1
- package/dist/{images-CK4J5as7.mjs → images-CfHt8v2n.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{init-COcG8sp5.mjs → init-9TwyFuzD.mjs} +1 -1
- package/dist/{intel-z7DkM9Xc.mjs → intel-WWPG0-t7.mjs} +1 -1
- package/dist/{ips-BXdBK4Co.mjs → ips-CxSw5R88.mjs} +1 -1
- package/dist/{keyless-certificates-Dp9xTYtD.mjs → keyless-certificates-Jfsyada7.mjs} +1 -1
- package/dist/{keys-DrVlj4VI.mjs → keys-BrDarg28.mjs} +1 -1
- package/dist/{kv-WX-dlUT1.mjs → kv-C8eauBSy.mjs} +1 -1
- package/dist/{lazy-command-g04RHlS2.mjs → lazy-command-B0914_IJ.mjs} +1 -1
- package/dist/{leaked-credential-checks-BMQ0VhCd.mjs → leaked-credential-checks-Y9mDSJKn.mjs} +1 -1
- package/dist/{load-balancers-BbkSL89c.mjs → load-balancers-DsKJIF_U.mjs} +1 -1
- package/dist/local-B5d4OPhA.mjs +2 -0
- package/dist/{local-Cyk8fPvL.mjs → local-CQc36Viv.mjs} +1 -1
- package/dist/{local-runtime-CWWJJB2E.mjs → local-runtime-CifOYlPq.mjs} +1 -1
- package/dist/{login-CyU_ZTNI.mjs → login-DFZ3DEjI.mjs} +1 -1
- package/dist/{login-DYQ8UgJQ.mjs → login-DGXSiCII.mjs} +1 -1
- package/dist/{logo-matches-HFmD2hK6.mjs → logo-matches-D1vjZF-k.mjs} +1 -1
- package/dist/{logos-Di2PABE_.mjs → logos-CCEIMvE7.mjs} +1 -1
- package/dist/{logpush-DEqdt0I0.mjs → logpush-DAx2y5MY.mjs} +1 -1
- package/dist/{logs-Ckfw-3Q_.mjs → logs-D9BsByMt.mjs} +3 -4
- package/dist/{magic-cloud-networking-C0yBJKMb.mjs → magic-cloud-networking-C_FsIQoS.mjs} +1 -1
- package/dist/{magic-network-monitoring-CLvaiI7s.mjs → magic-network-monitoring-DBo1mI3a.mjs} +1 -1
- package/dist/{magic-transit-Bhb1kxYj.mjs → magic-transit-BgRq6ZeA.mjs} +1 -1
- package/dist/{managed-defense-COL3aqXw.mjs → managed-defense-BRdCrVVh.mjs} +1 -1
- package/dist/{managed-transforms-cK0strTK.mjs → managed-transforms-cmvRuRQ7.mjs} +1 -1
- package/dist/{matches-Df4WEz0x.mjs → matches-B0bzP6tB.mjs} +1 -1
- package/dist/{mcp-DK_5OUVl.mjs → mcp-CSxoAB-y.mjs} +1 -1
- package/dist/{mesh-CVXpTYED.mjs → mesh-C-n2gi4F.mjs} +1 -1
- package/dist/{monetization-BHk0S5BF.mjs → monetization-DHFiy5qs.mjs} +1 -1
- package/dist/{mtls-certificates-8pzdxzOX.mjs → mtls-certificates-o11WJKM1.mjs} +1 -1
- package/dist/{network-ClNeXTvG.mjs → network-Ck6XHs9j.mjs} +1 -1
- package/dist/{network-interconnects-t3jSoV7o.mjs → network-interconnects-CT4a_D5b.mjs} +1 -1
- package/dist/{oauth-CNSirGUu.mjs → oauth-D6EZEBcY.mjs} +1 -1
- package/dist/{oauth-CJamdfrC.mjs → oauth-D9jA6L9a.mjs} +1 -1
- package/dist/{oauth-clients-DBxdvlJC.mjs → oauth-clients-DRBvDDNL.mjs} +1 -1
- package/dist/{oauth-scopes-D39GYkt6.mjs → oauth-scopes-eV0VbNV-.mjs} +1 -1
- package/dist/{observability-ZV1yPflB.mjs → observability-CBCuWCen.mjs} +1 -1
- package/dist/{organization-Bk-TkQlB.mjs → organization-3y27rtm7.mjs} +1 -1
- package/dist/{organizations-hXITNpPl.mjs → organizations-Q9QPbB-p.mjs} +1 -1
- package/dist/{origin-ca-certificates-DsLR_Z2e.mjs → origin-ca-certificates-CbTgmQ2N.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-C_egsVQu.mjs → origin-post-quantum-encryption-D5zeAJJ1.mjs} +1 -1
- package/dist/{origin-tls-client-auth-DPG6A6kz.mjs → origin-tls-client-auth-V5hB1Bwu.mjs} +1 -1
- package/dist/{page-rules-B8lrkiiF.mjs → page-rules-BYYBcKRU.mjs} +1 -1
- package/dist/{pages-Cx4doLvQ.mjs → pages-CfinrrWX.mjs} +1 -1
- package/dist/{pay-per-crawl-BUVHqPPA.mjs → pay-per-crawl-C-S5WxQT.mjs} +1 -1
- package/dist/{pay-per-use-CzYgryid.mjs → pay-per-use-B3gl7GQo.mjs} +1 -1
- package/dist/{pipelines-CGHmwc4a.mjs → pipelines-lfvTXng7.mjs} +1 -1
- package/dist/{precursor--Jim5u4y.mjs → precursor-CNm5rIPl.mjs} +1 -1
- package/dist/{previews-BKO1pZyG.mjs → previews-DV7OxoSM.mjs} +1 -1
- package/dist/{progress-CRjK46r1.mjs → progress-BnIv4lh5.mjs} +1 -1
- package/dist/{prompt-C_90YsVE.mjs → prompt-DjRAo2Up.mjs} +1 -1
- package/dist/{queries-z2pjzXlA.mjs → queries-D0obyA9I.mjs} +1 -1
- package/dist/{queues-D0IXxSa7.mjs → queues-G1CS4M1H.mjs} +1 -1
- package/dist/{r2-DQ7w9dCM.mjs → r2-BLXUGlGq.mjs} +27 -34
- package/dist/{radar-DyLO7Zg1.mjs → radar-hGFsVuHs.mjs} +1 -1
- package/dist/{raw-fetch-C8SdmQBp.mjs → raw-fetch-CuMHmrn0.mjs} +1 -1
- package/dist/{realtime-mQzLbDxe.mjs → realtime-CZYwfmjr.mjs} +1 -1
- package/dist/{registrar-ClbtM5Dy.mjs → registrar-dvv2gU93.mjs} +1 -1
- package/dist/{registrar-sandbox-BIEHm_Jp.mjs → registrar-sandbox-Cnqn9BDJ.mjs} +1 -1
- package/dist/{registry-CSv7HR1J.mjs → registry-DWTPK8_Q.mjs} +1 -1
- package/dist/{reporting-CjkMzSsZ.mjs → reporting-Bfwnpc7z.mjs} +1 -1
- package/dist/{request-headers-jr2VznA9.mjs → request-headers-DaUqNccK.mjs} +1 -1
- package/dist/{request-tracers-BoSXOTox.mjs → request-tracers-CF4_bzqx.mjs} +1 -1
- package/dist/{resource-sharing-CFS39nJq.mjs → resource-sharing-DaY7ISTQ.mjs} +1 -1
- package/dist/{resource-tagging-CZ5mvMhE.mjs → resource-tagging-D669i7sI.mjs} +1 -1
- package/dist/{rules-CfqumI45.mjs → rules-C9w-8uyl.mjs} +1 -1
- package/dist/{rulesets-o3jsPv4U.mjs → rulesets-yYRTXZ71.mjs} +1 -1
- package/dist/{rum-BZ0rYlun.mjs → rum-DPrqqYSC.mjs} +1 -1
- package/dist/run-Dkcz54xY.mjs +2 -0
- package/dist/run-Duj1fsxa.mjs +2 -0
- package/dist/{schema-flags-nL7pHvaE.mjs → schema-flags-CK4J4XhG.mjs} +1 -1
- package/dist/{scim-0-eR9pvC.mjs → scim-DAZek91U.mjs} +1 -1
- package/dist/{sdk-Bmz7t_CD.mjs → sdk-DzVznUuv.mjs} +1 -1
- package/dist/{secrets-store-Duc29Zs-.mjs → secrets-store-COlaXNll.mjs} +1 -1
- package/dist/{security-insights-5CuLC-Yo.mjs → security-insights-DF6ffEWO.mjs} +1 -1
- package/dist/{security-txt-qm2PqCPz.mjs → security-txt-D1nLEOCZ.mjs} +1 -1
- package/dist/{session-CjQFm10R.mjs → session-CZTuHcbm.mjs} +1 -1
- package/dist/{shared-BDIrEKWt.mjs → shared-_YyZp2AY.mjs} +1 -1
- package/dist/{smart-shield-BXLH9OM0.mjs → smart-shield-CKSVq1sT.mjs} +1 -1
- package/dist/{snippets-DZG6UWeH.mjs → snippets-D5zLR7Nj.mjs} +1 -1
- package/dist/{spawn-KZqyx6KK.mjs → spawn-DiZTRMi2.mjs} +1 -1
- package/dist/{spectrum-Be4ImAIY.mjs → spectrum-L56rh44p.mjs} +1 -1
- package/dist/{speed-CNWujfIC.mjs → speed-CfufTtTk.mjs} +1 -1
- package/dist/{src-CW6py11z.mjs → src-BIRFlqDR.mjs} +5 -5
- package/dist/{ssl-BIlS4Qs8.mjs → ssl-BrDo1vL9.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-DhHOAdTo.mjs → state-BaGRaYow.mjs} +1 -1
- package/dist/state-CpXhcMdX.mjs +2 -0
- package/dist/{stream-C5RvTAKF.mjs → stream-1BpcnrhV.mjs} +1 -1
- package/dist/{submit-Bpru4P79.mjs → submit-C-ICyQA7.mjs} +1 -1
- package/dist/{tags-Rv7X1rU9.mjs → tags-BA2CG06z.mjs} +1 -1
- package/dist/telemetry-Bn5lYtiy.mjs +2 -0
- package/dist/{telemetry-0npQCuKc.mjs → telemetry-D14VqvDU.mjs} +1 -1
- package/dist/{tenant-CjYf6OPN.mjs → tenant-DZ4dgD2t.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-BbHaaEhv.mjs → tenant-custom-nameservers-YjOHEMtf.mjs} +1 -1
- package/dist/{tunnels-CLWPaIIF.mjs → tunnels-l8YE_pie.mjs} +1 -1
- package/dist/{turnstile-C5ezKSoz.mjs → turnstile-BQrUOlSx.mjs} +1 -1
- package/dist/{update-check-aOpHVlzB.mjs → update-check-BPVQSvnH.mjs} +1 -1
- package/dist/update-check-worker.mjs +1 -1
- package/dist/update-check-zLVAcGWy.mjs +2 -0
- package/dist/{url-info-Gcf8-MyB.mjs → url-info-D2l_0t3y.mjs} +1 -1
- package/dist/{url-normalization-Dvg8mZRk.mjs → url-normalization-K8zAzorz.mjs} +1 -1
- package/dist/{url-scanner-BZCsgh0O.mjs → url-scanner-Dv7lSDeH.mjs} +1 -1
- package/dist/{user-BnkvXmjc.mjs → user-DleZBZED.mjs} +1 -1
- package/dist/{values-yUGls__L.mjs → values-BnpLZYLh.mjs} +1 -1
- package/dist/{vectorize-BiXngTuI.mjs → vectorize-DyHeuA7K.mjs} +1 -1
- package/dist/version-CH8K5y4G.mjs +2 -0
- package/dist/{waiting-rooms-BoLWF74U.mjs → waiting-rooms-CKp_ty0T.mjs} +1 -1
- package/dist/{web-assets-CEJ9Zne1.mjs → web-assets-XrKWHvN4.mjs} +1 -1
- package/dist/{web3-CIjm7EuJ.mjs → web3-Bntbgx_4.mjs} +1 -1
- package/dist/{workers-DdtWb7Ws.mjs → workers-DM3cs8PN.mjs} +1 -1
- package/dist/{workers-builds-DT4tA-KT.mjs → workers-builds-02i1psK2.mjs} +1 -1
- package/dist/{workers-for-platforms-CaCr8ApU.mjs → workers-for-platforms-B5RlZXZK.mjs} +1 -1
- package/dist/{workers-vpc-DRtjG39D.mjs → workers-vpc-kjiAIRuT.mjs} +1 -1
- package/dist/{workflows-DRme6yrC.mjs → workflows-BkuFC47X.mjs} +1 -1
- package/dist/{zaraz-DmjDEnUJ.mjs → zaraz-BPOqw7RU.mjs} +1 -1
- package/dist/{zero-trust-BRAHExxa.mjs → zero-trust-B4sjDfre.mjs} +1 -1
- package/dist/{zone-CclLvb-g.mjs → zone-DkaGQuB6.mjs} +1 -1
- package/dist/{zones-C6tc2OOV.mjs → zones-DIlihhZN.mjs} +1 -1
- package/package.json +12 -12
- package/dist/build-Dyt1M_Ib.mjs +0 -2
- package/dist/chunk-M77HNR46-DPbhuhiy.mjs +0 -2
- package/dist/chunk-RV27PEH3-Cws_30ln.mjs +0 -97
- package/dist/dist-DfMipWKR.mjs +0 -366
- package/dist/error-sanitization-CEf4JTNN.mjs +0 -2
- package/dist/hyperdrive-Bxk9LZf5.mjs +0 -37
- package/dist/local-BWhuu9TH.mjs +0 -2
- package/dist/run-D0_7wBp2.mjs +0 -2
- package/dist/run-huwFFwXd.mjs +0 -2
- package/dist/startup-profile-B0UCc9_J.mjs +0 -2
- package/dist/state-Dyo8DcW7.mjs +0 -2
- package/dist/telemetry-B4_YhD82.mjs +0 -2
- package/dist/update-check-CebyUyqG.mjs +0 -2
- package/dist/version-C3q1GMTe.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CQc36Viv.mjs";import{a as t,t as n}from"./context-M2Ho8pi3.mjs";import{r}from"./auth-BjxUTZWb.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-BnIv4lh5.mjs";import{t as s}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as c,t as l}from"./body-parser-hh2avzkz.mjs";import{n as u}from"./input-validation-Dk52b0me.mjs";import{a as d,n as f}from"./prompt-DjRAo2Up.mjs";import{t as p}from"./cli-types-DoVT5q_M.mjs";function m(e){return e.usage(`$0 secrets-store quota get
|
|
3
3
|
|
|
4
4
|
Lists the number of secrets used in the account.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const h={command:`get`,describe:`View secret usage`,builder:m,handler:async c=>s({command:`secrets-store quota get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf secrets-store quota get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/secrets_store/quota`,pathParams:{},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.secretsStore.quota.get({account_id:l})),{successLabel:`Loaded`})})},g={command:`quota`,describe:`Account quota limits for secrets stores, secrets count, and storage capacity`,builder:e=>e.command(h).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function _(e){return e.usage(`$0 secrets-store secrets bulk-delete
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CQc36Viv.mjs";import{a as t,i as n,t as r}from"./context-M2Ho8pi3.mjs";import{r as i}from"./auth-BjxUTZWb.mjs";import{t as a}from"./output-CvQFJkvi.mjs";import{t as o}from"./dry-run-Bq0JAsbX.mjs";import{t as s}from"./progress-BnIv4lh5.mjs";import{t as c}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as l,t as u}from"./body-parser-hh2avzkz.mjs";import{n as d}from"./input-validation-Dk52b0me.mjs";import{t as f}from"./cli-types-DoVT5q_M.mjs";import{n as p,t as m}from"./raw-fetch-CuMHmrn0.mjs";function h(e){return e.usage(`$0 security-insights audit-logs get <issue-id>
|
|
3
3
|
|
|
4
4
|
Lists audit log entries for a specific Security Center insight, showing changes to its status and classification over time.`).positional(`issue-id`,{type:`string`,description:`Issue ID`,demandOption:!0}).option(`per-page`,{type:`number`,description:`Number of results per page.`}).option(`cursor`,{type:`string`,description:`Opaque cursor for pagination. Use the cursor value from result_info of the previous response.`}).option(`field-changed`,{type:`string`,description:`Filter by the field that was changed.`,choices:[`status`,`user_classification`]}).option(`changed-by`,{type:`string`,description:`Filter by the actor that made the change.`}).option(`since`,{type:`string`,description:`Filter entries changed at or after this timestamp (RFC 3339).`}).option(`before`,{type:`string`,description:`Filter entries changed before this timestamp (RFC 3339).`}).option(`order`,{type:`string`,description:`Sort order for results. Use 'asc' for oldest first or 'desc' for newest first.`,choices:[`asc`,`desc`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ee={command:`get <issue-id>`,describe:`Retrieves Issue Audit Log`,builder:f(h),handler:async l=>c({command:`security-insights audit-logs get`,classification:{safeFlags:[`field-changed`,`order`,`dry-run`]}},l,async()=>{let c={per_page:l[`per-page`],cursor:l.cursor,field_changed:l[`field-changed`],changed_by:l[`changed-by`],since:l.since,before:l.before,order:l.order};if(l.dryRun){let e=l.zone===void 0?await t():void 0,n=l.zone===void 0?`accounts`:`zones`,r=l.zone??e??`<account-id>`;o({command:`cf security-insights audit-logs get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/${n}/${r}/security-center/insights/${l[`issue-id`]==null?`<issue-id>`:encodeURIComponent(String(l[`issue-id`]))}/audit-log`,pathParams:{"account-or-zone":String(n),"account-or-zone-id":String(r),"issue-id":String(l[`issue-id`]??``)},query:c,bodyKind:`none`});return}let u=await i(l),d=l.zone===void 0?`accounts`:`zones`,f=d===`zones`?await n({zone:l.zone},u,{quiet:l.quiet}):l.local?e:await r();d===`zones`?l.zoneId=f:l.accountId=f,a(await s(`Loading`,async()=>u.securityInsights.auditLogs.get({account_or_zone:d,account_or_zone_id:f,issue_id:l[`issue-id`],...c})),{successLabel:`Loaded`})})};function g(e){return e.usage(`$0 security-insights audit-logs list
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-M2Ho8pi3.mjs";import{r as t}from"./auth-BjxUTZWb.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BnIv4lh5.mjs";import{t as a}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as o,t as s}from"./body-parser-hh2avzkz.mjs";import{n as c}from"./input-validation-Dk52b0me.mjs";import{n as l}from"./prompt-DjRAo2Up.mjs";function u(e){return e.usage(`$0 security-txt delete
|
|
3
3
|
|
|
4
4
|
Removes the security.txt file configuration for a zone. The /.well-known/security.txt endpoint will no longer be served.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const d={command:`delete`,describe:`Deletes security.txt`,builder:u,handler:async o=>a({command:`security-txt delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf security-txt delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/security-center/securitytxt`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await l({force:!!o.force})){process.stderr.write(`Aborted.
|
|
5
5
|
`);return}n(await i(`Deleting`,async()=>a.securityTxt.delete({zone_id:s})),{successLabel:`Deleted`})})};function f(e){return e.usage(`$0 security-txt get
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{r as e}from"./theme-BIWQFmZ0.mjs";import{o as t}from"./chunk-
|
|
2
|
+
import{r as e}from"./theme-BIWQFmZ0.mjs";import{o as t}from"./chunk-FT2NMTJB-1VFYM1Ro.mjs";import{t as n}from"./banner-ClclgnBn.mjs";let r=!1,i=!1,a=!1;function o(e,t={}){if(!(r||i)){if(t.quiet||!process.stderr.isTTY){i=!0;return}process.stderr.write(`${n(e,t.update)}\n`),r=!0}}function s(n){!r||i||a||n===`default`||t({allowGlobalAuthKey:!1})!==void 0||(process.stderr.write(`${e.muted(`Active profile:`)} ${e.info(n)}\n`),a=!0)}export{s as n,o as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{r as e}from"./theme-BIWQFmZ0.mjs";import{r as t}from"./dotenv-CcQjGlV0.mjs";import{G as n,nt as r,q as i}from"./dist-
|
|
2
|
+
import{r as e}from"./theme-BIWQFmZ0.mjs";import{r as t}from"./dotenv-CcQjGlV0.mjs";import{G as n,nt as r,q as i}from"./dist-BuCJ_55d.mjs";import"./ui-BQxRjahW.mjs";import{t as a}from"./context-M2Ho8pi3.mjs";import{n as o}from"./dist-DW47TUGh.mjs";import{i as s}from"./auth-BjxUTZWb.mjs";import{D as c,d as l,g as u,u as d}from"./dist-CxGYQfpW.mjs";import{c as f,i as p,l as m,t as h}from"./containers-D9masRwv.mjs";import{a as g,i as _,n as v,o as y,r as b}from"./build-B-tN7mO-.mjs";import{i as x,n as S,t as C}from"./deploy-input-DJWWJs3a.mjs";import{readBuildOutput as w}from"@cloudflare/build-output-utils";function T(e){return e.option(`prebuilt`,{type:`boolean`,description:`Deploy existing Build Output Specification files without building`,default:!1}).option(`tag`,{type:`string`,description:`A tag to associate with this Worker Version`,requiresArg:!0}).option(`message`,{type:`string`,description:`A message to associate with this Worker Version`,requiresArg:!0}).option(`secrets-file`,{type:`string`,description:`Path to a file containing secrets to upload with the version (JSON or .env format)`,requiresArg:!0}).option(`dry-run`,{describe:`Build a project and run checks without actually uploading the Worker`,type:`boolean`,default:!1}).option(`worker`,b)}async function E(e,n){return e.prebuilt||(await v(e.mode,{worker:e.worker}),o.message(``,{spacing:0})),t(e,()=>D(e,n))}async function D(t,v){let{workers:b,rootConfig:T,containers:E}=await w(process.cwd());if(T.buildContext.isPreview){let e=[`cf previews deploy`,...t.prebuilt?[`--prebuilt`]:[],...T.buildContext.mode===void 0?[]:[`--mode`,T.buildContext.mode]].join(` `);throw Error(`This build output is for a Preview. Run ${e} instead.`)}y(t.mode,T.buildContext.mode);let D=g(b,t.worker),{wranglerConfig:O,builtConfig:k}=_(D,T),A=C(D,k),j=t[`dry-run`]?``:await s(),M=t[`dry-run`]?void 0:T.accountId??await a({skipProjectSettings:!0,complianceRegion:i(O)}),N=c(j);m(N),u({logger:N.logger,fetchResult:N.fetchResult,fetchPagedListResult:N.fetchPagedListResult}),M!==void 0&&E.length>0&&l(M,j,n(O));let P=h(E,O,{accountId:M,containersRollout:t[`containers-rollout`]}),F;if(v.command===`Deploy`){let n=S(D,O,M,t,P);o.message(e.bold(`Deploy`),{symbol:e.muted(`├`),spacing:0}),{versionId:F}=await p(n,O,A,{syncWorkersSite:void 0,analyseBundle:void 0})}else{let n=x(D,O,M,t,P);o.message(e.bold(`Upload`),{symbol:e.muted(`├`),spacing:0}),{versionId:F}=await f(n,O,A,{analyseBundle:void 0})}F!==null&&!t[`dry-run`]&&(v.command!==`Deploy`||t[`containers-rollout`]!==`none`)&&await d([...v.command===`Deploy`?P.standard.builtImages:[],...P.durableObjects.builtImages],r()),o.success(t[`dry-run`]?`Dry run complete`:`${v.command} complete`)}export{T as n,E 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-M2Ho8pi3.mjs";import{r as t}from"./auth-BjxUTZWb.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BnIv4lh5.mjs";import{t as a}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as o,r as s,t as c}from"./body-parser-hh2avzkz.mjs";import{n as l}from"./input-validation-Dk52b0me.mjs";import{a as u,n as d}from"./prompt-DjRAo2Up.mjs";function f(e){return e.usage(`$0 smart-shield cache-reserve-clear clear
|
|
3
3
|
|
|
4
4
|
You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const p={command:`clear`,describe:`Start Cache Reserve Clear`,builder:f,handler:async o=>a({command:`smart-shield cache-reserve-clear clear`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf smart-shield cache-reserve-clear clear`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/smart_shield/cache_reserve_clear`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await d({force:!!o.force,message:`This operation permanently clears Cache Reserve for this zone and cannot be undone.`})){process.stderr.write(`Aborted.
|
|
5
5
|
`);return}n(await i(`Deleting`,async()=>a.smartShield.cacheReserveClear.clear({zone_id:s})),{successLabel:`Deleted`})})};function m(e){return e.usage(`$0 smart-shield cache-reserve-clear status
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-M2Ho8pi3.mjs";import{a as t,r as n}from"./auth-BjxUTZWb.mjs";import{t as r}from"./output-CvQFJkvi.mjs";import{t as i}from"./dry-run-Bq0JAsbX.mjs";import{t as a}from"./progress-BnIv4lh5.mjs";import{t as o}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as s,r as c,t as l}from"./body-parser-hh2avzkz.mjs";import{n as u,t as d}from"./input-validation-Dk52b0me.mjs";import{n as f}from"./prompt-DjRAo2Up.mjs";import{n as p,t as m}from"./raw-fetch-CuMHmrn0.mjs";function h(e){return e.usage(`$0 snippets content get <snippet-name>
|
|
3
3
|
|
|
4
4
|
Fetches the content of a snippet belonging to the zone.`).positional(`snippet-name`,{type:`string`,description:`Identify the snippet.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`text`,{type:`boolean`,description:`Decode the response body as UTF-8 text instead of writing raw bytes`,default:!1})}const g={command:`get <snippet-name>`,describe:`Get a zone snippet content`,builder:h,handler:async t=>o({command:`snippets content get`,classification:{safeFlags:[`dry-run`,`text`]}},t,async()=>{if(t.dryRun){i({command:`cf snippets content get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${t.zone??t.zoneId??`<zone>`}/snippets/${t[`snippet-name`]==null?`<snippet-name>`:encodeURIComponent(String(t[`snippet-name`]))}/content`,pathParams:{"zone-id":String(t.zone??t[`zone-id`]??``),"snippet-name":String(t[`snippet-name`]??``)},bodyKind:`none`});return}let r=await n(t);t.zoneId=await e({zone:t.zone},r,{quiet:t.quiet});let o=await a(`Loading`,async()=>m(`/zones/${t.zoneId}/snippets/${encodeURIComponent(String(t[`snippet-name`]))}/content`,{method:`GET`,local:t.local===!0,persistTo:t.persistTo}));p(t.text===!0?o.toString(`utf-8`):o)})},_={command:`content`,describe:`Operations for content`,builder:e=>e.command(g).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function v(e){return e.usage(`$0 snippets delete <snippet-name>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e,n as t}from"./source-38bULAR8.mjs";import{r as n}from"./theme-BIWQFmZ0.mjs";import{t as r}from"./cli-exit-Dqoo6Jgb.mjs";import"./ui-BQxRjahW.mjs";import{a as i,i as a,n as o,o as s,r as c,s as l,t as u}from"./gt-DmcMNPX6.mjs";import{n as d,t as f}from"./discover-B_3A4a_t.mjs";import{t as p}from"./registry-
|
|
2
|
+
import{i as e,n as t}from"./source-38bULAR8.mjs";import{r as n}from"./theme-BIWQFmZ0.mjs";import{t as r}from"./cli-exit-Dqoo6Jgb.mjs";import"./ui-BQxRjahW.mjs";import{a as i,i as a,n as o,o as s,r as c,s as l,t as u}from"./gt-DmcMNPX6.mjs";import{n as d,t as f}from"./discover-B_3A4a_t.mjs";import{t as p}from"./registry-DWTPK8_Q.mjs";import{constants as m}from"node:os";import{spawn as h}from"node:child_process";var g=t(((e,t)=>{t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}})),_=t(((e,t)=>{let n=o();t.exports=(e,t,r)=>n(e,t,r)===0})),v=t(((e,t)=>{let n=o();t.exports=(e,t,r)=>n(e,t,r)!==0})),y=t(((e,t)=>{let n=o();t.exports=(e,t,r)=>n(e,t,r)>=0})),b=t(((e,t)=>{let n=o();t.exports=(e,t,r)=>n(e,t,r)<0})),x=t(((e,t)=>{let n=o();t.exports=(e,t,r)=>n(e,t,r)<=0})),S=t(((e,t)=>{let n=_(),r=v(),i=u(),a=y(),o=b(),s=x();t.exports=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}}})),C=t(((e,t)=>{let n=Symbol(`SemVer ANY`);t.exports=class e{static get ANY(){return n}constructor(t,i){if(i=r(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),d(`comparator`,t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,d(`comp`,this)}parse(e){let t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new f(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(d(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new f(e,this.options)}catch{return!1}return u(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new p(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new p(this.value,n).test(t.semver):(n=r(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||u(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||u(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};let r=a(),{safeRe:o,t:s}=i(),u=S(),d=l(),f=c(),p=w()})),w=t(((e,t)=>{let n=/\s+/g;t.exports=class e{constructor(t,r){if(r=o(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof u)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!w(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&T(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(S,``);let t=((this.options.includePrerelease&&b)|(this.options.loose&&x))+`:`+e,n=r.get(t);if(n)return n;let i=this.options.loose,a=i?p[h.HYPHENRANGELOOSE]:p[h.HYPHENRANGE];e=e.replace(a,R(this.options.includePrerelease)),d(`hyphen replace`,e),e=e.replace(p[h.COMPARATORTRIM],_),d(`comparator trim`,e),e=e.replace(p[h.TILDETRIM],v),d(`tilde trim`,e),e=e.replace(p[h.CARETTRIM],y),d(`caret trim`,e);let o=e.split(` `).map(e=>D(e,this.options)).join(` `).split(/\s+/).map(e=>L(e,this.options));i&&(o=o.filter(e=>(d(`loose invalid filter`,e,this.options),!!e.match(p[h.COMPARATORLOOSE])))),d(`range list`,o);let s=new Map,c=o.map(e=>new u(e,this.options));for(let e of c){if(w(e))return[e];s.set(e.value,e)}s.size>1&&s.has(``)&&s.delete(``);let l=[...s.values()];return r.set(t,l),l}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>E(e,n)&&t.set.some(t=>E(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new f(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(z(this.set[t],e,this.options))return!0;return!1}};let r=new(g()),o=a(),u=C(),d=l(),f=c(),{safeRe:p,src:m,t:h,comparatorTrimReplace:_,tildeTrimReplace:v,caretTrimReplace:y}=i(),{FLAG_INCLUDE_PRERELEASE:b,FLAG_LOOSE:x}=s(),S=new RegExp(m[h.BUILD],`g`),w=e=>e.value===`<0.0.0-0`,T=e=>e.value===``,E=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},D=(e,t)=>(e=e.replace(p[h.BUILD],``),d(`comp`,e,t),e=M(e,t),d(`caret`,e),e=A(e,t),d(`tildes`,e),e=P(e,t),d(`xrange`,e),e=I(e,t),d(`stars`,e),e),O=e=>!e||e.toLowerCase()===`x`||e===`*`,k=(e,t,n)=>O(e)&&!O(t)||O(t)&&n&&!O(n),A=(e,t)=>e.trim().split(/\s+/).map(e=>j(e,t)).join(` `),j=(e,t)=>{let n=t.loose?p[h.TILDELOOSE]:p[h.TILDE],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,o)=>{d(`tilde`,e,t,n,i,a,o);let s;return O(n)?s=``:O(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:O(a)?s=`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:o?(d(`replaceTilde pr`,o),s=`>=${n}.${i}.${a}-${o} <${n}.${+i+1}.0-0`):s=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,d(`tilde return`,s),s})},M=(e,t)=>e.trim().split(/\s+/).map(e=>N(e,t)).join(` `),N=(e,t)=>{d(`caret`,e,t);let n=t.loose?p[h.CARETLOOSE]:p[h.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,o)=>{d(`caret`,e,t,n,i,a,o);let s;return O(n)?s=``:O(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:O(a)?s=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:o?(d(`replaceCaret pr`,o),s=n===`0`?i===`0`?`>=${n}.${i}.${a}-${o} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${o} <${+n+1}.0.0-0`):(d(`no pr`),s=n===`0`?i===`0`?`>=${n}.${i}.${a} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),d(`caret return`,s),s})},P=(e,t)=>(d(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>F(e,t)).join(` `)),F=(e,t)=>{e=e.trim();let n=t.loose?p[h.XRANGELOOSE]:p[h.XRANGE];return e.replace(n,(n,r,i,a,o,s)=>{if(d(`xRange`,e,n,r,i,a,o,s),k(i,a,o))return e;let c=O(i),l=c||O(a),u=l||O(o),f=u;return r===`=`&&f&&(r=``),s=t.includePrerelease?`-0`:``,c?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(l&&(a=0),o=0,r===`>`?(r=`>=`,l?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):r===`<=`&&(r=`<`,l?i=+i+1:a=+a+1),r===`<`&&(s=`-0`),n=`${r+i}.${a}.${o}${s}`):l?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:u&&(n=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`),d(`xRange return`,n),n})},I=(e,t)=>(d(`replaceStars`,e,t),e.trim().replace(p[h.STAR],``)),L=(e,t)=>(d(`replaceGTE0`,e,t),e.trim().replace(p[t.includePrerelease?h.GTE0PRE:h.GTE0],``)),R=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=O(r)?``:O(i)?`>=${r}.0.0${e?`-0`:``}`:O(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=O(l)?``:O(u)?`<${+l+1}.0.0-0`:O(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),z=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(d(e[n].semver),e[n].semver!==u.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}})),T=e(t(((e,t)=>{let n=w();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}}))(),1);function E(e){let t=f(e);if(t.length===0)throw A(e),new r(1);if(t.length>1)throw j(t),new r(1);let[n]=t;if(!n)throw new r(1);if(!n.binary)throw M(n),new r(1);if(n.impl.versionConstraint!==void 0&&!D(n.installedVersion,n.impl.versionConstraint.range))throw O(n),new r(1);return n}function D(e,t){return e!==void 0&&(0,T.default)(e,t,{includePrerelease:!0})}function O(e){console.error(`\n${n.bold(e.impl.pkg)}@${e.installedVersion??`unknown`} is installed, but it is not compatible with cf's local runtime.\n\n`+k(e)+`Try: ${e.impl.installHint}`)}function k(e){let t=e.impl.versionConstraint?.display??`a compatible version`;return`cf requires ${n.bold(t)} for ${n.bold(`cf dev`)}, ${n.bold(`cf build`)}, ${n.bold(`cf deploy`)}, and ${n.bold(`cf previews deploy`)}.\n`}function A(e){console.error(`
|
|
3
3
|
No Cloudflare dev-server is installed in this project.
|
|
4
4
|
|
|
5
5
|
A project must declare exactly one of the following in its manifest:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-M2Ho8pi3.mjs";import{r as t}from"./auth-BjxUTZWb.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BnIv4lh5.mjs";import{t as a}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as o,t as s}from"./body-parser-hh2avzkz.mjs";import{n as c}from"./input-validation-Dk52b0me.mjs";import{a as l,n as u}from"./prompt-DjRAo2Up.mjs";import{t as d}from"./cli-types-DoVT5q_M.mjs";function f(e){return e.usage(`$0 spectrum analytics aggregates currents get
|
|
3
3
|
|
|
4
4
|
Retrieves analytics aggregated from the last minute of usage on Spectrum applications underneath a given zone.`).option(`app-id`,{type:`string`,description:`Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match.`}).option(`colo-name`,{type:`string`,description:`Co-location identifier.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const p={command:`get`,describe:`Get current aggregated analytics`,builder:f,handler:async o=>a({command:`spectrum analytics aggregates currents get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{let a={appID:o[`app-id`],colo_name:o[`colo-name`]};if(o.dryRun){r({command:`cf spectrum analytics aggregates currents get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/spectrum/analytics/aggregate/current`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},query:a,bodyKind:`none`});return}let s=await t(o),c=await e({zone:o.zone},s,{quiet:o.quiet});o.zoneId=c,n(await i(`Loading`,async()=>s.spectrum.analytics.aggregates.currents.get({zone_id:c,...a})),{successLabel:`Loaded`})})},m={command:`currents`,describe:`Operations for analytics.aggregates.currents`,builder:e=>e.command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},h={command:`aggregates`,describe:`Operations for analytics.aggregates`,builder:e=>e.command(m).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function g(e){return e.usage(`$0 spectrum analytics events bytimes get
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e}from"./context-
|
|
2
|
+
import{i as e}from"./context-M2Ho8pi3.mjs";import{r as t}from"./auth-BjxUTZWb.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BnIv4lh5.mjs";import{t as a}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.mjs";import{n as o}from"./body-parser-hh2avzkz.mjs";import{n as s}from"./prompt-DjRAo2Up.mjs";import{t as c}from"./cli-types-DoVT5q_M.mjs";function l(e){return e.usage(`$0 speed availabilities list
|
|
3
3
|
|
|
4
4
|
Retrieves quota for all plans, as well as the current zone quota.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const u={command:`list`,describe:`Get quota and availability`,builder:l,handler:async o=>a({command:`speed availabilities list`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf speed availabilities list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/speed_api/availabilities`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.speed.availabilities.list({zone_id:s})),{successLabel:`Loaded`})})},d={command:`availabilities`,describe:`Check which speed test regions and configurations are available for your zone`,builder:e=>e.command(u).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function f(e){return e.usage(`$0 speed pages list
|
|
5
5
|
|
|
@@ -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-B0914_IJ.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-CH8K5y4G.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-CQc36Viv.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-BtI6fvRl.mjs`),null),hideCommand:!1},{command:i(`access`,`Access protected applications and services`,()=>import(`./access-CqOyTHw4.mjs`),null),hideCommand:!1},{command:i(`account-tags`,`account-tags`,()=>import(`./account-tags-7I77Dwsd.mjs`),null),hideCommand:!1},{command:i(`accounts`,`Account settings, members, roles, subscriptions, and API tokens for your Cloudflare account`,()=>import(`./accounts-Cq-eOPzL.mjs`),null),hideCommand:!1},{command:i(`acm`,`acm`,()=>import(`./acm-CSXnlN6o.mjs`),null),hideCommand:!0},{command:i(`addressing`,`addressing`,()=>import(`./addressing-C5XvjNhk.mjs`),null),hideCommand:!1},{command:i(`agent-memory`,`agent-memory`,()=>import(`./agent-memory-CSzr9gty.mjs`),null),hideCommand:!1},{command:i(`ai`,`ai`,()=>import(`./ai-C0xWIvsG.mjs`),null),hideCommand:!1},{command:i(`ai-audit`,`ai-audit`,()=>import(`./ai-audit-B43vm1KJ.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-BK3MbIzT.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-TrFTxBbn.mjs`),null),hideCommand:!1},{command:i(`ai-security`,`Detect prompt injection, PII, and unsafe topics in traffic to your AI applications`,()=>import(`./ai-security-JrYa27qd.mjs`),null),hideCommand:!0},{command:i(`alerting`,`alerting`,()=>import(`./alerting-B1-ZwfVT.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-B-wlVtDV.mjs`),null),hideCommand:!1},{command:i(`analytics_engine`,`analytics_engine`,()=>import(`./analytics_engine-DWzzQzOs.mjs`),null),hideCommand:!0},{command:i(`api-security`,`api-security`,()=>import(`./api-security-BWFWWmXl.mjs`),null),hideCommand:!0},{command:i(`argo`,`Network optimization features that speed up and improve reliability of traffic to your origins`,()=>import(`./argo-DHPGTvCT.mjs`),null),hideCommand:!0},{command:i(`artifacts`,`artifacts`,()=>import(`./artifacts-mmBDk3wO.mjs`),null),hideCommand:!0},{command:i(`audit-logs`,`audit-logs`,()=>import(`./audit-logs-CCF5e500.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-hRY01t_Z.mjs`),null),hideCommand:!1},{command:i(`billing`,`Account billing profiles and usage data for Cloudflare subscriptions and add-on services`,()=>import(`./billing-C_ev-9nh.mjs`),null),hideCommand:!1},{command:i(`bot-management`,`bot-management`,()=>import(`./bot-management-CyYsXkZt.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-Dj5R5v2o.mjs`),null),hideCommand:!0},{command:i(`brand-protection`,`brand-protection`,()=>import(`./brand-protection-CmQ6Iu0I.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-sWHTsCSB.mjs`),null),hideCommand:!1},{command:i(`builds`,`Build and deploy Workers from connected repositories, then inspect build status and logs.`,()=>import(`./builds-c21rTfcg.mjs`),null),hideCommand:!1},{command:i(`cache`,`Purge cached content and configure Cache Reserve, tiered caching, and variant serving`,()=>import(`./cache-CuNjJl6m.mjs`),null),hideCommand:!1},{command:i(`certificate-authorities`,`certificate-authorities`,()=>import(`./certificate-authorities-DRUUzvI3.mjs`),null),hideCommand:!0},{command:i(`clear`,`clear`,()=>import(`./clear-CRfI7WS7.mjs`),null),hideCommand:!0},{command:i(`client-certificates`,`client-certificates`,()=>import(`./client-certificates-BSi1CEGk.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-BdxUX3Y8.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-B46ajuAj.mjs`),null),hideCommand:!1},{command:i(`cloudforce-one`,`Detection rule management APIs`,()=>import(`./cloudforce-one-adbVR2Ah.mjs`),null),hideCommand:!1},{command:i(`connector-interrupts`,`connector-interrupts`,()=>import(`./connector-interrupts-BhfMiPcq.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-events`,`connector-telemetry-events`,()=>import(`./connector-telemetry-events-CxKECRgO.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-BHi-jHE5.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-gkP2aNSN.mjs`),null),hideCommand:!0},{command:i(`containers`,`Deploy and manage Containers applications on Cloudflare's global network`,()=>import(`./containers-DUvBpnRo.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-BCPhAjMZ.mjs`),null),hideCommand:!0},{command:i(`cps`,`cps`,()=>import(`./cps-B35EPUAk.mjs`),null),hideCommand:!1},{command:i(`csamScanner`,`csamScanner`,()=>import(`./csamScanner-DcTA9oLR.mjs`),null),hideCommand:!0},{command:i(`ct-alerting`,`ct-alerting`,()=>import(`./ct-alerting-B3CS-CPk.mjs`),null),hideCommand:!0},{command:i(`custom-certificates`,`custom-certificates`,()=>import(`./custom-certificates-IjJJhl7_.mjs`),null),hideCommand:!0},{command:i(`custom-csrs`,`custom-csrs`,()=>import(`./custom-csrs-ChYOaEQg.mjs`),null),hideCommand:!1},{command:i(`custom-hostnames`,`custom-hostnames`,()=>import(`./custom-hostnames-Bai3cqAD.mjs`),null),hideCommand:!0},{command:i(`custom-nameservers`,`custom-nameservers`,()=>import(`./custom-nameservers-DsukmLNZ.mjs`),null),hideCommand:!1},{command:i(`custom-pages`,`Manage custom error and challenge pages and their assets for accounts and zones`,()=>import(`./custom-pages-CiboX-9D.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-s293SFAJ.mjs`),null),hideCommand:!1},{command:i(`dcv-delegation`,`dcv-delegation`,()=>import(`./dcv-delegation-BfgvmpQT.mjs`),null),hideCommand:!0},{command:i(`diagnostics`,`Network diagnostic tools — traceroutes from Cloudflare's edge and endpoint health checks`,()=>import(`./diagnostics-Ops0RjxG.mjs`),null),hideCommand:!0},{command:i(`dls`,`dls`,()=>import(`./dls-uo7NYEqE.mjs`),null),hideCommand:!0},{command:i(`dns`,`dns`,()=>import(`./dns-B-NwBOpQ.mjs`),null),hideCommand:!1},{command:i(`dns-firewall`,`dns-firewall`,()=>import(`./dns-firewall-LTIP13nb.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-o7uB3YYg.mjs`),null),hideCommand:!1},{command:i(`email-auth`,`email-auth`,()=>import(`./email-auth-BUdBDCaE.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-BPRliM3z.mjs`),null),hideCommand:!1},{command:i(`email-security`,`Cloud email security — investigate threats, manage allow/block policies, and detect phishing`,()=>import(`./email-security-dbLE3I5c.mjs`),null),hideCommand:!1},{command:i(`email-sending`,`Send transactional email and manage sending subdomains and their DNS configuration`,()=>import(`./email-sending-BLlGy5Mn.mjs`),null),hideCommand:!1},{command:i(`fieldExtractors`,`fieldExtractors`,()=>import(`./fieldExtractors-M-KfLOGw.mjs`),null),hideCommand:!0},{command:i(`firewall`,`Legacy firewall rules, zone lockdowns, access rules, user-agent blocking, and WAF packages`,()=>import(`./firewall-DzbLwqo3.mjs`),null),hideCommand:!1},{command:i(`flagship`,`flagship`,()=>import(`./flagship-DcXWEywy.mjs`),null),hideCommand:!1},{command:i(`fraud`,`fraud`,()=>import(`./fraud-CGXRWANi.mjs`),null),hideCommand:!0},{command:i(`google-tag-gateway`,`Google Tag Gateway operations`,()=>import(`./google-tag-gateway-B3Z3Puwl.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-BIiV29q7.mjs`),null),hideCommand:!0},{command:i(`hostnames`,`hostnames`,()=>import(`./hostnames-ueWsZFwv.mjs`),null),hideCommand:!0},{command:i(`hyperdrive`,`Accelerate access to existing databases by caching queries and pooling connections at the edge`,()=>import(`./hyperdrive-Bxk9LZf5.mjs`),null),hideCommand:!1},{command:i(`iam`,`Identity and access management — permission groups, resource groups, user groups, and SSO connectors`,()=>import(`./iam-kA9gcv79.mjs`),null),hideCommand:!0},{command:i(`images`,`Store, resize, and deliver optimized images globally — variants, signing keys, and direct uploads`,()=>import(`./images-CK4J5as7.mjs`),null),hideCommand:!1},{command:i(`intel`,`Threat intelligence lookups — IP reputation, domain info, ASN details, WHOIS, and indicator feeds`,()=>import(`./intel-z7DkM9Xc.mjs`),null),hideCommand:!1},{command:i(`internal`,`internal`,()=>import(`./internal-BHrJbbdA.mjs`),null),hideCommand:!0},{command:i(`ips`,`ips`,()=>import(`./ips-BXdBK4Co.mjs`),null),hideCommand:!0},{command:i(`keyless-certificates`,`keyless-certificates`,()=>import(`./keyless-certificates-Dp9xTYtD.mjs`),null),hideCommand:!0},{command:i(`keys`,`keys`,()=>import(`./keys-DrVlj4VI.mjs`),null),hideCommand:!0},{command:i(`kv`,`kv`,()=>import(`./kv-WX-dlUT1.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-BMQ0VhCd.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-BbkSL89c.mjs`),null),hideCommand:!1},{command:i(`logo-matches`,`logo-matches`,()=>import(`./logo-matches-HFmD2hK6.mjs`),null),hideCommand:!0},{command:i(`logos`,`logos`,()=>import(`./logos-Di2PABE_.mjs`),null),hideCommand:!0},{command:i(`logpush`,`logpush`,()=>import(`./logpush-DEqdt0I0.mjs`),null),hideCommand:!1},{command:i(`logs`,`Log control, retention, and raw log access — CMB config, ray ID lookups, and received fields`,()=>import(`./logs-Ckfw-3Q_.mjs`),null),hideCommand:!1},{command:i(`magic-cloud-networking`,`magic-cloud-networking`,()=>import(`./magic-cloud-networking-C0yBJKMb.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-CLvaiI7s.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-Bhb1kxYj.mjs`),null),hideCommand:!0},{command:i(`managed-defense`,`managed-defense`,()=>import(`./managed-defense-COL3aqXw.mjs`),null),hideCommand:!1},{command:i(`managed-transforms`,`managed-transforms`,()=>import(`./managed-transforms-cK0strTK.mjs`),null),hideCommand:!0},{command:i(`matches`,`matches`,()=>import(`./matches-Df4WEz0x.mjs`),null),hideCommand:!0},{command:i(`mcp`,`mcp`,()=>import(`./mcp-DK_5OUVl.mjs`),null),hideCommand:!1},{command:i(`mesh`,`mesh`,()=>import(`./mesh-CVXpTYED.mjs`),null),hideCommand:!0},{command:i(`monetization`,`monetization`,()=>import(`./monetization-BHk0S5BF.mjs`),null),hideCommand:!1},{command:i(`mtls-certificates`,`mtls-certificates`,()=>import(`./mtls-certificates-8pzdxzOX.mjs`),null),hideCommand:!0},{command:i(`network`,`network`,()=>import(`./network-ClNeXTvG.mjs`),null),hideCommand:!0},{command:i(`network-interconnects`,`Physical and virtual private interconnects between your infrastructure and Cloudflare's network`,()=>import(`./network-interconnects-t3jSoV7o.mjs`),null),hideCommand:!0},{command:i(`oauth-clients`,`oauth-clients`,()=>import(`./oauth-clients-DBxdvlJC.mjs`),null),hideCommand:!0},{command:i(`oauth-scopes`,`oauth-scopes`,()=>import(`./oauth-scopes-D39GYkt6.mjs`),null),hideCommand:!0},{command:i(`observability`,`observability`,()=>import(`./observability-ZV1yPflB.mjs`),null),hideCommand:!1},{command:i(`organization`,`organization`,()=>import(`./organization-Bk-TkQlB.mjs`),null),hideCommand:!1},{command:i(`organizations`,`Multi-user organizations that group accounts, members, and shared settings under a single entity`,()=>import(`./organizations-hXITNpPl.mjs`),null),hideCommand:!1},{command:i(`origin-ca-certificates`,`origin-ca-certificates`,()=>import(`./origin-ca-certificates-DsLR_Z2e.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_egsVQu.mjs`),null),hideCommand:!0},{command:i(`origin-tls-client-auth`,`origin-tls-client-auth`,()=>import(`./origin-tls-client-auth-DPG6A6kz.mjs`),null),hideCommand:!0},{command:i(`page-rules`,`page-rules`,()=>import(`./page-rules-B8lrkiiF.mjs`),null),hideCommand:!0},{command:i(`pages`,`Full-stack application hosting with Git-integrated builds, preview deployments, and custom domains`,()=>import(`./pages-Cx4doLvQ.mjs`),null),hideCommand:!1},{command:i(`pay-per-crawl`,`pay-per-crawl`,()=>import(`./pay-per-crawl-BUVHqPPA.mjs`),null),hideCommand:!1},{command:i(`pay-per-use`,`pay-per-use`,()=>import(`./pay-per-use-CzYgryid.mjs`),null),hideCommand:!1},{command:i(`pipelines`,`Ingest, transform, and route event streams into R2, analytics, or other destinations in real time`,()=>import(`./pipelines-CGHmwc4a.mjs`),null),hideCommand:!1},{command:i(`precursor`,`Precursor settings for a zone`,()=>import(`./precursor--Jim5u4y.mjs`),null),hideCommand:!0},{command:i(`queries`,`queries`,()=>import(`./queries-z2pjzXlA.mjs`),null),hideCommand:!0},{command:i(`queues`,`Reliable message queuing between Workers — produce, consume, and batch-process messages at scale`,()=>import(`./queues-D0IXxSa7.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-DQ7w9dCM.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-DyLO7Zg1.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-mQzLbDxe.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-ClbtM5Dy.mjs`),null),hideCommand:!1},{command:i(`registrar-sandbox`,`registrar-sandbox`,()=>import(`./registrar-sandbox-BIEHm_Jp.mjs`),null),hideCommand:!1},{command:i(`reporting`,`reporting`,()=>import(`./reporting-CjkMzSsZ.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-BoSXOTox.mjs`),null),hideCommand:!0},{command:i(`resource-sharing`,`Share Cloudflare resources (zones, accounts) across organizations with granular access controls`,()=>import(`./resource-sharing-CFS39nJq.mjs`),null),hideCommand:!1},{command:i(`resource-tagging`,`resource-tagging`,()=>import(`./resource-tagging-CZ5mvMhE.mjs`),null),hideCommand:!0},{command:i(`rules`,`Resources used by Cloudflare rules and rulesets`,()=>import(`./rules-CfqumI45.mjs`),null),hideCommand:!1},{command:i(`rulesets`,`rulesets`,()=>import(`./rulesets-o3jsPv4U.mjs`),null),hideCommand:!1},{command:i(`rum`,`Real User Measurement (Web Analytics) — track page loads, Core Web Vitals, and visitor metrics`,()=>import(`./rum-BZ0rYlun.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-0-eR9pvC.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-Duc29Zs-.mjs`),null),hideCommand:!1},{command:i(`security-insights`,`security-insights`,()=>import(`./security-insights-5CuLC-Yo.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-qm2PqCPz.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-BXLH9OM0.mjs`),null),hideCommand:!0},{command:i(`snippets`,`snippets`,()=>import(`./snippets-DZG6UWeH.mjs`),null),hideCommand:!1},{command:i(`spectrum`,`Proxy and protect arbitrary TCP/UDP applications through Cloudflare's network with DDoS mitigation`,()=>import(`./spectrum-Be4ImAIY.mjs`),null),hideCommand:!0},{command:i(`speed`,`Observatory speed tests — run Lighthouse audits, track performance trends, and schedule recurring tests`,()=>import(`./speed-CNWujfIC.mjs`),null),hideCommand:!1},{command:i(`ssl`,`SSL/TLS certificate management — certificate packs, Universal SSL, verification, and TLS mode recommendations`,()=>import(`./ssl-BIlS4Qs8.mjs`),null),hideCommand:!0},{command:i(`stream`,`Video encoding, storage, and delivery — upload, live-stream, clip, caption, and embed video at scale`,()=>import(`./stream-C5RvTAKF.mjs`),null),hideCommand:!1},{command:i(`submission-info`,`submission-info`,()=>import(`./submission-info-SNhkDRRZ.mjs`),null),hideCommand:!0},{command:i(`submit`,`submit`,()=>import(`./submit-Bpru4P79.mjs`),null),hideCommand:!0},{command:i(`tags`,`tags`,()=>import(`./tags-Rv7X1rU9.mjs`),null),hideCommand:!0},{command:i(`tenant`,`tenant`,()=>import(`./tenant-CjYf6OPN.mjs`),null),hideCommand:!1},{command:i(`tenant-custom-nameservers`,`tenant-custom-nameservers`,()=>import(`./tenant-custom-nameservers-BbHaaEhv.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-CLWPaIIF.mjs`),null),hideCommand:!0},{command:i(`turnstile`,`CAPTCHA-free bot verification widgets that protect forms and APIs without degrading user experience`,()=>import(`./turnstile-C5ezKSoz.mjs`),null),hideCommand:!0},{command:i(`url-info`,`url-info`,()=>import(`./url-info-Gcf8-MyB.mjs`),null),hideCommand:!0},{command:i(`url-normalization`,`url-normalization`,()=>import(`./url-normalization-Dvg8mZRk.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-BZCsgh0O.mjs`),null),hideCommand:!0},{command:i(`user`,`Your Cloudflare user profile, invitations, organizations, billing, and personal API tokens`,()=>import(`./user-BnkvXmjc.mjs`),null),hideCommand:!1},{command:i(`values`,`values`,()=>import(`./values-yUGls__L.mjs`),null),hideCommand:!0},{command:i(`vectorize`,`Globally distributed vector database for building semantic search, recommendations, and RAG applications on Workers`,()=>import(`./vectorize-BiXngTuI.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-BoLWF74U.mjs`),null),hideCommand:!1},{command:i(`web-assets`,`web-assets`,()=>import(`./web-assets-CEJ9Zne1.mjs`),null),hideCommand:!0},{command:i(`web3`,`web3`,()=>import(`./web3-CIjm7EuJ.mjs`),null),hideCommand:!0},{command:i(`workers`,`workers`,()=>import(`./workers-DdtWb7Ws.mjs`),null),hideCommand:!1},{command:i(`workers-builds`,`workers-builds`,()=>import(`./workers-builds-DT4tA-KT.mjs`),null),hideCommand:!0},{command:i(`workers-for-platforms`,`workers-for-platforms`,()=>import(`./workers-for-platforms-CaCr8ApU.mjs`),null),hideCommand:!1},{command:i(`workers-vpc`,`workers-vpc`,()=>import(`./workers-vpc-DRtjG39D.mjs`),null),hideCommand:!1},{command:i(`workflows`,`Durable, multi-step workflows that run on Workers with automatic retries and state persistence`,()=>import(`./workflows-DRme6yrC.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-DmjDEnUJ.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-BRAHExxa.mjs`),null),hideCommand:!1},{command:i(`zone`,`zone`,()=>import(`./zone-CclLvb-g.mjs`),null),hideCommand:!1},{command:i(`zones`,`Zones are domains on Cloudflare — list, create, and configure domain settings`,()=>import(`./zones-C6tc2OOV.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-Dnp10uLy.mjs`),telemetry:{command:`auth`,recordArgs:!1}},{kind:`root`,command:`login`,describe:!1,dir:`login`,load:()=>import(`./login-DYQ8UgJQ.mjs`),telemetry:null},{kind:`root`,command:`build`,describe:`Build a project for Cloudflare`,dir:`build`,load:()=>import(`./build-Dyt1M_Ib.mjs`),telemetry:{command:`build`,classification:{safeFlags:[]}}},{kind:`root`,command:`complete [shell]`,describe:`Generate and handle shell completions`,dir:`completions`,load:()=>import(`./completions-DbT6O2ol.mjs`),telemetry:null},{kind:`root`,command:`deploy`,describe:`Deploy a project to Cloudflare`,dir:`deploy`,load:()=>import(`./deploy-CvxNMDbS.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-Z6vYszaT.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-COcG8sp5.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-Caa776EB.mjs`),telemetry:{command:`cli`,recordArgs:!1}},{kind:`root`,command:`previews`,describe:`Manage Worker Previews`,dir:`previews`,load:()=>import(`./previews-BKO1pZyG.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(`
|
|
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-D9LttL99.mjs`),null),hideCommand:!1},{command:i(`access`,`Access protected applications and services`,()=>import(`./access-CSUG9fDH.mjs`),null),hideCommand:!1},{command:i(`account-tags`,`account-tags`,()=>import(`./account-tags-BkmuF6bd.mjs`),null),hideCommand:!1},{command:i(`accounts`,`Account settings, members, roles, subscriptions, and API tokens for your Cloudflare account`,()=>import(`./accounts-CmqKD3xG.mjs`),null),hideCommand:!1},{command:i(`acm`,`acm`,()=>import(`./acm-D9WirG6Y.mjs`),null),hideCommand:!0},{command:i(`addressing`,`addressing`,()=>import(`./addressing-DAdzF3M5.mjs`),null),hideCommand:!1},{command:i(`agent-memory`,`agent-memory`,()=>import(`./agent-memory-CIEk0dD-.mjs`),null),hideCommand:!1},{command:i(`ai`,`ai`,()=>import(`./ai-Dq1GOYn7.mjs`),null),hideCommand:!1},{command:i(`ai-audit`,`ai-audit`,()=>import(`./ai-audit-D5XtqDkx.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-D16_7Zbq.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-Ce3p9ccc.mjs`),null),hideCommand:!1},{command:i(`ai-security`,`Detect prompt injection, PII, and unsafe topics in traffic to your AI applications`,()=>import(`./ai-security-BodoNshv.mjs`),null),hideCommand:!0},{command:i(`alerting`,`alerting`,()=>import(`./alerting-DuF0tdhO.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-DmnqxoBT.mjs`),null),hideCommand:!1},{command:i(`analytics_engine`,`analytics_engine`,()=>import(`./analytics_engine-BOYHgzoX.mjs`),null),hideCommand:!0},{command:i(`api-security`,`api-security`,()=>import(`./api-security-B3v-EKrg.mjs`),null),hideCommand:!0},{command:i(`argo`,`Network optimization features that speed up and improve reliability of traffic to your origins`,()=>import(`./argo-BsSvWev6.mjs`),null),hideCommand:!0},{command:i(`artifacts`,`artifacts`,()=>import(`./artifacts-Dq5t2ZQO.mjs`),null),hideCommand:!0},{command:i(`audit-logs`,`audit-logs`,()=>import(`./audit-logs-DpszUSNO.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-c_Z-KmdC.mjs`),null),hideCommand:!1},{command:i(`billing`,`Account billing profiles and usage data for Cloudflare subscriptions and add-on services`,()=>import(`./billing-D8eSkPUk.mjs`),null),hideCommand:!1},{command:i(`bot-management`,`bot-management`,()=>import(`./bot-management-gPqJF81w.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-B1TeX5OO.mjs`),null),hideCommand:!0},{command:i(`brand-protection`,`brand-protection`,()=>import(`./brand-protection-jjdTCYeF.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-CkmofJ6D.mjs`),null),hideCommand:!1},{command:i(`builds`,`Build and deploy Workers from connected repositories, then inspect build status and logs.`,()=>import(`./builds-Ca9hPvgz.mjs`),null),hideCommand:!1},{command:i(`cache`,`Purge cached content and configure Cache Reserve, tiered caching, and variant serving`,()=>import(`./cache-BnRnlPjP.mjs`),null),hideCommand:!1},{command:i(`certificate-authorities`,`certificate-authorities`,()=>import(`./certificate-authorities-D2J5rh-m.mjs`),null),hideCommand:!0},{command:i(`clear`,`clear`,()=>import(`./clear-CRfI7WS7.mjs`),null),hideCommand:!0},{command:i(`client-certificates`,`client-certificates`,()=>import(`./client-certificates-D3mKJGFa.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-DcO8apX2.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-CCbT4xFi.mjs`),null),hideCommand:!1},{command:i(`cloudforce-one`,`Detection rule management APIs`,()=>import(`./cloudforce-one-Cnj0OnZF.mjs`),null),hideCommand:!1},{command:i(`connector-interrupts`,`connector-interrupts`,()=>import(`./connector-interrupts-CyeiC7gw.mjs`),null),hideCommand:!0},{command:i(`connector-telemetry-events`,`connector-telemetry-events`,()=>import(`./connector-telemetry-events-D-cL2RuW.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-MrpBZ5fC.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-Ds5PWdpP.mjs`),null),hideCommand:!0},{command:i(`containers`,`Deploy and manage Containers applications on Cloudflare's global network`,()=>import(`./containers-BR6paNcL.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-eX3wIB8J.mjs`),null),hideCommand:!0},{command:i(`cps`,`cps`,()=>import(`./cps-CyviY22M.mjs`),null),hideCommand:!1},{command:i(`csamScanner`,`csamScanner`,()=>import(`./csamScanner-CHF53DZw.mjs`),null),hideCommand:!0},{command:i(`ct-alerting`,`ct-alerting`,()=>import(`./ct-alerting-BORxnBtn.mjs`),null),hideCommand:!0},{command:i(`custom-certificates`,`custom-certificates`,()=>import(`./custom-certificates-KsS8xnfG.mjs`),null),hideCommand:!0},{command:i(`custom-csrs`,`custom-csrs`,()=>import(`./custom-csrs-BtNQaSVn.mjs`),null),hideCommand:!1},{command:i(`custom-hostnames`,`custom-hostnames`,()=>import(`./custom-hostnames-4tLpHtCK.mjs`),null),hideCommand:!0},{command:i(`custom-nameservers`,`custom-nameservers`,()=>import(`./custom-nameservers-DYM29vGA.mjs`),null),hideCommand:!1},{command:i(`custom-pages`,`Manage custom error and challenge pages and their assets for accounts and zones`,()=>import(`./custom-pages-BIwM1IyN.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-Yhj_t0--.mjs`),null),hideCommand:!1},{command:i(`dcv-delegation`,`dcv-delegation`,()=>import(`./dcv-delegation-DXspPfEr.mjs`),null),hideCommand:!0},{command:i(`diagnostics`,`Network diagnostic tools — traceroutes from Cloudflare's edge and endpoint health checks`,()=>import(`./diagnostics-B6FqDbQY.mjs`),null),hideCommand:!0},{command:i(`dls`,`dls`,()=>import(`./dls-CDvZjyjo.mjs`),null),hideCommand:!0},{command:i(`dns`,`dns`,()=>import(`./dns-DGMcGcBE.mjs`),null),hideCommand:!1},{command:i(`dns-firewall`,`dns-firewall`,()=>import(`./dns-firewall-BahlWOJO.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-Cnho3J7w.mjs`),null),hideCommand:!1},{command:i(`email-auth`,`email-auth`,()=>import(`./email-auth-CkqeIq8V.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-D_Mw8HSX.mjs`),null),hideCommand:!1},{command:i(`email-security`,`Cloud email security — investigate threats, manage allow/block policies, and detect phishing`,()=>import(`./email-security-D9yMRsXl.mjs`),null),hideCommand:!1},{command:i(`email-sending`,`Send transactional email and manage sending subdomains and their DNS configuration`,()=>import(`./email-sending-CQfuE7h6.mjs`),null),hideCommand:!1},{command:i(`fieldExtractors`,`fieldExtractors`,()=>import(`./fieldExtractors-Bbbegy-c.mjs`),null),hideCommand:!0},{command:i(`firewall`,`Legacy firewall rules, zone lockdowns, access rules, user-agent blocking, and WAF packages`,()=>import(`./firewall-DtlT_8mG.mjs`),null),hideCommand:!1},{command:i(`flagship`,`flagship`,()=>import(`./flagship-BWEdMJSQ.mjs`),null),hideCommand:!1},{command:i(`fraud`,`fraud`,()=>import(`./fraud-mszBJHV6.mjs`),null),hideCommand:!0},{command:i(`google-tag-gateway`,`Google Tag Gateway operations`,()=>import(`./google-tag-gateway-DD8rztUs.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-CzCJR3df.mjs`),null),hideCommand:!0},{command:i(`hostnames`,`hostnames`,()=>import(`./hostnames-BTSxAv-T.mjs`),null),hideCommand:!0},{command:i(`hyperdrive`,`Accelerate access to existing databases by caching queries and pooling connections at the edge`,()=>import(`./hyperdrive-Bg1T58qE.mjs`),null),hideCommand:!1},{command:i(`iam`,`Identity and access management — permission groups, resource groups, user groups, and SSO connectors`,()=>import(`./iam-cAzxdXI7.mjs`),null),hideCommand:!0},{command:i(`images`,`Store, resize, and deliver optimized images globally — variants, signing keys, and direct uploads`,()=>import(`./images-CfHt8v2n.mjs`),null),hideCommand:!1},{command:i(`intel`,`Threat intelligence lookups — IP reputation, domain info, ASN details, WHOIS, and indicator feeds`,()=>import(`./intel-WWPG0-t7.mjs`),null),hideCommand:!1},{command:i(`internal`,`internal`,()=>import(`./internal-BHrJbbdA.mjs`),null),hideCommand:!0},{command:i(`ips`,`ips`,()=>import(`./ips-CxSw5R88.mjs`),null),hideCommand:!0},{command:i(`keyless-certificates`,`keyless-certificates`,()=>import(`./keyless-certificates-Jfsyada7.mjs`),null),hideCommand:!0},{command:i(`keys`,`keys`,()=>import(`./keys-BrDarg28.mjs`),null),hideCommand:!1},{command:i(`kv`,`kv`,()=>import(`./kv-C8eauBSy.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-Y9mDSJKn.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-DsKJIF_U.mjs`),null),hideCommand:!1},{command:i(`logo-matches`,`logo-matches`,()=>import(`./logo-matches-D1vjZF-k.mjs`),null),hideCommand:!0},{command:i(`logos`,`logos`,()=>import(`./logos-CCEIMvE7.mjs`),null),hideCommand:!0},{command:i(`logpush`,`logpush`,()=>import(`./logpush-DAx2y5MY.mjs`),null),hideCommand:!1},{command:i(`logs`,`Log control, retention, and raw log access — CMB config, ray ID lookups, and received fields`,()=>import(`./logs-D9BsByMt.mjs`),null),hideCommand:!1},{command:i(`magic-cloud-networking`,`magic-cloud-networking`,()=>import(`./magic-cloud-networking-C_FsIQoS.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-DBo1mI3a.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-BgRq6ZeA.mjs`),null),hideCommand:!0},{command:i(`managed-defense`,`managed-defense`,()=>import(`./managed-defense-BRdCrVVh.mjs`),null),hideCommand:!1},{command:i(`managed-transforms`,`managed-transforms`,()=>import(`./managed-transforms-cmvRuRQ7.mjs`),null),hideCommand:!0},{command:i(`matches`,`matches`,()=>import(`./matches-B0bzP6tB.mjs`),null),hideCommand:!0},{command:i(`mcp`,`mcp`,()=>import(`./mcp-CSxoAB-y.mjs`),null),hideCommand:!1},{command:i(`mesh`,`mesh`,()=>import(`./mesh-C-n2gi4F.mjs`),null),hideCommand:!0},{command:i(`monetization`,`monetization`,()=>import(`./monetization-DHFiy5qs.mjs`),null),hideCommand:!1},{command:i(`mtls-certificates`,`mtls-certificates`,()=>import(`./mtls-certificates-o11WJKM1.mjs`),null),hideCommand:!0},{command:i(`network`,`network`,()=>import(`./network-Ck6XHs9j.mjs`),null),hideCommand:!0},{command:i(`network-interconnects`,`Physical and virtual private interconnects between your infrastructure and Cloudflare's network`,()=>import(`./network-interconnects-CT4a_D5b.mjs`),null),hideCommand:!0},{command:i(`oauth-clients`,`oauth-clients`,()=>import(`./oauth-clients-DRBvDDNL.mjs`),null),hideCommand:!0},{command:i(`oauth-scopes`,`oauth-scopes`,()=>import(`./oauth-scopes-eV0VbNV-.mjs`),null),hideCommand:!0},{command:i(`observability`,`observability`,()=>import(`./observability-CBCuWCen.mjs`),null),hideCommand:!1},{command:i(`organization`,`organization`,()=>import(`./organization-3y27rtm7.mjs`),null),hideCommand:!1},{command:i(`organizations`,`Multi-user organizations that group accounts, members, and shared settings under a single entity`,()=>import(`./organizations-Q9QPbB-p.mjs`),null),hideCommand:!1},{command:i(`origin-ca-certificates`,`origin-ca-certificates`,()=>import(`./origin-ca-certificates-CbTgmQ2N.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-D5zeAJJ1.mjs`),null),hideCommand:!0},{command:i(`origin-tls-client-auth`,`origin-tls-client-auth`,()=>import(`./origin-tls-client-auth-V5hB1Bwu.mjs`),null),hideCommand:!0},{command:i(`page-rules`,`page-rules`,()=>import(`./page-rules-BYYBcKRU.mjs`),null),hideCommand:!0},{command:i(`pages`,`Full-stack application hosting with Git-integrated builds, preview deployments, and custom domains`,()=>import(`./pages-CfinrrWX.mjs`),null),hideCommand:!1},{command:i(`pay-per-crawl`,`pay-per-crawl`,()=>import(`./pay-per-crawl-C-S5WxQT.mjs`),null),hideCommand:!1},{command:i(`pay-per-use`,`pay-per-use`,()=>import(`./pay-per-use-B3gl7GQo.mjs`),null),hideCommand:!1},{command:i(`pipelines`,`Ingest, transform, and route event streams into R2, analytics, or other destinations in real time`,()=>import(`./pipelines-lfvTXng7.mjs`),null),hideCommand:!1},{command:i(`precursor`,`Precursor settings for a zone`,()=>import(`./precursor-CNm5rIPl.mjs`),null),hideCommand:!0},{command:i(`queries`,`queries`,()=>import(`./queries-D0obyA9I.mjs`),null),hideCommand:!0},{command:i(`queues`,`Reliable message queuing between Workers — produce, consume, and batch-process messages at scale`,()=>import(`./queues-G1CS4M1H.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-BLXUGlGq.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-hGFsVuHs.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-CZYwfmjr.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-dvv2gU93.mjs`),null),hideCommand:!1},{command:i(`registrar-sandbox`,`registrar-sandbox`,()=>import(`./registrar-sandbox-Cnqn9BDJ.mjs`),null),hideCommand:!1},{command:i(`reporting`,`reporting`,()=>import(`./reporting-Bfwnpc7z.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-CF4_bzqx.mjs`),null),hideCommand:!0},{command:i(`resource-sharing`,`Share Cloudflare resources (zones, accounts) across organizations with granular access controls`,()=>import(`./resource-sharing-DaY7ISTQ.mjs`),null),hideCommand:!1},{command:i(`resource-tagging`,`resource-tagging`,()=>import(`./resource-tagging-D669i7sI.mjs`),null),hideCommand:!1},{command:i(`rules`,`Resources used by Cloudflare rules and rulesets`,()=>import(`./rules-C9w-8uyl.mjs`),null),hideCommand:!1},{command:i(`rulesets`,`rulesets`,()=>import(`./rulesets-yYRTXZ71.mjs`),null),hideCommand:!1},{command:i(`rum`,`Real User Measurement (Web Analytics) — track page loads, Core Web Vitals, and visitor metrics`,()=>import(`./rum-DPrqqYSC.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-DAZek91U.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-COlaXNll.mjs`),null),hideCommand:!1},{command:i(`security-insights`,`security-insights`,()=>import(`./security-insights-DF6ffEWO.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-D1nLEOCZ.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-CKSVq1sT.mjs`),null),hideCommand:!0},{command:i(`snippets`,`snippets`,()=>import(`./snippets-D5zLR7Nj.mjs`),null),hideCommand:!1},{command:i(`spectrum`,`Proxy and protect arbitrary TCP/UDP applications through Cloudflare's network with DDoS mitigation`,()=>import(`./spectrum-L56rh44p.mjs`),null),hideCommand:!0},{command:i(`speed`,`Observatory speed tests — run Lighthouse audits, track performance trends, and schedule recurring tests`,()=>import(`./speed-CfufTtTk.mjs`),null),hideCommand:!1},{command:i(`ssl`,`SSL/TLS certificate management — certificate packs, Universal SSL, verification, and TLS mode recommendations`,()=>import(`./ssl-BrDo1vL9.mjs`),null),hideCommand:!0},{command:i(`stream`,`Video encoding, storage, and delivery — upload, live-stream, clip, caption, and embed video at scale`,()=>import(`./stream-1BpcnrhV.mjs`),null),hideCommand:!1},{command:i(`submission-info`,`submission-info`,()=>import(`./submission-info-SNhkDRRZ.mjs`),null),hideCommand:!0},{command:i(`submit`,`submit`,()=>import(`./submit-C-ICyQA7.mjs`),null),hideCommand:!0},{command:i(`tags`,`tags`,()=>import(`./tags-BA2CG06z.mjs`),null),hideCommand:!1},{command:i(`tenant`,`tenant`,()=>import(`./tenant-DZ4dgD2t.mjs`),null),hideCommand:!1},{command:i(`tenant-custom-nameservers`,`tenant-custom-nameservers`,()=>import(`./tenant-custom-nameservers-YjOHEMtf.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-l8YE_pie.mjs`),null),hideCommand:!0},{command:i(`turnstile`,`CAPTCHA-free bot verification widgets that protect forms and APIs without degrading user experience`,()=>import(`./turnstile-BQrUOlSx.mjs`),null),hideCommand:!0},{command:i(`url-info`,`url-info`,()=>import(`./url-info-D2l_0t3y.mjs`),null),hideCommand:!0},{command:i(`url-normalization`,`url-normalization`,()=>import(`./url-normalization-K8zAzorz.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-Dv7lSDeH.mjs`),null),hideCommand:!0},{command:i(`user`,`Your Cloudflare user profile, invitations, organizations, billing, and personal API tokens`,()=>import(`./user-DleZBZED.mjs`),null),hideCommand:!1},{command:i(`values`,`values`,()=>import(`./values-BnpLZYLh.mjs`),null),hideCommand:!1},{command:i(`vectorize`,`Globally distributed vector database for building semantic search, recommendations, and RAG applications on Workers`,()=>import(`./vectorize-DyHeuA7K.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-CKp_ty0T.mjs`),null),hideCommand:!1},{command:i(`web-assets`,`web-assets`,()=>import(`./web-assets-XrKWHvN4.mjs`),null),hideCommand:!0},{command:i(`web3`,`web3`,()=>import(`./web3-Bntbgx_4.mjs`),null),hideCommand:!0},{command:i(`workers`,`workers`,()=>import(`./workers-DM3cs8PN.mjs`),null),hideCommand:!1},{command:i(`workers-builds`,`workers-builds`,()=>import(`./workers-builds-02i1psK2.mjs`),null),hideCommand:!0},{command:i(`workers-for-platforms`,`workers-for-platforms`,()=>import(`./workers-for-platforms-B5RlZXZK.mjs`),null),hideCommand:!1},{command:i(`workers-vpc`,`workers-vpc`,()=>import(`./workers-vpc-kjiAIRuT.mjs`),null),hideCommand:!1},{command:i(`workflows`,`Durable, multi-step workflows that run on Workers with automatic retries and state persistence`,()=>import(`./workflows-BkuFC47X.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-BPOqw7RU.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-B4sjDfre.mjs`),null),hideCommand:!1},{command:i(`zone`,`zone`,()=>import(`./zone-DkaGQuB6.mjs`),null),hideCommand:!1},{command:i(`zones`,`Zones are domains on Cloudflare — list, create, and configure domain settings`,()=>import(`./zones-DIlihhZN.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-skaSvH3I.mjs`),telemetry:{command:`auth`,recordArgs:!1}},{kind:`root`,command:`login`,describe:!1,dir:`login`,load:()=>import(`./login-DGXSiCII.mjs`),telemetry:null},{kind:`root`,command:`build`,describe:`Build a project for Cloudflare`,dir:`build`,load:()=>import(`./build-D5D56lvE.mjs`),telemetry:{command:`build`,classification:{safeFlags:[]}}},{kind:`root`,command:`complete [shell]`,describe:`Generate and handle shell completions`,dir:`completions`,load:()=>import(`./completions-EHied_ON.mjs`),telemetry:null},{kind:`root`,command:`deploy`,describe:`Deploy a project to Cloudflare`,dir:`deploy`,load:()=>import(`./deploy-su0BR90P.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-DqgkwmRH.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-9TwyFuzD.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-xbKU3h28.mjs`),telemetry:{command:`cli`,recordArgs:!1}},{kind:`root`,command:`previews`,describe:`Manage Worker Previews`,dir:`previews`,load:()=>import(`./previews-DV7OxoSM.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-CpXhcMdX.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-D14VqvDU.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-zLVAcGWy.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-D9jA6L9a.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-M2Ho8pi3.mjs";import{r as t}from"./auth-BjxUTZWb.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-BnIv4lh5.mjs";import{t as a}from"./run-Duj1fsxa.mjs";import"./telemetry-Bn5lYtiy.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-DjRAo2Up.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
|
|