cf 0.15.0 → 1.0.0-beta.1
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/LICENSE-APACHE +176 -0
- package/LICENSE-MIT +25 -0
- package/README.md +6 -7
- package/dist/_meta/commands.json +62 -6
- package/dist/_meta/hand-written-commands.json +31 -1
- package/dist/_meta/schemas.json +23 -1
- package/dist/{abuse-reports-BAQR1w79.mjs → abuse-reports-Dd6kJM7r.mjs} +1 -1
- package/dist/{access-C8KMplzp.mjs → access-C_2rEi0H.mjs} +1 -1
- package/dist/{account-B-KQSR0L.mjs → account-CZ9SPVdz.mjs} +1 -1
- package/dist/{account-tags-EncLJpLc.mjs → account-tags-DAf-hq1m.mjs} +1 -1
- package/dist/{accounts-BA4Mp3A_.mjs → accounts-BDIKjiG2.mjs} +1 -1
- package/dist/{acm-ByxUJcqF.mjs → acm-D-q1FVWJ.mjs} +1 -1
- package/dist/{addressing-C-ym0h0G.mjs → addressing-0w2U1NEy.mjs} +1 -1
- package/dist/{agent-memory-CkPSiZDI.mjs → agent-memory-Drumm4qd.mjs} +1 -1
- package/dist/{ai-DkE_Q64s.mjs → ai-ARwLeQ1O.mjs} +1 -1
- package/dist/{ai-audit-pPcjYWI5.mjs → ai-audit-CPrmohqf.mjs} +1 -1
- package/dist/{ai-gateway-DtrwF1lQ.mjs → ai-gateway-DNY4FPF2.mjs} +1 -1
- package/dist/{ai-search-DLD_kDS1.mjs → ai-search-B5l4IDSR.mjs} +1 -1
- package/dist/{ai-security-jyZcBl9g.mjs → ai-security-C7_IGDDl.mjs} +1 -1
- package/dist/{alerting-DOROjm8E.mjs → alerting-B6m1Rhf4.mjs} +1 -1
- package/dist/{analytics-rQ-h-plT.mjs → analytics-nnzFBB_7.mjs} +1 -1
- package/dist/{analytics_engine-Cg9gCAMt.mjs → analytics_engine-BvjKCwn1.mjs} +1 -1
- package/dist/{api-security-B8p8vp8u.mjs → api-security-B9IozS2a.mjs} +1 -1
- package/dist/{argo-g8SjUb_t.mjs → argo-C_QcqR6P.mjs} +1 -1
- package/dist/{artifacts-B1PaeF5h.mjs → artifacts-DDFNpYBz.mjs} +1 -1
- package/dist/{audit-logs-DmU_PHy_.mjs → audit-logs-cTzNV0DV.mjs} +1 -1
- package/dist/{auth-Cp7gT-AF.mjs → auth-DJhSjNNL.mjs} +1 -1
- package/dist/{auth-CZqics6E.mjs → auth-sAorfdWU.mjs} +1 -1
- package/dist/{billing-CvTbUg-H.mjs → billing-DU2X-q-x.mjs} +1 -1
- package/dist/{bot-management-z53tbcbH.mjs → bot-management-BHAAoZOh.mjs} +1 -1
- package/dist/{botnet-feed-CSBbJdr_.mjs → botnet-feed-DOOnGVVY.mjs} +1 -1
- package/dist/{brand-protection-DzV211IQ.mjs → brand-protection-C_DYa7IK.mjs} +1 -1
- package/dist/{browser-extension-C0Hi9CHX.mjs → browser-extension-C48pKh3t.mjs} +1 -1
- package/dist/{browser-run-DYQvMAyo.mjs → browser-run-Dw-vgWGR.mjs} +1 -1
- package/dist/build-1a8CiNIT.mjs +2 -0
- package/dist/build-Ca_drQY2.mjs +2 -0
- package/dist/{builds-CwKRqjQ5.mjs → builds-CO0MmSd3.mjs} +1 -1
- package/dist/{cache-CugNPPsJ.mjs → cache-XxusQxXe.mjs} +1 -1
- package/dist/{certificate-authorities-DaEnJYge.mjs → certificate-authorities-Dmxh7w-Z.mjs} +1 -1
- package/dist/{client-certificates-DZUIqBTB.mjs → client-certificates-CgaIc3zN.mjs} +1 -1
- package/dist/{client-side-security-Dk6F1ENG.mjs → client-side-security-D7NWV0YH.mjs} +1 -1
- package/dist/{cloud-connector-avpf86kG.mjs → cloud-connector-XMFOTNqT.mjs} +1 -1
- package/dist/{cloudforce-one-DNRhUD8z.mjs → cloudforce-one-Cew4MHvA.mjs} +1 -1
- package/dist/{command-B2Qe-WUa.mjs → command-CsZFRm3P.mjs} +1 -1
- package/dist/{command-DIvPLK8x.mjs → command-DBz8QiFk.mjs} +1 -1
- package/dist/command-RiZ_LYcm.mjs +2 -0
- package/dist/{connector-interrupts-BSztJ-Ko.mjs → connector-interrupts-BfQN_pm6.mjs} +1 -1
- package/dist/{connector-telemetry-events-_M8CCK6_.mjs → connector-telemetry-events-B7qLZsZJ.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-DySvmR9a.mjs → connector-telemetry-snapshots-Ckvg9BPc.mjs} +1 -1
- package/dist/{connectors-BSmhzNB7.mjs → connectors-BhvAP5fb.mjs} +1 -1
- package/dist/{containers-B5vDcFzo.mjs → containers-Bl3EY-cy.mjs} +1 -1
- package/dist/{containers-CFzvhmyz.mjs → containers-Cq1gtnq6.mjs} +1 -1
- package/dist/{content-scan-CeLZAcbT.mjs → content-scan-BYGe9fFj.mjs} +1 -1
- package/dist/{cps-BlI_Od72.mjs → cps-BWMDWeVq.mjs} +1 -1
- package/dist/{csamScanner-Cn7d0HWS.mjs → csamScanner-DMYGzLNi.mjs} +1 -1
- package/dist/{ct-alerting-lhgFPu-y.mjs → ct-alerting-Vq4l2s7n.mjs} +1 -1
- package/dist/{custom-certificates-Ba4Do5qt.mjs → custom-certificates-BDEHH0Ym.mjs} +1 -1
- package/dist/{custom-csrs-MNUIx8yX.mjs → custom-csrs-CHSkZNdX.mjs} +1 -1
- package/dist/{custom-hostnames-Dj1SBd0J.mjs → custom-hostnames-Bch3iQZC.mjs} +1 -1
- package/dist/{custom-nameservers-C7nzhNzV.mjs → custom-nameservers-Tdvu1-vr.mjs} +1 -1
- package/dist/{custom-pages-BgfhGksj.mjs → custom-pages-rFsiIXlr.mjs} +1 -1
- package/dist/{d1-P2kWbdID.mjs → d1-C1GK7DsW.mjs} +1 -1
- package/dist/{data-security-pBIozmRL.mjs → data-security-DDhPnX8Z.mjs} +1 -1
- package/dist/{dcv-delegation-Bpy9WnKZ.mjs → dcv-delegation-D6xiYj2l.mjs} +1 -1
- package/dist/{deploy-CVYdt3NK.mjs → deploy-D04Xvm0m.mjs} +1 -1
- package/dist/{deploy-input-DpOgndz4.mjs → deploy-input-COEKxOA1.mjs} +1 -1
- package/dist/{dev-PPUBjWcm.mjs → dev-CVD3BVUG.mjs} +1 -1
- package/dist/{diagnostics-C62habGQ.mjs → diagnostics-BZVAAguV.mjs} +1 -1
- package/dist/{dialog-C_ccBiZp.mjs → dialog--iw0F2s-.mjs} +1 -1
- package/dist/{dist-B4pQ4CXK.mjs → dist-CUUGKvjh.mjs} +1 -1
- package/dist/{dls-CpkcyQ8C.mjs → dls-BsnURYja.mjs} +1 -1
- package/dist/{dns-DG1X4Wap.mjs → dns-B_nTXhuM.mjs} +1 -1
- package/dist/{dns-firewall-B1gGHEDo.mjs → dns-firewall-DDsrdulo.mjs} +1 -1
- package/dist/{durable-objects-D214VhxH.mjs → durable-objects-8U8DpF9q.mjs} +1 -1
- package/dist/{email-auth-Ba4ONan2.mjs → email-auth-CzjtGH6g.mjs} +1 -1
- package/dist/{email-routing-BlqKnqNM.mjs → email-routing-B92fty1-.mjs} +1 -1
- package/dist/{email-security-Dl1E1Dko.mjs → email-security-keTqF0nJ.mjs} +1 -1
- package/dist/{email-sending-DIRSSRIz.mjs → email-sending-B7f95epu.mjs} +5 -5
- package/dist/error-sanitization-Cbd_oegl.mjs +2 -0
- package/dist/{error-sanitization-DOlqWkNu.mjs → error-sanitization-DwOlM3R7.mjs} +1 -1
- package/dist/{fieldExtractors-zqYKMCEn.mjs → fieldExtractors-DL_H1m7E.mjs} +1 -1
- package/dist/{firewall-DdsDh8GD.mjs → firewall-67qoXiqD.mjs} +1 -1
- package/dist/{flagship-CkUIVW7c.mjs → flagship-CjC3dF7L.mjs} +1 -1
- package/dist/{fraud-BUpZgvQT.mjs → fraud-DU_YCLC5.mjs} +1 -1
- package/dist/{google-tag-gateway-Bi1uLnEU.mjs → google-tag-gateway-xqN-QudN.mjs} +1 -1
- package/dist/{healthchecks-DjQWb3EM.mjs → healthchecks-COnq1YOx.mjs} +1 -1
- package/dist/{hostnames-ClBLPbct.mjs → hostnames-CxRAY_Pp.mjs} +1 -1
- package/dist/{hyperdrive-U54xZsWU.mjs → hyperdrive-DPWyiXpj.mjs} +1 -1
- package/dist/{iam-T-wWmOep.mjs → iam-CtX9NPCy.mjs} +1 -1
- package/dist/{images-ia5UG1GW.mjs → images-CuWFOsGw.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{intel-BhswZLMI.mjs → intel-BeGV3VXt.mjs} +1 -1
- package/dist/{ips-Dad_EvhM.mjs → ips-d6aoKAI4.mjs} +1 -1
- package/dist/{keyless-certificates-BhHaxLjM.mjs → keyless-certificates-Dvib4jhw.mjs} +1 -1
- package/dist/{keys-DjIPvqj4.mjs → keys-Fyf3vWcA.mjs} +1 -1
- package/dist/{kv-DzXVnK94.mjs → kv-CA4J7cCq.mjs} +1 -1
- package/dist/{leaked-credential-checks-B9G_ZTNH.mjs → leaked-credential-checks-B7ewx3W-.mjs} +1 -1
- package/dist/{load-balancers-3wGHPsYz.mjs → load-balancers-DHD4f2CT.mjs} +1 -1
- package/dist/{login-CEQbOgBM.mjs → login-CLW108XX.mjs} +1 -1
- package/dist/{login-DEWvGuaU.mjs → login-xgRjiyJa.mjs} +1 -1
- package/dist/{logo-matches-YGRPstPi.mjs → logo-matches-BAX8v3iL.mjs} +1 -1
- package/dist/{logos-BirufUgo.mjs → logos-BWBVGwU6.mjs} +1 -1
- package/dist/{logpush-BlNbUHyV.mjs → logpush-CZKR8DHO.mjs} +1 -1
- package/dist/{logs-DmFlVF9q.mjs → logs-CiDyrqEu.mjs} +1 -1
- package/dist/{magic-cloud-networking-B3Wj2dhJ.mjs → magic-cloud-networking-DttrBXqd.mjs} +1 -1
- package/dist/{magic-network-monitoring-ry63w2Rw.mjs → magic-network-monitoring-9VXDSYuL.mjs} +1 -1
- package/dist/{magic-transit-CBVOK2aa.mjs → magic-transit-Dsu_cSGM.mjs} +1 -1
- package/dist/{managed-defense-BdW6s483.mjs → managed-defense-SYreve4W.mjs} +1 -1
- package/dist/{managed-transforms-BIeiofIS.mjs → managed-transforms-CzSy_xPw.mjs} +1 -1
- package/dist/{matches-CAnwci0P.mjs → matches-qf7GReyu.mjs} +1 -1
- package/dist/{mcp-BfhOMGFE.mjs → mcp-DYSk5_gc.mjs} +1 -1
- package/dist/{mesh-CxUL2Wf-.mjs → mesh-DdY07OYt.mjs} +1 -1
- package/dist/{mtls-certificates-CzmTw4zs.mjs → mtls-certificates-LXlgdkf1.mjs} +1 -1
- package/dist/{network-C68psMbz.mjs → network-DpaZ5LJL.mjs} +1 -1
- package/dist/{network-interconnects-CLsMrTuk.mjs → network-interconnects-C4uUoeNa.mjs} +1 -1
- package/dist/{oauth-D4bkeMAw.mjs → oauth-Dzk6Gy-6.mjs} +1 -1
- package/dist/{oauth-clients-DbUmVE_5.mjs → oauth-clients-D7Ou7oAS.mjs} +1 -1
- package/dist/{oauth-DouM-qz0.mjs → oauth-nsTDJ0dF.mjs} +1 -1
- package/dist/{oauth-scopes-CQ18rwBg.mjs → oauth-scopes-BFoE82Mv.mjs} +1 -1
- package/dist/{observability-DpYxkFeZ.mjs → observability-smcOFbC1.mjs} +1 -1
- package/dist/{organization-Dg55Xfz7.mjs → organization-Dyf_0mq4.mjs} +1 -1
- package/dist/{organizations-QnyzGjB2.mjs → organizations-D7zGPLVm.mjs} +1 -1
- package/dist/{origin-ca-certificates-Co5lqIGL.mjs → origin-ca-certificates-DJrp29gv.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-Cz8JZamC.mjs → origin-post-quantum-encryption-BYj3kJiq.mjs} +1 -1
- package/dist/{origin-tls-client-auth-Dd0T1Kfv.mjs → origin-tls-client-auth-j0tGh6Fy.mjs} +1 -1
- package/dist/{page-rules--D3eXrCf.mjs → page-rules-CLzba_nr.mjs} +1 -1
- package/dist/{pages-Ce8DDgNr.mjs → pages-pah6dZBJ.mjs} +1 -1
- package/dist/{pay-per-crawl-CpkEbasz.mjs → pay-per-crawl-DbaTVI8V.mjs} +1 -1
- package/dist/{pay-per-use-fyM1DWgY.mjs → pay-per-use-BEvtoppJ.mjs} +1 -1
- package/dist/{pipelines-CAqCgBLh.mjs → pipelines-lps71uoA.mjs} +1 -1
- package/dist/{precursor-DBnn4Q35.mjs → precursor-DTTYLDEa.mjs} +1 -1
- package/dist/previews-B89cUmpr.mjs +4 -0
- package/dist/{progress-Bi02B6v4.mjs → progress-D_mL-Kcy.mjs} +1 -1
- package/dist/{prompt-Bx2PB-tt.mjs → prompt-sL_yMZbI.mjs} +1 -1
- package/dist/{queries-dg-CVXjf.mjs → queries-EJYlFw8m.mjs} +1 -1
- package/dist/{queues-C_ilLbRI.mjs → queues-CozKGaA4.mjs} +1 -1
- package/dist/{r2-hZAkra-l.mjs → r2-Chn_JQUM.mjs} +1 -1
- package/dist/{r2-data-catalog-DGv6aROr.mjs → r2-data-catalog-Bfn3AWzn.mjs} +1 -1
- package/dist/{radar-BO9b0aZy.mjs → radar-NmpdyMo5.mjs} +1 -1
- package/dist/{raw-fetch-DNTQkXbg.mjs → raw-fetch-lSVttVJF.mjs} +1 -1
- package/dist/{realtime-eSavuSeE.mjs → realtime-iWTz8WbH.mjs} +1 -1
- package/dist/{registrar-Ct30kOXZ.mjs → registrar-Cza1L8i_.mjs} +1 -1
- package/dist/{registrar-sandbox-Dmn9zGUk.mjs → registrar-sandbox-BP4GQg5s.mjs} +1 -1
- package/dist/{reporting-B-F5aWUJ.mjs → reporting-gvXX2MxY.mjs} +1 -1
- package/dist/{request-headers-Dnbzv6RZ.mjs → request-headers-POBKmu93.mjs} +1 -1
- package/dist/{request-tracers-CaubpUFV.mjs → request-tracers-F8a_aj32.mjs} +1 -1
- package/dist/{resource-sharing-6Snv-b69.mjs → resource-sharing-D6XWIDmb.mjs} +1 -1
- package/dist/{resource-tagging-W_LFiX2J.mjs → resource-tagging-c_z4VZt0.mjs} +1 -1
- package/dist/{rules-C26eyeA5.mjs → rules-_QDaG3U5.mjs} +1 -1
- package/dist/{rulesets-BKzIwVtJ.mjs → rulesets-Bc4ZuPG_.mjs} +1 -1
- package/dist/{rum-Xdw5hyWY.mjs → rum-ChPyfpM2.mjs} +1 -1
- package/dist/{run-BBBMrSrs.mjs → run-DtN51G2A.mjs} +1 -1
- package/dist/run-oACgYK8I.mjs +2 -0
- package/dist/{schema-DqtYndhB.mjs → schema-DZSSJaY0.mjs} +1 -1
- package/dist/{schema-flags-CebDI0f1.mjs → schema-flags-C9lbLgE-.mjs} +1 -1
- package/dist/{scim-odJTXiIe.mjs → scim-BjiswXbC.mjs} +1 -1
- package/dist/{sdk-CvIO3tWS.mjs → sdk-CsWOex96.mjs} +1 -1
- package/dist/{secrets-store-RYpWWzaw.mjs → secrets-store-Cn3D5a0d.mjs} +1 -1
- package/dist/{security-center-B3D95vCa.mjs → security-center-DP4GC1cG.mjs} +1 -1
- package/dist/{security-txt-BSytVv-9.mjs → security-txt-CaR5Idmz.mjs} +1 -1
- package/dist/shared-W9uoX1-W.mjs +2 -0
- package/dist/{smart-shield-C83Sfnf4.mjs → smart-shield-CphSzoh4.mjs} +1 -1
- package/dist/{snippets-B6oE9WIa.mjs → snippets-r-Mre0cE.mjs} +1 -1
- package/dist/{spawn-CKqJ9J4_.mjs → spawn-BWEuIO-w.mjs} +1 -1
- package/dist/{spectrum-CfxY--X_.mjs → spectrum-BhjCVFZk.mjs} +1 -1
- package/dist/{speed-DzK-kiWt.mjs → speed-CPgypY7n.mjs} +1 -1
- package/dist/{src-B3h6tKMt.mjs → src-Hw-TlVAO.mjs} +5 -5
- package/dist/{ssl-dnjzPcSB.mjs → ssl-DsMrXyqK.mjs} +1 -1
- package/dist/{stream-oFyhS4Wi.mjs → stream-L2NmGPby.mjs} +1 -1
- package/dist/{submit-4f-ravmC.mjs → submit-KN0Ul5fV.mjs} +1 -1
- package/dist/{tags-DrIP6Uiq.mjs → tags-CZMFKGdP.mjs} +1 -1
- package/dist/{telemetry-Ds4epd3D.mjs → telemetry-CSj_ezpk.mjs} +1 -1
- package/dist/telemetry-DAf9gLyH.mjs +2 -0
- package/dist/{tenant-C-gc3NWv.mjs → tenant-Cu4P-foo.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-DduTQIwh.mjs → tenant-custom-nameservers-Nx59Buv0.mjs} +1 -1
- package/dist/{tunnels-D0QYsskp.mjs → tunnels-C-mMZy4v.mjs} +1 -1
- package/dist/{turnstile-C6Q3spRB.mjs → turnstile-39JL9tMt.mjs} +1 -1
- package/dist/{update-check-CTLoakFV.mjs → update-check-BKQBD4MQ.mjs} +1 -1
- package/dist/update-check-CE9XB6gf.mjs +2 -0
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-info-Cs0V89qq.mjs → url-info-7ikewAnp.mjs} +1 -1
- package/dist/{url-normalization-DaEQYy5h.mjs → url-normalization-B0D7Fhf3.mjs} +1 -1
- package/dist/{url-scanner-C4YVeQ4v.mjs → url-scanner-DpKIqkin.mjs} +1 -1
- package/dist/{user-BV1VY3Kl.mjs → user-BFq8UM1s.mjs} +1 -1
- package/dist/{values-qDS63E43.mjs → values-DnBYV1ZD.mjs} +1 -1
- package/dist/{vectorize-NFzD3mP5.mjs → vectorize-BpZ4UsUj.mjs} +1 -1
- package/dist/version-Bh3b9vTa.mjs +2 -0
- package/dist/{waiting-rooms-Y9YGj3ih.mjs → waiting-rooms-DJfqehy9.mjs} +1 -1
- package/dist/{web-assets-Gd6z8dbt.mjs → web-assets-CCSSW_JH.mjs} +1 -1
- package/dist/{web3-DCJx4NRp.mjs → web3-bbT1REPc.mjs} +1 -1
- package/dist/{workers-B-j-1ygi.mjs → workers-CXuyjZB8.mjs} +20 -20
- package/dist/{workers-builds-DPrNKjZW.mjs → workers-builds-TRF3K416.mjs} +1 -1
- package/dist/{workers-for-platforms-BjKAhMLA.mjs → workers-for-platforms-B57iKiSN.mjs} +1 -1
- package/dist/{workers-vpc-C5YoCnQK.mjs → workers-vpc-kgryQ48l.mjs} +1 -1
- package/dist/{workflows-C2KKIJjl.mjs → workflows-CKdPlIkK.mjs} +1 -1
- package/dist/{zaraz-CVLCs1IX.mjs → zaraz-BXFlEWSx.mjs} +1 -1
- package/dist/{zero-trust-BtJi4OXF.mjs → zero-trust-M08mBsYd.mjs} +1 -1
- package/dist/{zone-hKgt0WzO.mjs → zone-DHmrotGW.mjs} +1 -1
- package/dist/{zones-CCNyaD3J.mjs → zones-C0eKBTqG.mjs} +1 -1
- package/package.json +15 -3
- package/dist/build-BPIp8J5F.mjs +0 -2
- package/dist/build-OC77a1zq.mjs +0 -2
- package/dist/command-D45NW-R3.mjs +0 -2
- package/dist/error-sanitization-BkgUhGVc.mjs +0 -2
- package/dist/previews-y_nSqWK5.mjs +0 -4
- package/dist/run-BRucX7Rz.mjs +0 -2
- package/dist/shared-D67owd9x.mjs +0 -2
- package/dist/telemetry-mKEb8lYB.mjs +0 -2
- package/dist/update-check-BBS1K1jt.mjs +0 -2
- package/dist/version-W6_TN_kN.mjs +0 -2
package/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
package/LICENSE-MIT
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Copyright (c) 2020 Cloudflare, Inc. <wrangler@cloudflare.com>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any
|
|
4
|
+
person obtaining a copy of this software and associated
|
|
5
|
+
documentation files (the "Software"), to deal in the
|
|
6
|
+
Software without restriction, including without
|
|
7
|
+
limitation the rights to use, copy, modify, merge,
|
|
8
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software
|
|
10
|
+
is furnished to do so, subject to the following
|
|
11
|
+
conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice
|
|
14
|
+
shall be included in all copies or substantial portions
|
|
15
|
+
of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
18
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
20
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
21
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
22
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
23
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
24
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
25
|
+
DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A unified command-line interface for Cloudflare, generated from Cloudflare's public OpenAPI surface and published as the unscoped `cf` npm package.
|
|
4
4
|
|
|
5
|
-
This is a
|
|
5
|
+
This is a beta preview. To learn more, see the [announcement blog post](https://blog.cloudflare.com/cf-cli-local-explorer/).
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -16,13 +16,16 @@ Requires Node.js 22 or newer.
|
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
18
|
cf auth login # Authenticate with Cloudflare
|
|
19
|
-
cf auth create work # Create a named auth profile
|
|
20
|
-
cf auth activate work # Use it in the current directory
|
|
21
19
|
cf --help # Browse all commands
|
|
22
20
|
cf <command> --help # Per-command help
|
|
23
21
|
cf complete bash >> ~/.bashrc # Install shell completions
|
|
24
22
|
```
|
|
25
23
|
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
Licensed under either the Apache License 2.0 or the MIT License, at your
|
|
27
|
+
option.
|
|
28
|
+
|
|
26
29
|
Generated API commands follow the shape `cf <product> [group…] <operation>`. Use help or shell completion to discover the current surface; it changes with the pinned public OpenAPI release.
|
|
27
30
|
|
|
28
31
|
## Authentication
|
|
@@ -58,7 +61,3 @@ terminal.
|
|
|
58
61
|
## Documentation
|
|
59
62
|
|
|
60
63
|
- [Cloudflare developer docs](https://developers.cloudflare.com/)
|
|
61
|
-
|
|
62
|
-
## License
|
|
63
|
-
|
|
64
|
-
MIT
|
package/dist/_meta/commands.json
CHANGED
|
@@ -46599,6 +46599,12 @@
|
|
|
46599
46599
|
"description": "Build a project and run checks without actually uploading the Worker",
|
|
46600
46600
|
"default": false
|
|
46601
46601
|
},
|
|
46602
|
+
{
|
|
46603
|
+
"name": "worker",
|
|
46604
|
+
"type": "string",
|
|
46605
|
+
"required": false,
|
|
46606
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
46607
|
+
},
|
|
46602
46608
|
{
|
|
46603
46609
|
"name": "dispatch-namespace",
|
|
46604
46610
|
"type": "string",
|
|
@@ -55358,7 +55364,7 @@
|
|
|
55358
55364
|
"command": "cf email-sending suppressions create",
|
|
55359
55365
|
"name": "create",
|
|
55360
55366
|
"fullPath": ["email-sending", "suppressions", "create"],
|
|
55361
|
-
"description": "Creates
|
|
55367
|
+
"description": "Creates a suppression for every sending domain of the account (default) or for one sending domain (`scope.type = sending_domain`). Creating an existing active suppression returns its identifier. If a mutable legacy zone-linked account row already exists, it is promoted without changing its identifier.",
|
|
55362
55368
|
"summary": "Create account Email Sending suppression",
|
|
55363
55369
|
"usage": "cf email-sending suppressions create [options]",
|
|
55364
55370
|
"arguments": [],
|
|
@@ -55381,6 +55387,19 @@
|
|
|
55381
55387
|
"required": false,
|
|
55382
55388
|
"description": "Advisory note for this suppression. Not enforced or validated beyond length."
|
|
55383
55389
|
},
|
|
55390
|
+
{
|
|
55391
|
+
"name": "scope-type",
|
|
55392
|
+
"type": "string",
|
|
55393
|
+
"required": false,
|
|
55394
|
+
"description": "Blocks the recipient for every sending domain of the account.",
|
|
55395
|
+
"enum": ["account", "sending_domain"]
|
|
55396
|
+
},
|
|
55397
|
+
{
|
|
55398
|
+
"name": "scope-value",
|
|
55399
|
+
"type": "string",
|
|
55400
|
+
"required": false,
|
|
55401
|
+
"description": "The sending domain to suppress for: the domain part of the envelope MAIL FROM. It is lowercased and trailing dots are removed. Internationalized domains must use the ASCII (punycode) form. Ownership is not checked; a domain the account does not send from never matches."
|
|
55402
|
+
},
|
|
55384
55403
|
{
|
|
55385
55404
|
"name": "dry-run",
|
|
55386
55405
|
"type": "boolean",
|
|
@@ -55438,7 +55457,7 @@
|
|
|
55438
55457
|
"command": "cf email-sending suppressions edit",
|
|
55439
55458
|
"name": "edit",
|
|
55440
55459
|
"fullPath": ["email-sending", "suppressions", "edit"],
|
|
55441
|
-
"description": "Updates expiry or advisory note fields without changing legacy internal zone memberships.",
|
|
55460
|
+
"description": "Updates expiry or advisory note fields without changing legacy internal zone memberships. Scope cannot be changed.",
|
|
55442
55461
|
"summary": "Update account Email Sending suppression",
|
|
55443
55462
|
"usage": "cf email-sending suppressions edit <suppression-id> [options]",
|
|
55444
55463
|
"arguments": [
|
|
@@ -55520,7 +55539,7 @@
|
|
|
55520
55539
|
"command": "cf email-sending suppressions import",
|
|
55521
55540
|
"name": "import",
|
|
55522
55541
|
"fullPath": ["email-sending", "suppressions", "import"],
|
|
55523
|
-
"description": "Imports up to 1,000
|
|
55542
|
+
"description": "Imports up to 1,000 Email Sending suppressions in one request. Each item applies to every sending domain of the account (default) or to one sending domain.",
|
|
55524
55543
|
"summary": "Bulk import account Email Sending suppressions",
|
|
55525
55544
|
"usage": "cf email-sending suppressions import [options]",
|
|
55526
55545
|
"arguments": [],
|
|
@@ -55529,7 +55548,7 @@
|
|
|
55529
55548
|
"name": "items",
|
|
55530
55549
|
"type": "string",
|
|
55531
55550
|
"required": true,
|
|
55532
|
-
"description": "Suppressions to import. Items with
|
|
55551
|
+
"description": "Suppressions to import. Items with the same email address and scope are deduplicated before processing. Provide as a JSON array of objects or @path/to/file.json."
|
|
55533
55552
|
},
|
|
55534
55553
|
{
|
|
55535
55554
|
"name": "dry-run",
|
|
@@ -55556,7 +55575,7 @@
|
|
|
55556
55575
|
"command": "cf email-sending suppressions list",
|
|
55557
55576
|
"name": "list",
|
|
55558
55577
|
"fullPath": ["email-sending", "suppressions", "list"],
|
|
55559
|
-
"description": "Lists every active Email Sending suppression owned by the account, including legacy rows with internal zone memberships.",
|
|
55578
|
+
"description": "Lists every active Email Sending suppression owned by the account: sending-domain suppressions first, then account-wide suppressions (including legacy rows with internal zone memberships). Each group is newest first.",
|
|
55560
55579
|
"summary": "List account Email Sending suppressions",
|
|
55561
55580
|
"usage": "cf email-sending suppressions list [options]",
|
|
55562
55581
|
"arguments": [],
|
|
@@ -55598,6 +55617,19 @@
|
|
|
55598
55617
|
"policy"
|
|
55599
55618
|
]
|
|
55600
55619
|
},
|
|
55620
|
+
{
|
|
55621
|
+
"name": "scope-type",
|
|
55622
|
+
"type": "string",
|
|
55623
|
+
"required": false,
|
|
55624
|
+
"description": "Filter by scope: `account` returns only account-wide suppressions, `sending_domain` only sending-domain suppressions. Omit to list both, sending-domain suppressions first.",
|
|
55625
|
+
"enum": ["account", "sending_domain"]
|
|
55626
|
+
},
|
|
55627
|
+
{
|
|
55628
|
+
"name": "scope-value",
|
|
55629
|
+
"type": "string",
|
|
55630
|
+
"required": false,
|
|
55631
|
+
"description": "Exact sending-domain filter. Requires `scope_type=sending_domain`."
|
|
55632
|
+
},
|
|
55601
55633
|
{
|
|
55602
55634
|
"name": "dry-run",
|
|
55603
55635
|
"type": "boolean",
|
|
@@ -90491,6 +90523,12 @@
|
|
|
90491
90523
|
"required": false,
|
|
90492
90524
|
"description": "Use existing Preview Build Output Specification files without building",
|
|
90493
90525
|
"default": false
|
|
90526
|
+
},
|
|
90527
|
+
{
|
|
90528
|
+
"name": "worker",
|
|
90529
|
+
"type": "string",
|
|
90530
|
+
"required": false,
|
|
90531
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
90494
90532
|
}
|
|
90495
90533
|
]
|
|
90496
90534
|
},
|
|
@@ -135435,7 +135473,7 @@
|
|
|
135435
135473
|
"fullPath": ["workers", "check"],
|
|
135436
135474
|
"category": "action",
|
|
135437
135475
|
"description": "Profile a Worker's startup performance locally using Build Output Specification files.",
|
|
135438
|
-
"usage": "cf workers check [--outfile <path>] [--prebuilt]",
|
|
135476
|
+
"usage": "cf workers check [--outfile <path>] [--prebuilt] [--worker <name>]",
|
|
135439
135477
|
"arguments": [],
|
|
135440
135478
|
"options": [
|
|
135441
135479
|
{
|
|
@@ -135451,6 +135489,12 @@
|
|
|
135451
135489
|
"required": false,
|
|
135452
135490
|
"description": "Use existing Build Output Specification files without building",
|
|
135453
135491
|
"default": false
|
|
135492
|
+
},
|
|
135493
|
+
{
|
|
135494
|
+
"name": "worker",
|
|
135495
|
+
"type": "string",
|
|
135496
|
+
"required": false,
|
|
135497
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
135454
135498
|
}
|
|
135455
135499
|
]
|
|
135456
135500
|
},
|
|
@@ -135978,6 +136022,12 @@
|
|
|
135978
136022
|
"required": false,
|
|
135979
136023
|
"description": "Run checks without applying triggers",
|
|
135980
136024
|
"default": false
|
|
136025
|
+
},
|
|
136026
|
+
{
|
|
136027
|
+
"name": "worker",
|
|
136028
|
+
"type": "string",
|
|
136029
|
+
"required": false,
|
|
136030
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
135981
136031
|
}
|
|
135982
136032
|
]
|
|
135983
136033
|
},
|
|
@@ -136040,6 +136090,12 @@
|
|
|
136040
136090
|
"description": "Build a project and run checks without actually uploading the Worker",
|
|
136041
136091
|
"default": false
|
|
136042
136092
|
},
|
|
136093
|
+
{
|
|
136094
|
+
"name": "worker",
|
|
136095
|
+
"type": "string",
|
|
136096
|
+
"required": false,
|
|
136097
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
136098
|
+
},
|
|
136043
136099
|
{
|
|
136044
136100
|
"name": "preview-alias",
|
|
136045
136101
|
"type": "string",
|
|
@@ -629,6 +629,12 @@
|
|
|
629
629
|
"description": "Build a project and run checks without actually uploading the Worker",
|
|
630
630
|
"default": false
|
|
631
631
|
},
|
|
632
|
+
{
|
|
633
|
+
"name": "worker",
|
|
634
|
+
"type": "string",
|
|
635
|
+
"required": false,
|
|
636
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
637
|
+
},
|
|
632
638
|
{
|
|
633
639
|
"name": "dispatch-namespace",
|
|
634
640
|
"type": "string",
|
|
@@ -695,6 +701,12 @@
|
|
|
695
701
|
"required": false,
|
|
696
702
|
"description": "Use existing Preview Build Output Specification files without building",
|
|
697
703
|
"default": false
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "worker",
|
|
707
|
+
"type": "string",
|
|
708
|
+
"required": false,
|
|
709
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
698
710
|
}
|
|
699
711
|
],
|
|
700
712
|
"handWritten": {
|
|
@@ -964,7 +976,7 @@
|
|
|
964
976
|
"fullPath": ["workers", "check"],
|
|
965
977
|
"category": "action",
|
|
966
978
|
"description": "Profile a Worker's startup performance locally using Build Output Specification files.",
|
|
967
|
-
"usage": "cf workers check [--outfile <path>] [--prebuilt]",
|
|
979
|
+
"usage": "cf workers check [--outfile <path>] [--prebuilt] [--worker <name>]",
|
|
968
980
|
"arguments": [],
|
|
969
981
|
"options": [
|
|
970
982
|
{
|
|
@@ -980,6 +992,12 @@
|
|
|
980
992
|
"required": false,
|
|
981
993
|
"description": "Use existing Build Output Specification files without building",
|
|
982
994
|
"default": false
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "worker",
|
|
998
|
+
"type": "string",
|
|
999
|
+
"required": false,
|
|
1000
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
983
1001
|
}
|
|
984
1002
|
],
|
|
985
1003
|
"handWritten": {
|
|
@@ -1011,6 +1029,12 @@
|
|
|
1011
1029
|
"required": false,
|
|
1012
1030
|
"description": "Run checks without applying triggers",
|
|
1013
1031
|
"default": false
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "worker",
|
|
1035
|
+
"type": "string",
|
|
1036
|
+
"required": false,
|
|
1037
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
1014
1038
|
}
|
|
1015
1039
|
],
|
|
1016
1040
|
"handWritten": {
|
|
@@ -1085,6 +1109,12 @@
|
|
|
1085
1109
|
"description": "Build a project and run checks without actually uploading the Worker",
|
|
1086
1110
|
"default": false
|
|
1087
1111
|
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "worker",
|
|
1114
|
+
"type": "string",
|
|
1115
|
+
"required": false,
|
|
1116
|
+
"description": "Name of the Worker in the Build Output to use (defaults to the default Worker)"
|
|
1117
|
+
},
|
|
1088
1118
|
{
|
|
1089
1119
|
"name": "preview-alias",
|
|
1090
1120
|
"type": "string",
|
package/dist/_meta/schemas.json
CHANGED
|
@@ -38926,6 +38926,18 @@
|
|
|
38926
38926
|
"type": "string",
|
|
38927
38927
|
"required": false,
|
|
38928
38928
|
"description": "Advisory note for this suppression. Not enforced or validated beyond length."
|
|
38929
|
+
},
|
|
38930
|
+
{
|
|
38931
|
+
"name": "scope-type",
|
|
38932
|
+
"type": "string",
|
|
38933
|
+
"required": false,
|
|
38934
|
+
"description": "Blocks the recipient for every sending domain of the account."
|
|
38935
|
+
},
|
|
38936
|
+
{
|
|
38937
|
+
"name": "scope-value",
|
|
38938
|
+
"type": "string",
|
|
38939
|
+
"required": false,
|
|
38940
|
+
"description": "The sending domain to suppress for: the domain part of the envelope MAIL FROM. It is lowercased and trailing dots are removed. Internationalized domains must use the ASCII (punycode) form. Ownership is not checked; a domain the account does not send from never matches."
|
|
38929
38941
|
}
|
|
38930
38942
|
]
|
|
38931
38943
|
},
|
|
@@ -39020,7 +39032,7 @@
|
|
|
39020
39032
|
"name": "items",
|
|
39021
39033
|
"type": "string",
|
|
39022
39034
|
"required": true,
|
|
39023
|
-
"description": "Suppressions to import. Items with
|
|
39035
|
+
"description": "Suppressions to import. Items with the same email address and scope are deduplicated before processing. Provide as a JSON array of objects or @path/to/file.json."
|
|
39024
39036
|
}
|
|
39025
39037
|
]
|
|
39026
39038
|
},
|
|
@@ -39060,6 +39072,16 @@
|
|
|
39060
39072
|
"name": "reason",
|
|
39061
39073
|
"type": "string",
|
|
39062
39074
|
"required": false
|
|
39075
|
+
},
|
|
39076
|
+
{
|
|
39077
|
+
"name": "scope_type",
|
|
39078
|
+
"type": "string",
|
|
39079
|
+
"required": false
|
|
39080
|
+
},
|
|
39081
|
+
{
|
|
39082
|
+
"name": "scope_value",
|
|
39083
|
+
"type": "string",
|
|
39084
|
+
"required": false
|
|
39063
39085
|
}
|
|
39064
39086
|
],
|
|
39065
39087
|
"hasRequestBody": false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-Dzk6Gy-6.mjs";import{r}from"./auth-DJhSjNNL.mjs";import{t as i}from"./output-Bia1u2k5.mjs";import{t as a}from"./dry-run-CLX6Pbtq.mjs";import{t as o}from"./progress-D_mL-Kcy.mjs";import{t as s}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{n as c,r as l,t as u}from"./body-parser-CUWbw_Tq.mjs";import{n as d}from"./input-validation-Ch4Vllrm.mjs";import{a as f,i as p}from"./prompt-sL_yMZbI.mjs";import{t as m}from"./cli-types-tt_LZMbn.mjs";function h(e){return e.usage(`$0 abuse-reports appeals eligibility <report-id>
|
|
3
3
|
|
|
4
4
|
Returns whether the report is currently appealable, along with the signals behind that decision: whether it already has an open appeal, how many appeals have been submitted against it, and whether it has at least one mitigation that an appeal could reverse.`).positional(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const g={command:`eligibility <report-id>`,describe:`Check whether a report can be appealed`,builder:h,handler:async c=>s({command:`abuse-reports appeals eligibility`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf abuse-reports appeals eligibility`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await n()??`<account-id>`}/abuse-reports/${c[`report-id`]==null?`<report-id>`:encodeURIComponent(String(c[`report-id`]))}/appeals/eligibility`,pathParams:{"report-id":String(c[`report-id`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await t();c.accountId=l,i(await o(`Loading`,async()=>s.abuseReports.appeals.eligibility({account_id:l,report_id:c[`report-id`]})),{successLabel:`Loaded`})})},_={command:`appeals`,describe:`Operations for appeals`,builder:e=>e.command(g).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function v(e){return e.usage("$0 abuse-reports create <report-param>\n\nSubmit an abuse report of a particular type. Requires the abuse-reports entitlement on the account (Enterprise accounts have it by default; other accounts must request access) and an API token with the `Account > Abuse Reports > Edit` permission. If the account is not entitled, the request is rejected with an HTTP `401` response (see below).").positional(`report-param`,{type:`string`,description:`The report type to be submitted. Example: abuse_general`,demandOption:!0}).option(`act`,{type:`string`,description:`The act field`,choices:[`abuse_dmca`,`abuse_trademark`,`abuse_general`,`abuse_phishing`,`abuse_children`,`abuse_threat`,`abuse_registrar_whois`,`abuse_ncsei`]}).option(`comments`,{type:`string`,description:`Any additional comments about the infringement not exceeding 2000 characters`}).option(`company`,{type:`string`,description:`Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`email`,{type:`string`,description:`A valid email of the abuse reporter. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`email2`,{type:`string`,description:"Should match the value provided in `email`"}).option(`name`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`reported-country`,{type:`string`,description:`Text containing 2 characters`}).option(`reported-user-agent`,{type:`string`,description:`Text not exceeding 255 characters`}).option(`tele`,{type:`string`,description:`Text not exceeding 20 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`title`,{type:`string`,description:`Text not exceeding 255 characters`}).option(`urls`,{type:`string`,description:`A list of valid URLs separated by ‘\\n’ (new line character). The list of the URLs should not exceed 250 URLs. All URLs should have the same hostname. Each URL should be unique. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`address1`,{type:`string`,description:`Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`agent-name`,{type:`string`,description:`The name of the copyright holder. Text not exceeding 60 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`agree`,{type:`number`,description:"Can be `0` for false or `1` for true. Must be value: 1 for DMCA reports"}).option(`city`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`country`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).
|
|
5
5
|
`}).option(`host-notification`,{type:`string`,description:`Notification type based on the abuse type. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-Dzk6Gy-6.mjs";import{r}from"./auth-DJhSjNNL.mjs";import{t as i}from"./output-Bia1u2k5.mjs";import{t as a}from"./dry-run-CLX6Pbtq.mjs";import{t as o}from"./progress-D_mL-Kcy.mjs";import{t as s}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{n as c,r as l,t as u}from"./body-parser-CUWbw_Tq.mjs";import{n as d}from"./input-validation-Ch4Vllrm.mjs";import{a as f,n as p}from"./prompt-sL_yMZbI.mjs";import{t as m}from"./cli-types-tt_LZMbn.mjs";function h(e){return e.usage(`$0 access targets bulk delete
|
|
3
3
|
|
|
4
4
|
Removes one or more targets.`).option(`target-ids`,{type:`string`,array:!0,description:`List of target IDs to bulk delete`}).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 g={command:`delete`,describe:`Delete targets`,builder:h,handler:async l=>s({command:`access targets bulk delete`,classification:{safeFlags:[`dry-run`]}},l,async()=>{if(l.dryRun){a({command:`cf access targets bulk delete`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await n()??`<account-id>`}/infrastructure/targets/batch_delete`,pathParams:{},bodyKind:`json`,body:l.body===void 0?u({target_ids:l[`target-ids`]}):c(l.body)});return}let s=await r(l),d=l.local?e:await t();if(l.accountId=d,l.body){let e=c(l.body);i(await o(`Creating`,async()=>s.access.targets.bulk.delete({...e,account_id:d})),{successLabel:`Created`});return}if(l[`target-ids`]===void 0)throw Error(`--target-ids is required (or pass --body with this field set).`);let f=u({target_ids:l[`target-ids`]});i(await o(`Creating`,async()=>s.access.targets.bulk.delete({...f,account_id:d})),{successLabel:`Created`})})};function _(e){return e.usage(`$0 access targets bulk replace-tags
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-Dzk6Gy-6.mjs";import{r}from"./auth-DJhSjNNL.mjs";import{t as i}from"./output-Bia1u2k5.mjs";import{t as a}from"./dry-run-CLX6Pbtq.mjs";import{t as o}from"./progress-D_mL-Kcy.mjs";import{t as s}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{n as c,t as l}from"./body-parser-CUWbw_Tq.mjs";import{n as u}from"./input-validation-Ch4Vllrm.mjs";import{a as d}from"./prompt-sL_yMZbI.mjs";function f(e){return e.usage(`$0 account batch move
|
|
3
3
|
|
|
4
4
|
Batch move a collection of accounts to a specific organization. ⚠️ Not implemented.`).option(`account-ids`,{type:`string`,array:!0,description:`Move these accounts to the destination organization.`}).option(`destination-organization-id`,{type:`string`,description:`Move accounts to this organization ID.`}).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:`move`,describe:`Batch move accounts`,builder:f,handler:async e=>s({command:`account batch move`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf account batch move`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/move`,pathParams:{},bodyKind:`json`,body:e.body===void 0?l({account_ids:e[`account-ids`],destination_organization_id:u(e[`destination-organization-id`],`destination-organization-id`,`text`)}):c(e.body)});return}let t=await r(e);if(e.body){let n=c(e.body);i(await o(`Creating`,async()=>t.account.batch.move({...n})),{successLabel:`Created`});return}if(e[`account-ids`]===void 0)throw Error(`--account-ids is required (or pass --body with this field set).`);e[`destination-organization-id`]===void 0&&(e[`destination-organization-id`]=await d(`destination-organization-id`,`Move accounts to this organization ID.`));let n=l({account_ids:e[`account-ids`],destination_organization_id:u(e[`destination-organization-id`],`destination-organization-id`,`text`)});i(await o(`Creating`,async()=>t.account.batch.move({...n})),{successLabel:`Created`})})},m={command:`batch`,describe:`Operations for batch`,builder:e=>e.command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function h(e){return e.usage(`$0 account move
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{_ as t,m as n,v as r}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{_ as t,m as n,v as r}from"./oauth-Dzk6Gy-6.mjs";import{a as i,r as a}from"./auth-DJhSjNNL.mjs";import{t as o}from"./output-Bia1u2k5.mjs";import{t as s}from"./dry-run-CLX6Pbtq.mjs";import{t as c}from"./progress-D_mL-Kcy.mjs";import{t as l}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{i as u,n as d,t as f}from"./body-parser-CUWbw_Tq.mjs";import{n as p}from"./input-validation-Ch4Vllrm.mjs";import{a as m,i as h,n as g}from"./prompt-sL_yMZbI.mjs";import{t as _}from"./cli-types-tt_LZMbn.mjs";function v(e){return e.usage(`$0 account-tags delete
|
|
3
3
|
|
|
4
4
|
Removes all tags from a specific account or zone-level resource.`).option(`if-match`,{type:`string`,description:`ETag value for optimistic concurrency control. When provided, the server will
|
|
5
5
|
verify the current resource ETag matches before applying the write. Returns
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{_ as t,m as n,v as r}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{_ as t,m as n,v as r}from"./oauth-Dzk6Gy-6.mjs";import{a as i,r as a}from"./auth-DJhSjNNL.mjs";import{t as o}from"./output-Bia1u2k5.mjs";import{t as s}from"./dry-run-CLX6Pbtq.mjs";import{t as c}from"./progress-D_mL-Kcy.mjs";import{t as l}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{i as u,n as d,r as f,t as p}from"./body-parser-CUWbw_Tq.mjs";import{n as m}from"./input-validation-Ch4Vllrm.mjs";import{a as h,i as g,n as _}from"./prompt-sL_yMZbI.mjs";import{t as v}from"./cli-types-tt_LZMbn.mjs";import{n as ee,t as te}from"./raw-fetch-lSVttVJF.mjs";function y(e){return e.usage(`$0 accounts applications create
|
|
3
3
|
|
|
4
4
|
Create a custom application for an account.`).option(`category-id`,{type:`number`,description:`Returns the category ID.`}).option(`hostnames`,{type:`string`,array:!0,description:`Hostnames matched by the application.`}).option(`human-id`,{type:`string`,description:`Returns the human readable ID.`}).option(`ip-subnets`,{type:`string`,array:!0,description:`IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.`}).option(`name`,{type:`string`,description:`Returns the application name.`}).option(`port-protocols`,{type:`string`,array:!0,description:`Port and protocol pairs matched by the application.`}).option(`support-domains`,{type:`string`,array:!0,description:`Support domains matched by the application.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Defines a custom application. At least one hostname or IP subnet is required. Support domains and port/protocol pairs do not satisfy this requirement. `})}const b={command:`create`,describe:`Create application`,builder:y,handler:async t=>l({command:`accounts applications create`,classification:{safeFlags:[`dry-run`]}},t,async()=>{if(t.dryRun){s({command:`cf accounts applications create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/resource-library/applications`,pathParams:{},bodyKind:`json`,body:t.body===void 0?p({category_id:t[`category-id`],hostnames:t.hostnames,human_id:m(t[`human-id`],`human-id`,`text`),ip_subnets:t[`ip-subnets`],name:m(t.name,`name`,`text`),port_protocols:t[`port-protocols`],support_domains:t[`support-domains`]}):d(t.body)});return}let i=await a(t),l=t.local?e:await n();if(t.accountId=l,t.body){let e=d(t.body);o(await c(`Creating`,async()=>i.accounts.applications.create({body:e,account_id:l})),{successLabel:`Created`});return}if(t[`category-id`]===void 0)throw Error(`--category-id is required (or pass --body with this field set).`);t[`human-id`]===void 0&&(t[`human-id`]=await h(`human-id`,`Returns the human readable ID.`)),t.name===void 0&&(t.name=await h(`name`,`Returns the application name.`));let u=p({category_id:t[`category-id`],hostnames:t.hostnames,human_id:m(t[`human-id`],`human-id`,`text`),ip_subnets:t[`ip-subnets`],name:m(t.name,`name`,`text`),port_protocols:t[`port-protocols`],support_domains:t[`support-domains`]});o(await c(`Creating`,async()=>i.accounts.applications.create({body:u,account_id:l})),{successLabel:`Created`})})};function x(e){return e.usage(`$0 accounts applications delete <id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{_ as e}from"./oauth-
|
|
2
|
+
import{_ as e}from"./oauth-Dzk6Gy-6.mjs";import{r as t}from"./auth-DJhSjNNL.mjs";import{t as n}from"./output-Bia1u2k5.mjs";import{t as r}from"./dry-run-CLX6Pbtq.mjs";import{t as i}from"./progress-D_mL-Kcy.mjs";import{t as a}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{n as o,t as s}from"./body-parser-CUWbw_Tq.mjs";import{n as c}from"./input-validation-Ch4Vllrm.mjs";import{a as l,n as u}from"./prompt-sL_yMZbI.mjs";function d(e){return e.usage(`$0 acm custom-trust-store create
|
|
3
3
|
|
|
4
4
|
Upload a root CA certificate to the Custom Origin Trust Store for a Zone. Only root CA certificates are accepted.`).option(`certificate`,{type:`string`,description:`The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.`}).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 f={command:`create`,describe:`Upload Custom Origin Trust Store`,builder:d,handler:async u=>a({command:`acm custom-trust-store create`,classification:{safeFlags:[`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf acm custom-trust-store create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/acm/custom_trust_store`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?s({certificate:c(u.certificate,`certificate`,`text`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Creating`,async()=>a.acm.customTrustStore.create({...e,zone_id:d})),{successLabel:`Created`});return}u.certificate===void 0&&(u.certificate=await l(`certificate`,`The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.`));let f=s({certificate:c(u.certificate,`certificate`,`text`)});n(await i(`Creating`,async()=>a.acm.customTrustStore.create({...f,zone_id:d})),{successLabel:`Created`})})};function p(e){return e.usage(`$0 acm custom-trust-store delete <custom-origin-trust-store-id>
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{_ as t,m as n,v as r}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{_ as t,m as n,v as r}from"./oauth-Dzk6Gy-6.mjs";import{a as i,r as a}from"./auth-DJhSjNNL.mjs";import{t as o}from"./output-Bia1u2k5.mjs";import{t as s}from"./dry-run-CLX6Pbtq.mjs";import{t as c}from"./progress-D_mL-Kcy.mjs";import{t as l}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{n as u,r as d,t as f}from"./body-parser-CUWbw_Tq.mjs";import{n as p,t as m}from"./input-validation-Ch4Vllrm.mjs";import{a as h,n as g}from"./prompt-sL_yMZbI.mjs";import{n as ee,t as te}from"./raw-fetch-lSVttVJF.mjs";function _(e){return e.usage(`$0 addressing address-maps accounts delete <member-account-id>
|
|
3
3
|
|
|
4
4
|
Remove an account as a member of a particular address map.`).positional(`member-account-id`,{type:`string`,description:`Identifier of a Cloudflare account.`,demandOption:!0}).option(`address-map-id`,{type:`string`,description:`Identifier of an Address Map.`,demandOption:!0}).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 v={command:`delete <member-account-id>`,describe:`Remove an account membership from an Address Map`,builder:_,handler:async t=>l({command:`addressing address-maps accounts delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},t,async()=>{if(t.dryRun){s({command:`cf addressing address-maps accounts delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${await r()??`<account-id>`}/addressing/address_maps/${t[`address-map-id`]==null?`<address-map-id>`:encodeURIComponent(String(t[`address-map-id`]))}/accounts/${t[`member-account-id`]==null?`<member-account-id>`:encodeURIComponent(String(t[`member-account-id`]))}`,pathParams:{"address-map-id":String(t[`address-map-id`]??``),"member-account-id":String(t[`member-account-id`]??``)},bodyKind:`none`});return}let i=await a(t),l=t.local?e:await n();if(t.accountId=l,!await g({force:!!t.force})){process.stderr.write(`Aborted.
|
|
5
5
|
`);return}o(await c(`Deleting`,async()=>i.addressing.addressMaps.accounts.delete({account_id:l,address_map_id:t[`address-map-id`],member_account_id:t[`member-account-id`]})),{successLabel:`Deleted`})})};function y(e){return e.usage(`$0 addressing address-maps accounts update <member-account-id>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-
|
|
2
|
+
import{t as e}from"./local-B6b2OIBW.mjs";import{m as t,v as n}from"./oauth-Dzk6Gy-6.mjs";import{r}from"./auth-DJhSjNNL.mjs";import{t as i}from"./output-Bia1u2k5.mjs";import{t as a}from"./dry-run-CLX6Pbtq.mjs";import{t as o}from"./progress-D_mL-Kcy.mjs";import{t as s}from"./run-DtN51G2A.mjs";import"./telemetry-DAf9gLyH.mjs";import{n as c,r as l,t as u}from"./body-parser-CUWbw_Tq.mjs";import{n as d}from"./input-validation-Ch4Vllrm.mjs";import{a as f,n as p}from"./prompt-sL_yMZbI.mjs";import{t as m}from"./cli-types-tt_LZMbn.mjs";function h(e){return e.usage(`$0 agent-memory create-namespace
|
|
3
3
|
|
|
4
4
|
Creates a new memory namespace owned by the account.`).option(`name`,{type:`string`,description:`Namespace name.`}).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 g={command:`create-namespace`,describe:`Create a namespace`,builder:h,handler:async l=>s({command:`agent-memory create-namespace`,classification:{safeFlags:[`dry-run`]}},l,async()=>{if(l.dryRun){a({command:`cf agent-memory create-namespace`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await n()??`<account-id>`}/agent-memory/namespaces`,pathParams:{},bodyKind:`json`,body:l.body===void 0?u({name:d(l.name,`name`,`text`)}):c(l.body)});return}let s=await r(l),p=l.local?e:await t();if(l.accountId=p,l.body){let e=c(l.body);i(await o(`Creating`,async()=>s.agentMemory.createNamespace({...e,account_id:p})),{successLabel:`Created`});return}l.name===void 0&&(l.name=await f(`name`,`Namespace name.`));let m=u({name:d(l.name,`name`,`text`)});i(await o(`Creating`,async()=>s.agentMemory.createNamespace({...m,account_id:p})),{successLabel:`Created`})})};function _(e){return e.usage(`$0 agent-memory delete-memory <memory-id>
|
|
5
5
|
|