@cyclone-ui/cli 0.6.85 → 0.6.86
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/{add-Bed5gzAY.mjs → add-ORPvtp4g.mjs} +1 -1
- package/dist/{add-DJpaNYRs.mjs → add-RQgH9_1K.mjs} +1 -1
- package/dist/{add-DxJyEljz.mjs → add-pKLbR9XL.mjs} +1 -1
- package/dist/add.mjs +1 -1
- package/dist/{analyze-a11y-DqhjPte-.mjs → analyze-a11y-BhYBbMqz.mjs} +1 -1
- package/dist/{analyze-a11y-N_pQv-r2.mjs → analyze-a11y-oZppIPFq.mjs} +1 -1
- package/dist/{analyze-a11y-5s9p4Wws.mjs → analyze-a11y-uSJmxx4K.mjs} +1 -1
- package/dist/analyze-a11y.mjs +1 -1
- package/dist/bin.mjs +7 -7
- package/dist/{build-DsMBcV_K.mjs → build-BKJDaa3A.mjs} +1 -1
- package/dist/{build-HkmTUH7Y.mjs → build-CK-C30tv.mjs} +1 -1
- package/dist/{build-BeDp1RiP.mjs → build-CYdbFf43.mjs} +1 -1
- package/dist/{build-tokens-BD92-bjr.mjs → build-tokens-Bvusa4AM.mjs} +1 -1
- package/dist/{build-tokens-s8iEpjJc.mjs → build-tokens-DQIVlrdg.mjs} +1 -1
- package/dist/{build-tokens-B1C5FMF8.mjs → build-tokens-DiYkAZdz.mjs} +1 -1
- package/dist/build-tokens.mjs +1 -1
- package/dist/build.mjs +1 -1
- package/dist/{changelog-8oOIReXE.mjs → changelog-237z91I0.mjs} +1 -1
- package/dist/{changelog-DBJ3HKvR.mjs → changelog-BeG0QKbu.mjs} +1 -1
- package/dist/{changelog-4xScFWIl.mjs → changelog-Ds_YSIAG.mjs} +1 -1
- package/dist/changelog.mjs +8 -1
- package/dist/{command-BZc2L3dH.mjs → command-C5_RLA4v.mjs} +1 -1
- package/dist/{command-DVbnuJyH.mjs → command-DpReEoC1.mjs} +1 -1
- package/dist/{command-erwpdzzC.mjs → command-QXwb8xCF.mjs} +1 -1
- package/dist/completions-bash-config.mjs +1 -1
- package/dist/completions-bash-script.mjs +1 -1
- package/dist/completions-fish-config.mjs +1 -1
- package/dist/completions-fish-script.mjs +1 -1
- package/dist/completions-powershell-config.mjs +1 -1
- package/dist/completions-powershell-script.mjs +1 -1
- package/dist/completions-zsh-config.mjs +1 -1
- package/dist/completions-zsh-script.mjs +1 -1
- package/dist/{config-BONmVBZr.mjs → config--73s6Vuq.mjs} +1 -1
- package/dist/{config-Cdr4ja0c.mjs → config-4kk6gQJr.mjs} +1 -1
- package/dist/{config-DCCVMW_z.mjs → config-BBM-dAKd.mjs} +1 -1
- package/dist/{config-DmU2ZMcg.mjs → config-BMq9WF_x.mjs} +1 -1
- package/dist/{config-Ccf0Z_Ct.mjs → config-C2OG37k5.mjs} +1 -1
- package/dist/{config-DoT7RXzg.mjs → config-C43HiT2b.mjs} +1 -1
- package/dist/{config-Tay822qC.mjs → config-CDVp5nbY.mjs} +1 -1
- package/dist/{config-q2jvLZWp.mjs → config-CDflAAXr.mjs} +1 -1
- package/dist/{config-S18COjxa.mjs → config-CrxQvYht.mjs} +1 -1
- package/dist/{config-DZKJcu2V.mjs → config-DBfbqa46.mjs} +1 -1
- package/dist/{config-7k1kIwJ-.mjs → config-hogBDFWk.mjs} +1 -1
- package/dist/{config-LlUw4an4.mjs → config-wK4sMb1d.mjs} +1 -1
- package/dist/{console-CrDAVxqd.mjs → console-B3OTmNhA.mjs} +1 -1
- package/dist/{console-bMJjxwGD.mjs → console-C2j0hMhY.mjs} +1 -1
- package/dist/{console-kMRAaUCq.mjs → console-D2NzgtNt.mjs} +1 -1
- package/dist/{design-system-CzCrR5Mz.mjs → design-system-C2ThMyDj.mjs} +1 -1
- package/dist/{diff-Dn86a0_d.mjs → diff-BCCOsn50.mjs} +1 -1
- package/dist/{diff-ZZqbDbCK.mjs → diff-CwtZfBwK.mjs} +1 -1
- package/dist/{diff-BxOuIS6n.mjs → diff-WqiB85oh.mjs} +1 -1
- package/dist/diff.mjs +1 -1
- package/dist/{docs-DUajLc7Z.mjs → docs-B29Iwd3v.mjs} +1 -1
- package/dist/{docs-DwI1brlj.mjs → docs-BB14wvbR.mjs} +1 -1
- package/dist/{docs-DS--3RzF.mjs → docs-De3TDvtP.mjs} +1 -1
- package/dist/docs.mjs +1 -1
- package/dist/{gc-Cnv8l_eN.mjs → gc-BnOkT5zz.mjs} +1 -1
- package/dist/{gc-JXrgJqlr.mjs → gc-Css572FK.mjs} +1 -1
- package/dist/{gc-KTONvnkG.mjs → gc-D8GGiwIC.mjs} +1 -1
- package/dist/gc.mjs +1 -1
- package/dist/{guidelines-DiCzgNhx.mjs → guidelines-DkkPYbHr.mjs} +1 -1
- package/dist/{guidelines-EF831LWp.mjs → guidelines-O9RkOmMD.mjs} +1 -1
- package/dist/{guidelines-BcaOETAi.mjs → guidelines-f0NAHBJG.mjs} +1 -1
- package/dist/guidelines.mjs +1 -1
- package/dist/help.mjs +1 -1
- package/dist/{info-CdhKMH6r.mjs → info-B9qu3L_e.mjs} +1 -1
- package/dist/{info-N-e08L3K.mjs → info-CGrHkhNo.mjs} +1 -1
- package/dist/{info-02C3xtaT.mjs → info-jhvxTrnE.mjs} +1 -1
- package/dist/info.mjs +1 -1
- package/dist/{init-BEEJaxqN.mjs → init-CW8KtPsl.mjs} +1 -1
- package/dist/{init-Do3j5UVT.mjs → init-CYsoI-HY.mjs} +1 -1
- package/dist/{init-7Mb1GguF.mjs → init-DoT5vSNT.mjs} +1 -1
- package/dist/init.mjs +1 -1
- package/dist/{list-components-BzRYM86R.mjs → list-components-B8d0csI5.mjs} +1 -1
- package/dist/{list-components-CZD54BzQ.mjs → list-components-BPCOnIqI.mjs} +1 -1
- package/dist/{list-components-Bb-gt0kG.mjs → list-components-BeQz6KUl.mjs} +1 -1
- package/dist/list-components.mjs +1 -1
- package/dist/{list-fonts-Bm-JUCUk.mjs → list-fonts-DEmGglLK.mjs} +1 -1
- package/dist/{list-fonts-ckxx9t5b.mjs → list-fonts-G3XkLIWz.mjs} +1 -1
- package/dist/{list-fonts-Bh2GXw9c.mjs → list-fonts-PkDcZFhg.mjs} +1 -1
- package/dist/list-fonts.mjs +1 -1
- package/dist/{list-icons-BcJnxiH2.mjs → list-icons-COEzEA1g.mjs} +1 -1
- package/dist/{list-icons-UnWBVpn4.mjs → list-icons-HgCq4fpn.mjs} +1 -1
- package/dist/{list-icons-B4gk0N5H.mjs → list-icons-WANhj6i3.mjs} +1 -1
- package/dist/list-icons.mjs +1 -1
- package/dist/{list-tokens-CSlhDMQj.mjs → list-tokens-C41ibjIe.mjs} +1 -1
- package/dist/{list-tokens-DFf62rWk.mjs → list-tokens-Czzfo8za.mjs} +1 -1
- package/dist/{list-tokens-DOFZYD3H.mjs → list-tokens-vfaPMmhK.mjs} +1 -1
- package/dist/list-tokens.mjs +1 -1
- package/dist/{mcp-C24hs1yX.mjs → mcp-C5MDAZV0.mjs} +1 -1
- package/dist/{mcp-COMUBUyF.mjs → mcp-CD7TNZwJ.mjs} +1 -1
- package/dist/{mcp-DmVI6tHd.mjs → mcp-DVlruSnq.mjs} +1 -1
- package/dist/mcp.mjs +1 -1
- package/dist/{plan-D47vMYoP.mjs → plan-BrmfwK42.mjs} +1 -1
- package/dist/{plan-DReo_YTv.mjs → plan-EwYIymJg.mjs} +1 -1
- package/dist/{plan-De0nYXw5.mjs → plan-jgB_EVOb.mjs} +1 -1
- package/dist/plan.mjs +1 -1
- package/dist/{prompts-2FSmN40k.mjs → prompts-B-G7WPI3.mjs} +1 -1
- package/dist/{prompts-B13N1RsV.mjs → prompts-BliiRO9f.mjs} +1 -1
- package/dist/{prompts-Dvsdw-5B.mjs → prompts-Fw9EaSEU.mjs} +1 -1
- package/dist/{registry-CdAdrZga.mjs → registry-BztIzsyE.mjs} +1 -1
- package/dist/{registry-CuHg34Ez.mjs → registry-CvT1jrqY.mjs} +1 -1
- package/dist/{registry-CzF0N72w.mjs → registry-dji1lWu2.mjs} +1 -1
- package/dist/registry-validate.mjs +1 -1
- package/dist/{script-BCmRiFwo.mjs → script--3ZQPVAd.mjs} +1 -1
- package/dist/{script-Di23yOVH.mjs → script-1WsdUXAT.mjs} +1 -1
- package/dist/{script-DwieKo2I.mjs → script-B1rZqE_U.mjs} +1 -1
- package/dist/{script-DElgEEch.mjs → script-BntOQWfj.mjs} +1 -1
- package/dist/{script-w3bJYZpO.mjs → script-Brqe_OI7.mjs} +1 -1
- package/dist/{script-ONkBc-bu.mjs → script-CGIv2vDE.mjs} +1 -1
- package/dist/{script-rah4i1AM.mjs → script-CdH-3n3B.mjs} +1 -1
- package/dist/{script-aSzRnDB1.mjs → script-CeQUKGDl.mjs} +1 -1
- package/dist/{script-BJwNgMaG.mjs → script-DYRCuc7v.mjs} +1 -1
- package/dist/{script-B6P5uzZT.mjs → script-JbB8wz4o.mjs} +1 -1
- package/dist/{script-7-YXa9y4.mjs → script-NI38wE-0.mjs} +1 -1
- package/dist/{script-LdlBxoDN.mjs → script-yz49CxRg.mjs} +1 -1
- package/dist/{search-CoLclpaV.mjs → search-DmBP3rdW.mjs} +1 -1
- package/dist/{search-FurYOEsD.mjs → search-EaIIgeL_.mjs} +1 -1
- package/dist/{search-BwWzCHOi.mjs → search-SYkhcOto.mjs} +1 -1
- package/dist/{search-components-D9s0aY28.mjs → search-components-CFO1XyPr.mjs} +1 -1
- package/dist/{search-components-DA_wMqaY.mjs → search-components-CoNpFrVM.mjs} +1 -1
- package/dist/{search-components-BUthvwnT.mjs → search-components-cZN5HOZL.mjs} +1 -1
- package/dist/search-components.mjs +1 -1
- package/dist/{search-fonts-DHpVWIow.mjs → search-fonts-CuoAkMHu.mjs} +1 -1
- package/dist/{search-fonts-YoNdkUtm.mjs → search-fonts-mF20AE_O.mjs} +1 -1
- package/dist/{search-fonts-D7A6Et3L.mjs → search-fonts-wTR3Juet.mjs} +1 -1
- package/dist/search-fonts.mjs +1 -1
- package/dist/{search-icons-DCvleUw4.mjs → search-icons-C859XAQA.mjs} +1 -1
- package/dist/{search-icons-MqD9Da3O.mjs → search-icons-CNFNjhhP.mjs} +1 -1
- package/dist/{search-icons-AscLB_9x.mjs → search-icons-DmTk0T-T.mjs} +1 -1
- package/dist/search-icons.mjs +1 -1
- package/dist/{search-tokens-BH6-TLSj.mjs → search-tokens-BXM7NN0I.mjs} +1 -1
- package/dist/{search-tokens-Cy_zOxP9.mjs → search-tokens-CuwBfZpH.mjs} +1 -1
- package/dist/{search-tokens-D-XmD3hg.mjs → search-tokens-D5tB4m9u.mjs} +1 -1
- package/dist/search-tokens.mjs +1 -1
- package/dist/search.mjs +1 -1
- package/dist/{update-D8owWR6E.mjs → update-CV5u68Y3.mjs} +1 -1
- package/dist/{update-MPxHJsTV.mjs → update-CVIurBVg.mjs} +1 -1
- package/dist/{update-B3wLPC8o.mjs → update-CVprYxRj.mjs} +1 -1
- package/dist/{update-BKY3WO6D.mjs → update-Cx820lO0.mjs} +1 -1
- package/dist/{update-components-CqRHBT_J.mjs → update-components-BOOkb55w.mjs} +1 -1
- package/dist/{update-components-G6g_L1u7.mjs → update-components-CFwexLqg.mjs} +1 -1
- package/dist/{update-components-N-gAYIB6.mjs → update-components-OokXY5ws.mjs} +1 -1
- package/dist/update-components.mjs +1 -1
- package/dist/{update-CyLvLPUt.mjs → update-cq_n5iTx.mjs} +1 -1
- package/dist/{update-DBNjFYlK.mjs → update-l-LxKn07.mjs} +1 -1
- package/dist/update.mjs +1 -1
- package/dist/{validate-CyMLZsUB.mjs → validate-C_QADxvq.mjs} +1 -1
- package/dist/{validate-Daxn5Yen.mjs → validate-DrRJHf4S.mjs} +1 -1
- package/dist/{validate-B1nUJIDM.mjs → validate-pYuMvnMs.mjs} +1 -1
- package/dist/{view-DH0Pj4mv.mjs → view-8fV5NbsM.mjs} +1 -1
- package/dist/{view-pRU6ZzKd.mjs → view-DaSBg8AQ.mjs} +1 -1
- package/dist/{view-C7stE7QM.mjs → view-lA_-y9QR.mjs} +1 -1
- package/dist/view.mjs +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-B3OTmNhA.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-D2NzgtNt.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-C2j0hMhY.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
package/dist/diff.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-Fw9EaSEU.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-D2NzgtNt.mjs";import{t as x}from"./diff-CwtZfBwK.mjs";import{t as S}from"./update-Cx820lO0.mjs";import{i as C,r as w}from"./components-PhAQb7LE.mjs";import{a as T,u as E}from"./config-BwGb7RTa.mjs";import{resolve as D}from"node:path";async function O(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.85`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;y(i,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Diff Components`).length+2))/2),0))+g(_.banner.command.primary(`Diff Components`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Diff Components`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Compare installed components with the registry.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!l()&&await t(n)}async function k(e,t=[]){let n=D(e.cwd??process.cwd()),r=await T(n),i=t.length>0?t:Object.keys(r.components);if(i.length===0)throw Error(`No installed components to compare.`);let a=await w(E(e.registry??r.registry),r,i,{root:n,overwrite:!0,dryRun:!0});c(C(a,n))}async function A(e=b()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`?/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)):(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)&&(/^--?(registry)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.registry=r.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.registry=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}let r=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|registry)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:r.push(e[t]);let o=[];return r.length>0&&(o=r.slice(0,r.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),a(`quiet`)||(await O(),await S()),!l()&&!a(`quiet`)&&(p(``),(i||h||n.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():u(`diff`,[`diff`],[t,o],k)}export{A as handler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-D2NzgtNt.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-B3OTmNhA.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-C2j0hMhY.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
package/dist/docs.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e,r as t,t as n}from"./prompts-
|
|
1
|
+
import{a as e,r as t,t as n}from"./prompts-Fw9EaSEU.mjs";import{F as r,G as i,H as a,J as o,L as s,M as c,N as l,O as u,R as d,U as f,V as p,g as m,j as h,k as g,l as _,n as v,q as y,t as b,w as x,x as S,y as C,z as w}from"./console-D2NzgtNt.mjs";import{t as T}from"./docs-B29Iwd3v.mjs";import{t as E}from"./update-Cx820lO0.mjs";import{i as D,l as O,u as k}from"./config-BwGb7RTa.mjs";import{resolve as A}from"node:path";async function j(t=500){if(a().get(`is-banner-displayed`)||s(`no-banner`)||s(`hide-banner`)||l)return;a().set(`is-banner-displayed`,!0),g(``),g(v.banner.outline.primary(`┏`)+v.banner.outline.primary(`━`.repeat(6))+` `+x.banner.header.primary(`⬤`)+` `+v.banner.outline.primary(`━`)+` `+b(x.banner.header.primary(`Cyclone CLI v0.6.85`))+` `+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+v.banner.outline.primary(`┓`),{consoleFn:console.log});let n=Math.max(...e.map(e=>S(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;C(n,Math.max(h().columns-30,20)).forEach(e=>{g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(e).length+2))/2),0))+b(x.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(S(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(`Component Documentation`).length+2))/2),0))+b(x.banner.command.primary(`Component Documentation`))+` `.repeat(Math.max(Math.ceil((h().columns-(S(`Component Documentation`).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),C(b(x.banner.description.primary(`Get documentation links for registry components. Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(e).length+2))/2),0))+x.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(S(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),g(v.banner.outline.primary(`┗`)+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+b(x.banner.footer.primary(`https://cyclone-ui.com`))+` `+v.banner.outline.primary(`━`.repeat(6))+v.banner.outline.primary(`┛`),{consoleFn:console.log}),g(``),c&&!d()&&await r(t)}async function M(e,t){let n=A(e.cwd??process.cwd()),r=await D(n),i=k(e.registry??r?.registry??`https://public.storm-cdn.com/cyclone-ui/registry`),a=await Promise.all(t.map(async e=>{let t=await i.components.get.query(e),n=O(t.name);return{name:t.name,description:t.description,url:`https://docs.stormsoftware.com/projects/cyclone-ui/components/${n}`}}));u(e.json?JSON.stringify(a,null,2):a.map(e=>`${e.name}: ${e.url}`).join(`
|
|
3
3
|
`))}async function N(e=w()){let r={...p()};for(let t=0;t<e.slice(0).length;t++){let n=e[t].length>3&&e[t].startsWith(`--`)?`--${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`-${e[t].slice(1).replaceAll(`-`,``)}`:e[t];if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.cwd=n.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>t+1&&(r.cwd=e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)/^--?(registry)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.registry=n.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>t+1&&(r.registry=e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`){if(/^--?(json)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=n.replace(/^--?(json)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();r.json=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else r.json=!0}}let a=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|registry)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:a.push(e[t]);let l=[];if(a.length>0&&(l=a.slice(0,a.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),s(`quiet`)||(await j(),await E()),!d()&&!s(`quiet`)&&(g(``),(o||y||i.LOG_LEVEL===`debug`)&&g(x.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),!c){let e=[];l?l.length===0&&e.push(`No values were provided to the required "components" array positional argument`):e.push(`Missing required "components" positional argument`)}else if(!d()&&(!l||l.length===0)){if(g(``),!l){let e=await t({message:`Please provide a value for the ${m(`components`)} argument`,description:`Component names to document.`,validate(e){return!e||e.trim()===``?`A value must be provided for this argument`:null}});if(n(e))return;l=e}else if(l.length===0){let e=await t({message:`Please provide one or more values for the ${m(`components`)} argument (values are separated by a \",\" character)`,description:`Component names to document.`,validate(e){if(!e||e.trim()===``)return`A value must be provided for this argument`;if(e.split(`,`).map(e=>e.trim()).filter(Boolean).length===0)return`At least one value must be provided for this argument`}});if(n(e))return;l=e.split(`,`).map(e=>e.trim()).filter(Boolean)}g(``);let e=[];l?l.length===0&&e.push(`No values were provided to the required "components" array positional argument`):e.push(`Missing required "components" positional argument`),e.length>0&&(_(`The following validation failures were found while processing the user provided input, and must be corrected before the ${m(`Component Documentation`)} command can be executed: \n\n${e.map(e=>` - `+e).join(`
|
|
4
4
|
`)}`),r.help=!0)}return r.help?T():f(`docs`,[`docs`],[r,l],M)}export{N as handler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-B3OTmNhA.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.utility?a.tags.utility(n(` Utility `)):a.tags.default(n(` Utility `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`gc`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`garbage-collection`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:a.body.primary(`--dry-run`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Preview deletions and any reinstall without changing files.`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Override the registry URL used when reinstalling components.`),align:`left`,border:`none`}],[{value:a.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Garbage Collection command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/gc`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-C2j0hMhY.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.utility?a.tags.utility(n(` Utility `)):a.tags.default(n(` Utility `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`gc`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`garbage-collection`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:a.body.primary(`--dry-run`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Preview deletions and any reinstall without changing files.`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Override the registry URL used when reinstalling components.`),align:`left`,border:`none`}],[{value:a.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Garbage Collection command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/gc`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-D2NzgtNt.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.utility?a.tags.utility(n(` Utility `)):a.tags.default(n(` Utility `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`gc`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`garbage-collection`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:a.body.primary(`--dry-run`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Preview deletions and any reinstall without changing files.`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Override the registry URL used when reinstalling components.`),align:`left`,border:`none`}],[{value:a.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Garbage Collection command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/gc`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
package/dist/gc.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-Fw9EaSEU.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-D2NzgtNt.mjs";import{t as x}from"./gc-D8GGiwIC.mjs";import{t as S}from"./update-Cx820lO0.mjs";import{a as C,l as w,o as T,u as E}from"./config-BwGb7RTa.mjs";import{a as D,r as O,t as k}from"./components-PhAQb7LE.mjs";import{dirname as A,relative as j,resolve as M,sep as N}from"node:path";import{lstat as P,mkdir as F,readdir as I,rm as L}from"node:fs/promises";async function R(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.85`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;y(i,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Garbage Collection`).length+2))/2),0))+g(_.banner.command.primary(`Garbage Collection`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Garbage Collection`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Remove files and empty folders not tracked in components.json from the configured components directory. If file tracking is incomplete, clear the directory and reinstall all installed components from the registry, overwriting local edits. Use --dry-run to preview. Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!l()&&await t(n)}async function z(e){try{return await P(e)}catch(e){if(e.code===`ENOENT`)return null;throw e}}async function B(e,t){let n=j(e,t).split(N).filter(Boolean),r=e;for(let e of n){r=M(r,e);let t=await z(r);if(t?.isSymbolicLink())throw Error(`Refusing to clean through a symbolic link: ${r}`);if(t&&!t.isDirectory())throw Error(`Expected a components directory: ${r}`)}}async function V(e){if(!await z(e))return[];let t=[];for(let n of await I(e,{withFileTypes:!0})){let r=M(e,n.name);n.isDirectory()&&t.push(...await V(r)),t.push({path:r,directory:n.isDirectory(),symlink:n.isSymbolicLink()})}return t}async function H(e,t){let{root:n,dryRun:r,report:i}=t,a=T(n,e.path);if(a===M(n))throw Error(`Refusing to clean the project root as a components directory.`);await B(n,a);let o=await V(a),s=new Set(o.filter(e=>!e.directory&&!e.symlink).map(e=>e.path)),c=/* @__PURE__ */ new Set,l=!0;for(let[t,r]of Object.entries(e.components)){let e=w(t);if(!/^[a-z0-9][\w.-]*$/i.test(e))throw Error(`Invalid installed component name: ${t}`);let i=T(a,e),o=r?.files;if(!Array.isArray(o)||o.length===0)l=!1;else for(let e of o){if(typeof e!=`string`){l=!1;continue}let t=M(n,e);t.startsWith(`${i}${N}`)&&s.has(t)||(l=!1),c.add(t)}}if(!l){let o=await O(E(t.registry??e.registry),e,Object.keys(e.components),{root:n,overwrite:!0,dryRun:!0,readExisting:!1});if(i(`Reinstall ${j(n,a)}: installed file tracking is incomplete. Local edits will be overwritten.\n${D(o,n)}`),r)return;await L(a,{recursive:!0,force:!0}),await F(a,{recursive:!0}),await k(e,o,{root:n,overwrite:!0});return}let u=/* @__PURE__ */ new Set;for(let e of c){let t=A(e);for(;t!==a;)u.add(t),t=A(t)}let d=o.filter(e=>e.directory?!u.has(e.path):!c.has(e.path));if(i(d.length?d.map(e=>`remove ${j(n,e.path)}`).join(`
|
|
3
3
|
`):`No unused component files found.`),!r)for(let e of d)await L(e.path,{recursive:e.directory,force:!0})}async function U(e){let t=M(e.cwd??process.cwd());await H(await C(t),{root:t,dryRun:e.dryRun,registry:e.registry,report:t=>{e.silent||c(t)}})}async function W(e=b()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`dryrun=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`dryrun`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`dryrun=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`dryrun`){if(/^--?(dryrun)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(dryrun)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.dryRun=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.dryRun=!0}else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`silent=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`silent`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`silent=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`silent`){if(/^--?(silent)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(silent)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.silent=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.silent=!0}else(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)&&(/^--?(registry)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.registry=r.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.registry=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}return a(`quiet`)||(await R(),await S()),!l()&&!a(`quiet`)&&(p(``),(i||h||n.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():u(`gc`,[`gc`],[t],U)}export{W as handler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-B3OTmNhA.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-D2NzgtNt.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-
|
|
1
|
+
import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-C2j0hMhY.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
|
package/dist/guidelines.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-Fw9EaSEU.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,R as c,U as l,V as u,j as d,k as f,n as p,q as m,t as h,w as g,x as _,y as v,z as y}from"./console-D2NzgtNt.mjs";import{t as b}from"./guidelines-O9RkOmMD.mjs";import{t as x}from"./update-Cx820lO0.mjs";import{t as S}from"./design-system-C2ThMyDj.mjs";import{getGuidelines as C}from"@razorwind/shell-shock/runtime";async function w(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),f(``),f(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+g.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+h(g.banner.header.primary(`Cyclone CLI v0.6.85`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>_(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;v(i,Math.max(d().columns-30,20)).forEach(e=>{f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(e).length+2))/2),0))+h(g.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(_(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(`Guidelines`).length+2))/2),0))+h(g.banner.command.primary(`Guidelines`))+` `.repeat(Math.max(Math.ceil((d().columns-(_(`Guidelines`).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),v(h(g.banner.description.primary(`Return design-system guidelines as Markdown: an overview of the token groups, one section per component (with usage examples), typography, the design-system style guidelines, and any bundled guideline documents. Pass --terms to search; omit for the full set.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(e).length+2))/2),0))+g.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(_(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),f(p.banner.outline.primary(`┗`)+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-32,0)))+` `+h(g.banner.footer.primary(`https://cyclone-ui.com`))+` `+p.banner.outline.primary(`━`.repeat(6))+p.banner.outline.primary(`┛`),{consoleFn:console.log}),f(``),o&&!c()&&await t(n)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(e){T(C(S,{terms:e.terms,limit:e.limit}))}async function D(e=y()){let t={...u(),terms:[],limit:1};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`terms=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`terms`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`terms=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`terms`)t.terms??=[],/^--?(terms)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.terms.push(...r.replace(/^--?(terms)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):e.length>n+1&&t.terms.push(...e[++n].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`limit=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`limit`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`limit=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`limit`){if(/^--?(limit)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=Number(r.replace(/^--?(limit)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(e)||(t.limit=e)}else if(e.length>n+1){let r=Number(e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(r)||(t.limit=r)}}}return a(`quiet`)||(await w(),await x()),!c()&&!a(`quiet`)&&(f(``),(i||m||n.LOG_LEVEL===`debug`)&&f(g.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),o||t.limit&&Number.isNaN(t.limit)&&[].push(`Invalid numeric value provided for the "limit" option`),t.help?b():l(`guidelines`,[`guidelines`],[t],E)}export{D as handler};
|
package/dist/help.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-Fw9EaSEU.mjs";import{C as t,F as n,G as r,H as i,J as ee,L as a,M as o,N as s,R as c,U as te,V as l,_ as u,h as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-D2NzgtNt.mjs";import{t as x}from"./update-Cx820lO0.mjs";import{a as S,i as C,n as w,o as T,r as E,s as D,t as O}from"./registry-dji1lWu2.mjs";import{t as k}from"./add-ORPvtp4g.mjs";import{t as A}from"./analyze-a11y-oZppIPFq.mjs";import{t as j}from"./build-CK-C30tv.mjs";import{t as M}from"./build-tokens-DQIVlrdg.mjs";import{t as N}from"./changelog-Ds_YSIAG.mjs";import{t as P}from"./config--73s6Vuq.mjs";import{t as F}from"./script-yz49CxRg.mjs";import{t as I}from"./config-CDflAAXr.mjs";import{t as L}from"./script-1WsdUXAT.mjs";import{t as R}from"./config-C2OG37k5.mjs";import{t as ne}from"./script-DYRCuc7v.mjs";import{t as z}from"./config-C43HiT2b.mjs";import{t as B}from"./script-CGIv2vDE.mjs";import{t as V}from"./diff-CwtZfBwK.mjs";import{t as H}from"./docs-B29Iwd3v.mjs";import{t as U}from"./gc-D8GGiwIC.mjs";import{t as W}from"./guidelines-O9RkOmMD.mjs";import{t as G}from"./info-jhvxTrnE.mjs";import{t as K}from"./init-DoT5vSNT.mjs";import{t as q}from"./list-components-BPCOnIqI.mjs";import{t as J}from"./list-fonts-DEmGglLK.mjs";import{t as Y}from"./list-icons-WANhj6i3.mjs";import{t as X}from"./list-tokens-C41ibjIe.mjs";import{t as Z}from"./mcp-C5MDAZV0.mjs";import{t as re}from"./plan-EwYIymJg.mjs";import{t as ie}from"./validate-DrRJHf4S.mjs";import{t as ae}from"./search-EaIIgeL_.mjs";import{t as oe}from"./search-components-CFO1XyPr.mjs";import{t as se}from"./search-fonts-wTR3Juet.mjs";import{t as Q}from"./search-icons-CNFNjhhP.mjs";import{t as ce}from"./search-tokens-D5tB4m9u.mjs";import{t as le}from"./update-CV5u68Y3.mjs";import{t as ue}from"./update-components-OokXY5ws.mjs";import{t as de}from"./view-8fV5NbsM.mjs";async function fe(t=500){if(i().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;i().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.85`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let r=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;y(r,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Help`).length+2))/2),0))+g(_.banner.command.primary(`Help`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Help`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Display command usage details and other useful information to the user.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!c()&&await n(t)}function $(){p(`${g(_.heading.secondary(`Tags: `))} ${_.tags.utility?_.tags.utility(d(` Utility `)):_.tags.default(d(` Utility `))}`,{padding:0}),p(``),p(g(_.heading.secondary(`Usage:`))),p(_.body.secondary(`${_.usage.bin(`>_ cyclone-ui`)} ${_.usage.command(`help`)} ${_.usage.args(`<commands...>`)} ${_.usage.options(`[options]`)}`),{padding:0}),p(_.body.secondary(`${_.usage.bin(`>_ cyclone-ui`)} ${_.usage.command(`help`)} ${_.usage.options(`[options]`)} ${_.usage.args(`<commands...>`)}`),{padding:0}),p(``),p(g(_.heading.secondary(`Options:`))),t([[{value:_.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),p(``),p(_.body.tertiary(`More information can be found in the Help command documentation at ${u(`https://docs.cyclone-ui.com/reference/cli/help`)}${_.body.tertiary(`.`)}`),{padding:0}),p(``)}async function pe(e=[]){e.join(`/`).toLowerCase()===`add`?k():e.join(`/`).toLowerCase()===`analyze-a11y`?A():e.join(`/`).toLowerCase()===`build`?j():e.join(`/`).toLowerCase()===`build-tokens`?M():e.join(`/`).toLowerCase()===`changelog`?N():e.join(`/`).toLowerCase()===`completions`?T():e.join(`/`).toLowerCase()===`completions/bash`?S():e.join(`/`).toLowerCase()===`completions/bash/config`?P():e.join(`/`).toLowerCase()===`completions/bash/script`?F():e.join(`/`).toLowerCase()===`completions/fish`?C():e.join(`/`).toLowerCase()===`completions/fish/config`?I():e.join(`/`).toLowerCase()===`completions/fish/script`?L():e.join(`/`).toLowerCase()===`completions/powershell`?E():e.join(`/`).toLowerCase()===`completions/powershell/config`?R():e.join(`/`).toLowerCase()===`completions/powershell/script`?ne():e.join(`/`).toLowerCase()===`completions/zsh`?w():e.join(`/`).toLowerCase()===`completions/zsh/config`?z():e.join(`/`).toLowerCase()===`completions/zsh/script`?B():e.join(`/`).toLowerCase()===`diff`?V():e.join(`/`).toLowerCase()===`docs`?H():e.join(`/`).toLowerCase()===`gc`?U():e.join(`/`).toLowerCase()===`guidelines`?W():e.join(`/`).toLowerCase()===`help`?$():e.join(`/`).toLowerCase()===`info`?G():e.join(`/`).toLowerCase()===`init`?K():e.join(`/`).toLowerCase()===`list-components`?q():e.join(`/`).toLowerCase()===`list-fonts`?J():e.join(`/`).toLowerCase()===`list-icons`?Y():e.join(`/`).toLowerCase()===`list-tokens`?X():e.join(`/`).toLowerCase()===`mcp`?Z():e.join(`/`).toLowerCase()===`plan`?re():e.join(`/`).toLowerCase()===`registry`?O():e.join(`/`).toLowerCase()===`registry/validate`?ie():e.join(`/`).toLowerCase()===`search`?ae():e.join(`/`).toLowerCase()===`search-components`?oe():e.join(`/`).toLowerCase()===`search-fonts`?se():e.join(`/`).toLowerCase()===`search-icons`?Q():e.join(`/`).toLowerCase()===`search-tokens`?ce():e.join(`/`).toLowerCase()===`update`?le():e.join(`/`).toLowerCase()===`update-components`?ue():e.join(`/`).toLowerCase()===`view`?de():D()}async function me(e=b()){let t={...l()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];let n=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)||n.push(e[t]);let i=[];return n.length>0&&(i=n.slice(0,n.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),a(`quiet`)||(await fe(),await x()),!c()&&!a(`quiet`)&&(p(``),(ee||h||r.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?$():te(`help`,[`help`],[i],pe)}export{me as handler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-B3OTmNhA.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-C2j0hMhY.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-D2NzgtNt.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
package/dist/info.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./prompts-
|
|
1
|
+
import{a as e}from"./prompts-Fw9EaSEU.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-D2NzgtNt.mjs";import{t as x}from"./info-jhvxTrnE.mjs";import{t as S}from"./update-Cx820lO0.mjs";import{i as C,t as w}from"./config-BwGb7RTa.mjs";import{resolve as T}from"node:path";async function E(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.85`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
|
|
2
2
|
`)}\n`;y(i,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Project Information`).length+2))/2),0))+g(_.banner.command.primary(`Project Information`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Project Information`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Show Cyclone UI project configuration and installed components.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!l()&&await t(n)}async function D(e){let t=T(e.cwd??process.cwd()),n=await C(t),r={root:t,configFile:n?T(t,w):null,registry:n?.registry??null,style:n?n.style??`tamagui`:null,componentPath:n?T(t,n.path):null,components:n?.components??{},agentInstructions:`Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so. Use components.json to identify the configured component path and installed files; copied source is not permission to edit it. This includes fixes, refactors, formatting, renaming, deleting, and registry updates or overwrites (including add --overwrite, update-components, and forced initialization). A request to build a feature, style a page, or fix an application does not authorize component changes. Prefer supported props, composition, application-owned wrappers, and theme configuration outside the installed components. If a component change is necessary, explain why and ask for specific instructions before changing it. When the user explicitly requests a component addition or change, keep it scoped and preserve unrelated installed files and local edits.`};e.json?c(JSON.stringify(r,null,2)):(p(`Project: ${r.root}`),p(`Configuration: ${r.configFile??`not initialized`}`),p(`Agent instructions: ${r.agentInstructions}`),n&&(p(`Registry: ${n.registry}`),p(`Style: ${r.style}`),p(`Components: ${Object.keys(n.components).join(`, `)||`none`}`)))}async function O(e=b()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`){if(/^--?(json)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(json)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.json=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.json=!0}}return a(`quiet`)||(await E(),await S()),!l()&&!a(`quiet`)&&(p(``),(i||h||n.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():u(`info`,[`info`],[t],D)}export{O as handler};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-B3OTmNhA.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--css <css>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("The app stylesheet that imports `tailwindcss`, relative to the working directory. With the `tailwind` style, the Cyclone UI Tailwind theme is imported there."),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,_ as t,k as n,t as r,w as i}from"./console-
|
|
1
|
+
import{C as e,_ as t,k as n,t as r,w as i}from"./console-C2j0hMhY.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--css <css>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("The app stylesheet that imports `tailwindcss`, relative to the working directory. With the `tailwind` style, the Cyclone UI Tailwind theme is imported there."),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
|