@cyclone-ui/cli 0.6.27 → 0.6.29

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.
Files changed (117) hide show
  1. package/README.md +19 -0
  2. package/dist/{add-BfIMaCew.mjs → add-CCxd91Cm.mjs} +1 -1
  3. package/dist/{add-Dx_koTHm.mjs → add-DumpqU4e.mjs} +1 -1
  4. package/dist/add.mjs +3 -3
  5. package/dist/{analyze-a11y-CcsNRuni.mjs → analyze-a11y-BxlnyqbG.mjs} +1 -1
  6. package/dist/{analyze-a11y-DSeuntNV.mjs → analyze-a11y-c6PzYKd4.mjs} +1 -1
  7. package/dist/analyze-a11y.mjs +2 -2
  8. package/dist/bin.mjs +7 -7
  9. package/dist/{build-6ozTcR0P.mjs → build-BtyT4Zan.mjs} +1 -1
  10. package/dist/{build-Cb2dvDrg.mjs → build-T_HgwaMV.mjs} +1 -1
  11. package/dist/{build-tokens-Bp8pRTwV.mjs → build-tokens-CbxsujP7.mjs} +1 -1
  12. package/dist/{build-tokens-WrYH9rWS.mjs → build-tokens-DqETXngW.mjs} +1 -1
  13. package/dist/build-tokens.mjs +2 -2
  14. package/dist/build.mjs +2 -2
  15. package/dist/{changelog-DPlV99Pq.mjs → changelog-Bx6hXwPZ.mjs} +1 -1
  16. package/dist/{changelog-DusO4ZGM.mjs → changelog-D6tnHIzn.mjs} +1 -1
  17. package/dist/changelog.mjs +17 -3
  18. package/dist/{command-B8MUnoUh.mjs → command-DH7TJa_T.mjs} +1 -1
  19. package/dist/{command-DMTfIThP.mjs → command-DIfonR8Q.mjs} +1 -1
  20. package/dist/completions-bash-config.mjs +3 -3
  21. package/dist/completions-bash-script.mjs +3 -3
  22. package/dist/completions-fish-config.mjs +3 -3
  23. package/dist/completions-fish-script.mjs +3 -3
  24. package/dist/completions-powershell-config.mjs +4 -4
  25. package/dist/completions-powershell-script.mjs +3 -3
  26. package/dist/completions-zsh-config.mjs +3 -3
  27. package/dist/completions-zsh-script.mjs +3 -3
  28. package/dist/components-CFdP7ILK.mjs +10 -0
  29. package/dist/{config-BG_ugfQz.mjs → config-0Djqqh_T.mjs} +1 -1
  30. package/dist/{config-DxsYsT40.mjs → config-BwGb7RTa.mjs} +1 -1
  31. package/dist/{config-CUHbmgOd.mjs → config-C1yRBqpq.mjs} +1 -1
  32. package/dist/{config-CW_6Hw4x.mjs → config-CfacbkmE.mjs} +1 -1
  33. package/dist/{config-DNGQGPvY.mjs → config-DginxS3b.mjs} +1 -1
  34. package/dist/{config-BlYuvJ-b.mjs → config-DyLs5oQt.mjs} +1 -1
  35. package/dist/{config-DAv4ynEC.mjs → config-dh9BciUc.mjs} +1 -1
  36. package/dist/{config-CDd3n2ez.mjs → config-ipPXwjoE.mjs} +1 -1
  37. package/dist/{config-AV1vb3R6.mjs → config-zswEkHA-.mjs} +1 -1
  38. package/dist/{console-CuwpK_nP.mjs → console-C9sr-XcB.mjs} +2 -2
  39. package/dist/{console-DBm5oED7.mjs → console-CpZxo7mz.mjs} +2 -2
  40. package/dist/{design-system-XTJf4P0a.mjs → design-system-BACPn_3U.mjs} +1 -1
  41. package/dist/{design-system-DTptaxg5.mjs → design-system-BRQwxlFZ.mjs} +1 -1
  42. package/dist/{diff-CPI6DP0p.mjs → diff-BAHLO4Dw.mjs} +1 -1
  43. package/dist/{diff-DN2s4s2u.mjs → diff-fD057Wal.mjs} +1 -1
  44. package/dist/diff.mjs +2 -2
  45. package/dist/{docs-B8fr7keZ.mjs → docs-3LjAnffm.mjs} +1 -1
  46. package/dist/{docs-Dv3lptcF.mjs → docs-DfaKDkzf.mjs} +1 -1
  47. package/dist/docs.mjs +4 -4
  48. package/dist/{guidelines-D94shOR0.mjs → guidelines-BTr2c2ds.mjs} +1 -1
  49. package/dist/{guidelines-bKW8vl5v.mjs → guidelines-Bc78Vcma.mjs} +1 -1
  50. package/dist/guidelines.mjs +2 -2
  51. package/dist/help.mjs +2 -2
  52. package/dist/{info-C7gM4SFA.mjs → info-LSuDaj3P.mjs} +1 -1
  53. package/dist/{info-DwZ_Gk5X.mjs → info-PFFK6seV.mjs} +1 -1
  54. package/dist/info.mjs +2 -2
  55. package/dist/{init-CzhC8Bcz.mjs → init-BjtHO0Ie.mjs} +1 -1
  56. package/dist/{init-jW_rVrLD.mjs → init-iMJN6FuN.mjs} +1 -1
  57. package/dist/init.mjs +2 -2
  58. package/dist/{list-components-Cb1l59FG.mjs → list-components-BDqS-zpn.mjs} +1 -1
  59. package/dist/{list-components-D6K5OfSM.mjs → list-components-C9gSI7rz.mjs} +1 -1
  60. package/dist/list-components.mjs +2 -2
  61. package/dist/{list-fonts-YdKKHJEO.mjs → list-fonts-5rYZfR1b.mjs} +1 -1
  62. package/dist/{list-fonts-tNy7jj49.mjs → list-fonts-Cf2mighG.mjs} +1 -1
  63. package/dist/list-fonts.mjs +2 -2
  64. package/dist/{list-icons-BOLtlEuI.mjs → list-icons-0ej0Q05H.mjs} +1 -1
  65. package/dist/{list-icons-NWgXWbJ2.mjs → list-icons-DVSRFw6X.mjs} +1 -1
  66. package/dist/list-icons.mjs +2 -2
  67. package/dist/{list-tokens-DMmpPvs5.mjs → list-tokens-Ci67Y9Kd.mjs} +1 -1
  68. package/dist/{list-tokens-DTBKTPn2.mjs → list-tokens-CwDvkuFe.mjs} +1 -1
  69. package/dist/list-tokens.mjs +2 -2
  70. package/dist/{mcp-B0B2FmIG.mjs → mcp-BpYLJGkl.mjs} +1 -1
  71. package/dist/{mcp-DIFz2W9U.mjs → mcp-D62Y943w.mjs} +1 -1
  72. package/dist/mcp.mjs +5 -5
  73. package/dist/{plan-7yArRIOO.mjs → plan-B-ki4CdJ.mjs} +1 -1
  74. package/dist/{plan-xhJNh5p-.mjs → plan-DSoYe32E.mjs} +1 -1
  75. package/dist/plan.mjs +2 -2
  76. package/dist/{prompts-CKTQ1emI.mjs → prompts-2RKAx6EK.mjs} +1 -1
  77. package/dist/{prompts-L-F9m8Ke.mjs → prompts-UxPqt-Gb.mjs} +1 -1
  78. package/dist/registry-BpEYYarX.mjs +1 -0
  79. package/dist/registry-DILf5_LC.mjs +1 -0
  80. package/dist/registry-validate.mjs +2 -2
  81. package/dist/{script-D0OkrEWr.mjs → script-BIoqAgJ7.mjs} +1 -1
  82. package/dist/{script-BU7qqSeT.mjs → script-BVXbRHzO.mjs} +1 -1
  83. package/dist/{script-C_84R-oH.mjs → script-C5c4niE-.mjs} +1 -1
  84. package/dist/{script-BjfxZyOe.mjs → script-D7Xk6MbD.mjs} +1 -1
  85. package/dist/{script-DyS_-4j9.mjs → script-DEDXnff_.mjs} +1 -1
  86. package/dist/{script-BxXpsMFH.mjs → script-EIUERkQr.mjs} +1 -1
  87. package/dist/{script-CrDNK7jw.mjs → script-JSaHIeA2.mjs} +1 -1
  88. package/dist/{script-U7Lq0fNS.mjs → script-vK-_gHx5.mjs} +1 -1
  89. package/dist/{search-DEuh7BCF.mjs → search-C-kF-NAP.mjs} +1 -1
  90. package/dist/{search-DExqpNjN.mjs → search-D6foWhNN.mjs} +1 -1
  91. package/dist/{search-components-C0UiLB2u.mjs → search-components-CMz9FbeD.mjs} +1 -1
  92. package/dist/{search-components-Cu2_aill.mjs → search-components-lBa8duFr.mjs} +1 -1
  93. package/dist/search-components.mjs +3 -3
  94. package/dist/{search-fonts-BATqVuFg.mjs → search-fonts-BN-FS1AX.mjs} +1 -1
  95. package/dist/{search-fonts-ghe6pS9u.mjs → search-fonts-UL7PtbNr.mjs} +1 -1
  96. package/dist/search-fonts.mjs +3 -3
  97. package/dist/{search-icons-DFsnJH-t.mjs → search-icons-C_ffHyeL.mjs} +1 -1
  98. package/dist/{search-icons-hLHCIacV.mjs → search-icons-khQR5V-5.mjs} +1 -1
  99. package/dist/search-icons.mjs +3 -3
  100. package/dist/{search-tokens-EqI9jg3V.mjs → search-tokens-DQe1Of0s.mjs} +1 -1
  101. package/dist/{search-tokens-uXQkRf7l.mjs → search-tokens-xHjN4Ap3.mjs} +1 -1
  102. package/dist/search-tokens.mjs +3 -3
  103. package/dist/search.mjs +3 -3
  104. package/dist/{update-Cb_zzc8Z.mjs → update-Bzhkuhrx.mjs} +1 -1
  105. package/dist/{update-DivOAmjH.mjs → update-DQSbPz6n.mjs} +1 -1
  106. package/dist/{update-pxD7yqo7.mjs → update-DSl4_D0i.mjs} +1 -1
  107. package/dist/{update-DqCg3Tqh.mjs → update-Diwox1wU.mjs} +1 -1
  108. package/dist/update.mjs +2 -2
  109. package/dist/{validate-45bZ3lmt.mjs → validate-BbfaJ0kr.mjs} +1 -1
  110. package/dist/{validate-FxaL0-h6.mjs → validate-Cya7mLtW.mjs} +1 -1
  111. package/dist/{view-CJycu2Y2.mjs → view-ByCXZ9h_.mjs} +1 -1
  112. package/dist/{view-DUuhfbJK.mjs → view-oCTkMn1u.mjs} +1 -1
  113. package/dist/view.mjs +3 -3
  114. package/package.json +5 -5
  115. package/dist/components-BeiahS2c.mjs +0 -10
  116. package/dist/registry-BGOpPADQ.mjs +0 -1
  117. package/dist/registry-Ce-9M1eW.mjs +0 -1
@@ -1,2 +1,2 @@
1
- import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-CuwpK_nP.mjs";import{a as y}from"./prompts-CKTQ1emI.mjs";import{t as b}from"./update-pxD7yqo7.mjs";import{t as x}from"./design-system-XTJf4P0a.mjs";import{t as S}from"./list-components-Cb1l59FG.mjs";import{listComponents as C}from"@razorwind/shell-shock/runtime";async function w(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-33,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone UI`:`\n${y.join(`
2
- `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`List Components`).length+2))/2),0))+g(l.banner.command.primary(`List Components`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`List Components`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Return every design-system component record. Large output - prefer search-components for normal use.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(x))}async function D(e=s()){let t={...v()};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];return r(`quiet`)||(await w(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?S():d(`list-components`,[`list-components`],[],E)}export{D as handler};
1
+ import{a as e}from"./prompts-2RKAx6EK.mjs";import{A as t,B as n,D as r,F as i,G as a,I as o,K as s,L as c,N as l,S as u,U as d,V as f,_ as p,j as m,k as h,n as g,t as _,y as v,z as y}from"./console-CpZxo7mz.mjs";import{t as b}from"./list-components-C9gSI7rz.mjs";import{t as x}from"./update-DSl4_D0i.mjs";import{t as S}from"./design-system-BRQwxlFZ.mjs";import{listComponents as C}from"@razorwind/shell-shock/runtime";async function w(a=500){if(n().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||m)return;n().set(`is-banner-displayed`,!0),r(``),r(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+_(u.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let s=Math.max(...e.map(e=>v(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
+ `)}\n`;p(s,Math.max(h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+_(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(`List Components`).length+2))/2),0))+_(u.banner.command.primary(`List Components`))+` `.repeat(Math.max(Math.ceil((h().columns-(v(`List Components`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),p(_(u.banner.description.primary(`Return every design-system component record. Large output - prefer search-components for normal use.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+_(u.banner.footer.primary(`https://cyclone-ui.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),t&&!o()&&await l(a)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(S))}async function D(e=c()){let t={...y()};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];return i(`quiet`)||(await w(),await x()),!o()&&!i(`quiet`)&&(r(``),(s||a||d.LOG_LEVEL===`debug`)&&r(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?b():f(`list-components`,[`list-components`],[],E)}export{D as handler};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CuwpK_nP.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.fonts?t.tags.fonts(r(` Fonts `)):t.tags.default(r(` Fonts `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-fonts`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Fonts command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-fonts`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-C9sr-XcB.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.fonts?t.tags.fonts(r(` Fonts `)):t.tags.default(r(` Fonts `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-fonts`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Fonts command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-fonts`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-DBm5oED7.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.fonts?t.tags.fonts(r(` Fonts `)):t.tags.default(r(` Fonts `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-fonts`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Fonts command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-fonts`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CpZxo7mz.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.fonts?t.tags.fonts(r(` Fonts `)):t.tags.default(r(` Fonts `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-fonts`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Fonts command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-fonts`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1,2 +1,2 @@
1
- import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-CuwpK_nP.mjs";import{a as y}from"./prompts-CKTQ1emI.mjs";import{t as b}from"./update-pxD7yqo7.mjs";import{t as x}from"./design-system-XTJf4P0a.mjs";import{t as S}from"./list-fonts-YdKKHJEO.mjs";import{listFonts as C}from"@razorwind/shell-shock/runtime";async function w(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-33,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone UI`:`\n${y.join(`
2
- `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`List Fonts`).length+2))/2),0))+g(l.banner.command.primary(`List Fonts`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`List Fonts`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Return every design-system font record.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(x))}async function D(e=s()){let t={...v()};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];return r(`quiet`)||(await w(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?S():d(`list-fonts`,[`list-fonts`],[],E)}export{D as handler};
1
+ import{a as e}from"./prompts-2RKAx6EK.mjs";import{A as t,B as n,D as r,F as i,G as a,I as o,K as s,L as c,N as l,S as u,U as d,V as f,_ as p,j as m,k as h,n as g,t as _,y as v,z as y}from"./console-CpZxo7mz.mjs";import{t as b}from"./list-fonts-Cf2mighG.mjs";import{t as x}from"./update-DSl4_D0i.mjs";import{t as S}from"./design-system-BRQwxlFZ.mjs";import{listFonts as C}from"@razorwind/shell-shock/runtime";async function w(a=500){if(n().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||m)return;n().set(`is-banner-displayed`,!0),r(``),r(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+_(u.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let s=Math.max(...e.map(e=>v(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
+ `)}\n`;p(s,Math.max(h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+_(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(`List Fonts`).length+2))/2),0))+_(u.banner.command.primary(`List Fonts`))+` `.repeat(Math.max(Math.ceil((h().columns-(v(`List Fonts`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),p(_(u.banner.description.primary(`Return every design-system font record.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+_(u.banner.footer.primary(`https://cyclone-ui.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),t&&!o()&&await l(a)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(S))}async function D(e=c()){let t={...y()};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];return i(`quiet`)||(await w(),await x()),!o()&&!i(`quiet`)&&(r(``),(s||a||d.LOG_LEVEL===`debug`)&&r(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?b():f(`list-fonts`,[`list-fonts`],[],E)}export{D as handler};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CuwpK_nP.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.icons?t.tags.icons(r(` Icons `)):t.tags.default(r(` Icons `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-icons`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Icons command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-icons`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CpZxo7mz.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.icons?t.tags.icons(r(` Icons `)):t.tags.default(r(` Icons `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-icons`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Icons command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-icons`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-DBm5oED7.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.icons?t.tags.icons(r(` Icons `)):t.tags.default(r(` Icons `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-icons`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Icons command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-icons`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-C9sr-XcB.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.icons?t.tags.icons(r(` Icons `)):t.tags.default(r(` Icons `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-icons`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Icons command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-icons`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1,2 +1,2 @@
1
- import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-CuwpK_nP.mjs";import{a as y}from"./prompts-CKTQ1emI.mjs";import{t as b}from"./update-pxD7yqo7.mjs";import{t as x}from"./design-system-XTJf4P0a.mjs";import{t as S}from"./list-icons-BOLtlEuI.mjs";import{listIcons as C}from"@razorwind/shell-shock/runtime";async function w(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-33,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone UI`:`\n${y.join(`
2
- `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`List Icons`).length+2))/2),0))+g(l.banner.command.primary(`List Icons`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`List Icons`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Return every design-system icon record. Large output - prefer search-icons for normal use.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(x))}async function D(e=s()){let t={...v()};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];return r(`quiet`)||(await w(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?S():d(`list-icons`,[`list-icons`],[],E)}export{D as handler};
1
+ import{a as e}from"./prompts-2RKAx6EK.mjs";import{A as t,B as n,D as r,F as i,G as a,I as o,K as s,L as c,N as l,S as u,U as d,V as f,_ as p,j as m,k as h,n as g,t as _,y as v,z as y}from"./console-CpZxo7mz.mjs";import{t as b}from"./list-icons-0ej0Q05H.mjs";import{t as x}from"./update-DSl4_D0i.mjs";import{t as S}from"./design-system-BRQwxlFZ.mjs";import{listIcons as C}from"@razorwind/shell-shock/runtime";async function w(a=500){if(n().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||m)return;n().set(`is-banner-displayed`,!0),r(``),r(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+_(u.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let s=Math.max(...e.map(e=>v(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
+ `)}\n`;p(s,Math.max(h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+_(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(`List Icons`).length+2))/2),0))+_(u.banner.command.primary(`List Icons`))+` `.repeat(Math.max(Math.ceil((h().columns-(v(`List Icons`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),p(_(u.banner.description.primary(`Return every design-system icon record. Large output - prefer search-icons for normal use.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+_(u.banner.footer.primary(`https://cyclone-ui.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),t&&!o()&&await l(a)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(S))}async function D(e=c()){let t={...y()};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];return i(`quiet`)||(await w(),await x()),!o()&&!i(`quiet`)&&(r(``),(s||a||d.LOG_LEVEL===`debug`)&&r(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?b():f(`list-icons`,[`list-icons`],[],E)}export{D as handler};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CuwpK_nP.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.tokens?t.tags.tokens(r(` Tokens `)):t.tags.default(r(` Tokens `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-tokens`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Tokens command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-tokens`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CpZxo7mz.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.tokens?t.tags.tokens(r(` Tokens `)):t.tags.default(r(` Tokens `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-tokens`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Tokens command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-tokens`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-DBm5oED7.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.tokens?t.tags.tokens(r(` Tokens `)):t.tags.default(r(` Tokens `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-tokens`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Tokens command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-tokens`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-C9sr-XcB.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))} ${t.tags.tokens?t.tags.tokens(r(` Tokens `)):t.tags.default(r(` Tokens `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`list-tokens`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the List Tokens command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/list-tokens`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1,2 +1,2 @@
1
- import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-CuwpK_nP.mjs";import{a as y}from"./prompts-CKTQ1emI.mjs";import{t as b}from"./update-pxD7yqo7.mjs";import{t as x}from"./design-system-XTJf4P0a.mjs";import{t as S}from"./list-tokens-DMmpPvs5.mjs";import{listTokens as C}from"@razorwind/shell-shock/runtime";async function w(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-33,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone UI`:`\n${y.join(`
2
- `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`List Tokens`).length+2))/2),0))+g(l.banner.command.primary(`List Tokens`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`List Tokens`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Return every design token (name, value, type, description, CSS variable). Large output - prefer search-tokens for normal use.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(x))}async function D(e=s()){let t={...v()};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];return r(`quiet`)||(await w(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?S():d(`list-tokens`,[`list-tokens`],[],E)}export{D as handler};
1
+ import{a as e}from"./prompts-2RKAx6EK.mjs";import{A as t,B as n,D as r,F as i,G as a,I as o,K as s,L as c,N as l,S as u,U as d,V as f,_ as p,j as m,k as h,n as g,t as _,y as v,z as y}from"./console-CpZxo7mz.mjs";import{t as b}from"./list-tokens-Ci67Y9Kd.mjs";import{t as x}from"./update-DSl4_D0i.mjs";import{t as S}from"./design-system-BRQwxlFZ.mjs";import{listTokens as C}from"@razorwind/shell-shock/runtime";async function w(a=500){if(n().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||m)return;n().set(`is-banner-displayed`,!0),r(``),r(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+_(u.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let s=Math.max(...e.map(e=>v(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
+ `)}\n`;p(s,Math.max(h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+_(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(`List Tokens`).length+2))/2),0))+_(u.banner.command.primary(`List Tokens`))+` `.repeat(Math.max(Math.ceil((h().columns-(v(`List Tokens`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),p(_(u.banner.description.primary(`Return every design token (name, value, type, description, CSS variable). Large output - prefer search-tokens for normal use.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+_(u.banner.footer.primary(`https://cyclone-ui.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),t&&!o()&&await l(a)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(){T(C(S))}async function D(e=c()){let t={...y()};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];return i(`quiet`)||(await w(),await x()),!o()&&!i(`quiet`)&&(r(``),(s||a||d.LOG_LEVEL===`debug`)&&r(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?b():f(`list-tokens`,[`list-tokens`],[],E)}export{D as handler};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CuwpK_nP.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.ai?t.tags.ai(r(` AI `)):t.tags.default(r(` AI `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))} ${t.tags.mcp?t.tags.mcp(r(` MCP `)):t.tags.default(r(` MCP `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`mcp`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--include-self`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Whether to expose the MCP command itself as a tool in the generated server (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the MCP Server command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/mcp`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-C9sr-XcB.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.ai?t.tags.ai(r(` AI `)):t.tags.default(r(` AI `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))} ${t.tags.mcp?t.tags.mcp(r(` MCP `)):t.tags.default(r(` MCP `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`mcp`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--include-self`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Whether to expose the MCP command itself as a tool in the generated server (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the MCP Server command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/mcp`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-DBm5oED7.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.ai?t.tags.ai(r(` AI `)):t.tags.default(r(` AI `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))} ${t.tags.mcp?t.tags.mcp(r(` MCP `)):t.tags.default(r(` MCP `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`mcp`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--include-self`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Whether to expose the MCP command itself as a tool in the generated server (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the MCP Server command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/mcp`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CpZxo7mz.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.ai?t.tags.ai(r(` AI `)):t.tags.default(r(` AI `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))} ${t.tags.mcp?t.tags.mcp(r(` MCP `)):t.tags.default(r(` MCP `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`mcp`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--include-self`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Whether to expose the MCP command itself as a tool in the generated server (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the MCP Server command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/mcp`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
package/dist/mcp.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{L as e,P as t,V as n,z as r}from"./console-CuwpK_nP.mjs";import{t as i}from"./mcp-B0B2FmIG.mjs";import{defineMetadata as a,defineOptions as o}from"@shell-shock/core";import{McpServer as s}from"@modelcontextprotocol/server";import{StdioServerTransport as c}from"@modelcontextprotocol/server/stdio";import{z as l}from"zod/v4";const u=[{id:`add`,name:`add`,path:`add`,segments:[`add`],title:`Add`,description:`Adds a new component to the project.
1
+ import{t as e}from"./mcp-D62Y943w.mjs";import{L as t,P as n,V as r,z as i}from"./console-CpZxo7mz.mjs";import{defineMetadata as a,defineOptions as o}from"@shell-shock/core";import{McpServer as s}from"@modelcontextprotocol/server";import{StdioServerTransport as c}from"@modelcontextprotocol/server/stdio";import{z as l}from"zod/v4";const u=[{id:`add`,name:`add`,path:`add`,segments:[`add`],title:`Add`,description:`Adds a new component to the project.
2
2
  Options: --cwd (string), --overwrite (boolean), --all (boolean), --path (string), --dry-run (boolean), --diff (boolean), --view (boolean), --silent (boolean), --registry (string), --rsc (boolean)
3
3
  Args: components:string[]`,toolName:`add`,options:[{name:`cwd`,title:`Current Working Directory`,description:`The working directory.`,type:`string`,required:!1,variadic:!1},{name:`overwrite`,title:`Overwrite`,description:`Overwrite existing files.`,type:`boolean`,required:!1,variadic:!1},{name:`all`,title:`All`,description:`Add every available component.`,type:`boolean`,required:!1,variadic:!1},{name:`path`,title:`Path`,description:`Override the configured component output path.`,type:`string`,required:!1,variadic:!1},{name:`dryRun`,title:`Dry Run`,description:`Preview changes without writing files.`,type:`boolean`,required:!1,variadic:!1},{name:`diff`,title:`Diff`,description:`Show the changes as a diff without writing files.`,type:`boolean`,required:!1,variadic:!1},{name:`view`,title:`View`,description:`Show resolved file contents without writing files.`,type:`boolean`,required:!1,variadic:!1},{name:`silent`,title:`Silent`,description:`Mute non-essential output.`,type:`boolean`,required:!1,variadic:!1},{name:`registry`,title:`Registry`,description:`Override the configured registry URL.`,type:`string`,required:!1,variadic:!1},{name:`rsc`,title:`React Server Components`,description:`Override React Server Component support for this installation.`,type:`boolean`,required:!1,variadic:!1}],args:[{name:`components`,title:`Components`,description:"Component names to add; `email` adds every React Email component.",type:`string`,required:!1,variadic:!0}]},{id:`analyze-a11y`,name:`analyze-a11y`,path:`analyze-a11y`,segments:[`analyze-a11y`],title:`Analyze Accessibility`,description:`Analyze a React/JSX source string (or file) for likely accessibility issues and hard-coded colors, suggesting the nearest design tokens for each color.
4
4
  Options: --code (string), --file (string), --component-name (string), --context (string), --pattern-analysis (boolean)`,toolName:`analyze-a11y`,options:[{name:`code`,title:`Code`,description:`Source code of a React component or JSX snippet to analyze.`,type:`string`,required:!1,variadic:!1},{name:`file`,title:`File`,description:`Path to a source file to analyze (alternative to --code).`,type:`string`,required:!1,variadic:!1},{name:`componentName`,title:`Component Name`,description:`Optional label for the component under review.`,type:`string`,required:!1,variadic:!1},{name:`context`,title:`Context`,description:`Optional usage context (for example "in a form" or "modal").`,type:`string`,required:!1,variadic:!1},{name:`patternAnalysis`,title:`Pattern Analysis`,description:`Run regex-based heuristics (unlabeled buttons, missing alt, …).`,type:`boolean`,required:!1,variadic:!1}],args:[]},{id:`build`,name:`build`,path:`build`,segments:[`build`],title:`Build`,description:`Generate design tokens and build the resulting Tamagui config.
@@ -30,8 +30,8 @@ is used to determine which command's help information to display. If no
30
30
  commands are provided, general help information about the CLI application
31
31
  will be displayed.`,type:`string`,required:!1,variadic:!0}]},{id:`info`,name:`info`,path:`info`,segments:[`info`],title:`Project Information`,description:`Show Cyclone UI project configuration and installed components.
32
32
  Options: --cwd (string), --json (boolean)`,toolName:`info`,options:[{name:`cwd`,title:`Current Working Directory`,description:`The working directory.`,type:`string`,required:!1,variadic:!1},{name:`json`,title:`JavaScript Object Notation`,description:`Output machine-readable JSON.`,type:`boolean`,required:!1,variadic:!1}],args:[]},{id:`init`,name:`init`,path:`init`,segments:[`init`],title:`Initialize`,description:`Initialize Cyclone UI in a project.
33
- Options: --cwd (string), --path (string), --registry (string), --rsc (boolean), --force (boolean), --silent (boolean)
34
- Args: components:string[]`,toolName:`init`,options:[{name:`cwd`,title:`Current Working Directory`,description:`The working directory.`,type:`string`,required:!1,variadic:!1},{name:`path`,title:`Path`,description:`Component output path, relative to the working directory.`,type:`string`,required:!1,variadic:!1},{name:`registry`,title:`Registry`,description:`Registry URL.`,type:`string`,required:!1,variadic:!1},{name:`rsc`,title:`React Server Components`,description:`Enable React Server Component support in components.json.`,type:`boolean`,required:!1,variadic:!1},{name:`force`,title:`Force`,description:`Overwrite an existing Cyclone configuration.`,type:`boolean`,required:!1,variadic:!1},{name:`silent`,title:`Silent`,description:`Mute non-essential output.`,type:`boolean`,required:!1,variadic:!1}],args:[{name:`components`,title:`Components`,description:`Components to install after initialization.`,type:`string`,required:!1,variadic:!0}]},{id:`list-components`,name:`list-components`,path:`list-components`,segments:[`list-components`],title:`List Components`,description:`Return every design-system component record. Large output - prefer search-components for normal use.`,toolName:`list-components`,options:[],args:[]},{id:`list-fonts`,name:`list-fonts`,path:`list-fonts`,segments:[`list-fonts`],title:`List Fonts`,description:`Return every design-system font record.`,toolName:`list-fonts`,options:[],args:[]},{id:`list-icons`,name:`list-icons`,path:`list-icons`,segments:[`list-icons`],title:`List Icons`,description:`Return every design-system icon record. Large output - prefer search-icons for normal use.`,toolName:`list-icons`,options:[],args:[]},{id:`list-tokens`,name:`list-tokens`,path:`list-tokens`,segments:[`list-tokens`],title:`List Tokens`,description:`Return every design token (name, value, type, description, CSS variable). Large output - prefer search-tokens for normal use.`,toolName:`list-tokens`,options:[],args:[]},{id:`mcp`,name:`mcp`,path:`mcp`,segments:[`mcp`],title:`MCP Server`,description:`Starts an MCP stdio server that exposes this Shell Shock application's commands as tools.
33
+ Options: --cwd (string), --path (string), --registry (string), --rsc (boolean), --style (string), --force (boolean), --silent (boolean)
34
+ Args: components:string[]`,toolName:`init`,options:[{name:`cwd`,title:`Current Working Directory`,description:`The working directory.`,type:`string`,required:!1,variadic:!1},{name:`path`,title:`Path`,description:`Component output path, relative to the working directory.`,type:`string`,required:!1,variadic:!1},{name:`registry`,title:`Registry`,description:`Registry URL.`,type:`string`,required:!1,variadic:!1},{name:`rsc`,title:`React Server Components`,description:`Enable React Server Component support in components.json.`,type:`boolean`,required:!1,variadic:!1},{name:`style`,title:`Style`,description:"Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them.",type:`string`,required:!1,variadic:!1},{name:`force`,title:`Force`,description:`Overwrite an existing Cyclone configuration.`,type:`boolean`,required:!1,variadic:!1},{name:`silent`,title:`Silent`,description:`Mute non-essential output.`,type:`boolean`,required:!1,variadic:!1}],args:[{name:`components`,title:`Components`,description:`Components to install after initialization.`,type:`string`,required:!1,variadic:!0}]},{id:`list-components`,name:`list-components`,path:`list-components`,segments:[`list-components`],title:`List Components`,description:`Return every design-system component record. Large output - prefer search-components for normal use.`,toolName:`list-components`,options:[],args:[]},{id:`list-fonts`,name:`list-fonts`,path:`list-fonts`,segments:[`list-fonts`],title:`List Fonts`,description:`Return every design-system font record.`,toolName:`list-fonts`,options:[],args:[]},{id:`list-icons`,name:`list-icons`,path:`list-icons`,segments:[`list-icons`],title:`List Icons`,description:`Return every design-system icon record. Large output - prefer search-icons for normal use.`,toolName:`list-icons`,options:[],args:[]},{id:`list-tokens`,name:`list-tokens`,path:`list-tokens`,segments:[`list-tokens`],title:`List Tokens`,description:`Return every design token (name, value, type, description, CSS variable). Large output - prefer search-tokens for normal use.`,toolName:`list-tokens`,options:[],args:[]},{id:`mcp`,name:`mcp`,path:`mcp`,segments:[`mcp`],title:`MCP Server`,description:`Starts an MCP stdio server that exposes this Shell Shock application's commands as tools.
35
35
  Options: --include-self (boolean)`,toolName:`mcp`,options:[{name:`includeSelf`,title:`Include MCP Command`,description:`Whether to expose the MCP command itself as a tool in the generated server.`,type:`boolean`,required:!1,variadic:!1}],args:[]},{id:`plan`,name:`plan`,path:`plan`,segments:[`plan`],title:`Plan`,description:`Search tokens, icons, components and fonts in one call to plan what to build. Provide terms for at least one list.
36
36
  Options: --tokens (string), --icons (string), --components (string), --fonts (string), --limit (number)`,toolName:`plan`,options:[{name:`tokens`,title:`Tokens`,description:`Search terms for design tokens. Prefer at least two terms when known.`,type:`string`,required:!1,variadic:!0},{name:`icons`,title:`Icons`,description:`Search terms for icons.`,type:`string`,required:!1,variadic:!0},{name:`components`,title:`Components`,description:`Search terms for components.`,type:`string`,required:!1,variadic:!0},{name:`fonts`,title:`Fonts`,description:`Search terms for fonts.`,type:`string`,required:!1,variadic:!0},{name:`limit`,title:`Limit`,description:`Maximum matches per term for each list.`,type:`number`,required:!1,variadic:!1}],args:[]},{id:`registry-validate`,name:`validate`,path:`registry/validate`,segments:[`registry`,`validate`],title:`Validate Registry`,description:`Validate a local registry manifest and its source files.
37
37
  Options: --cwd (string)
@@ -43,5 +43,5 @@ Options: --terms (string, required), --limit (number)`,toolName:`search-icons`,o
43
43
  Options: --terms (string, required), --limit (number), --include-metadata (boolean)`,toolName:`search-tokens`,options:[{name:`terms`,title:`Terms`,description:`One or more search terms (fuzzy match). Example: ["spacing", "color.text", "background"].`,type:`string`,required:!0,variadic:!0},{name:`limit`,title:`Limit`,description:`Maximum matches per term.`,type:`number`,required:!1,variadic:!1},{name:`includeMetadata`,title:`Include Metadata`,description:`Include type, description, hex value and CSS variable in each result.`,type:`boolean`,required:!1,variadic:!1}],args:[]},{id:`update`,name:`update`,path:`update`,segments:[`update`],title:`Update`,description:`A command for checking and updating the version of the Cyclone User Interface command-line interface application.
44
44
  Options: --latest (boolean), --version (string)`,toolName:`update`,options:[{name:`latest`,title:`Latest`,description:`Whether to update to the latest version.`,type:`boolean`,required:!1,variadic:!1},{name:`version`,title:`Version`,description:`A specific application version to update to.`,type:`string`,required:!1,variadic:!1}],args:[]},{id:`view`,name:`view`,path:`view`,segments:[`view`],title:`View Registry Components`,description:`View component metadata and files from the registry.
45
45
  Options: --cwd (string), --registry (string)
46
- Args: components:string (required)[]`,toolName:`view`,options:[{name:`cwd`,title:`Current Working Directory`,description:`The working directory.`,type:`string`,required:!1,variadic:!1},{name:`registry`,title:`Registry`,description:`Registry URL.`,type:`string`,required:!1,variadic:!1}],args:[{name:`components`,title:`Components`,description:`Component names to view.`,type:`string`,required:!0,variadic:!0}]}];a({title:`MCP Server`,description:`Starts an MCP stdio server that exposes this Shell Shock application's commands as tools.`,icon:`🔌`,tags:[`Utility`,`MCP`]}),o({includeSelf:{type:`boolean`,title:`Include MCP Command`,description:`Whether to expose the MCP command itself as a tool in the generated server.`,default:!1,required:!1,variadic:!1}});function d(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).replace(/[^a-z0-9-]/gi,`-`).replace(/-{2,}/g,`-`).replace(/^-+|-+$/g,``).toLowerCase()}function f(e){let t=[];for(let[n,r]of Object.entries(e??{})){if(!/^[a-zA-Z0-9_-]+$/.test(n))continue;let e=d(n);if(e&&r!=null){if(typeof r==`boolean`)t.push(r?`--`+e:`--no-`+e);else if(Array.isArray(r))for(let n of r)n!=null&&t.push(`--`+e,String(n));else t.push(`--`+e,String(r))}}return t}async function p(e){let n=/* @__PURE__ */ new Map,r=/* @__PURE__ */ new Set,i=e.includeSelf===!0;for(let e of u){if(!i&&e.path===`mcp`)continue;let t=e.toolName;if(r.has(t)){let e=2;for(;r.has(t+`_`+String(e));)e+=1;t=t+`_`+String(e)}r.add(t),n.set(t,e)}let a=new s({name:`cyclone-ui-shell-shock`,version:`1.0.0`});for(let[e,r]of n.entries())a.registerTool(e,{title:r.title,description:r.description,inputSchema:l.object({options:l.record(l.unknown()).optional(),args:l.array(l.string()).optional(),cwd:l.string().optional(),timeoutMs:l.number().int().positive().optional()})},async e=>{let n=[...r.segments,...f(e.options??{}),`--no-banner`,`--quiet`,...e.args??[]],i=process.argv.length>=2?[process.argv[0],process.argv[1],...n]:[`mcp`,...n],a=await t(i,{cwd:e.cwd,timeoutMs:e.timeoutMs??3e5}),o=(a.code??0)!==0,s=[a.stdout,o?a.stderr:``].filter(Boolean).join(`
47
- `).trim();return{isError:o,content:[{type:`text`,text:s.length>0?s:o?`Command failed with exit code `+String(a.code??1)+`.`:`Command completed successfully.`}]}});await a.connect(new c)}async function m(t=e()){let a={...r(),includeSelf:!1};for(let e=0;e<t.slice(0).length;e++){let n=t[e].length>3&&t[e].startsWith(`--`)?`--${t[e].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:t[e].length>2&&t[e].startsWith(`-`)?`-${t[e].slice(1).replaceAll(`-`,``)}`:t[e];if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`includeself=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`includeself`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`includeself=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`includeself`){if(/^--?(includeself)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=n.replace(/^--?(includeself)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();a.includeSelf=!!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 a.includeSelf=!0}}return a.help?i():n(`mcp`,[`mcp`],[a],p)}export{m as handler};
46
+ Args: components:string (required)[]`,toolName:`view`,options:[{name:`cwd`,title:`Current Working Directory`,description:`The working directory.`,type:`string`,required:!1,variadic:!1},{name:`registry`,title:`Registry`,description:`Registry URL.`,type:`string`,required:!1,variadic:!1}],args:[{name:`components`,title:`Components`,description:`Component names to view.`,type:`string`,required:!0,variadic:!0}]}];a({title:`MCP Server`,description:`Starts an MCP stdio server that exposes this Shell Shock application's commands as tools.`,icon:`🔌`,tags:[`Utility`,`MCP`]}),o({includeSelf:{type:`boolean`,title:`Include MCP Command`,description:`Whether to expose the MCP command itself as a tool in the generated server.`,default:!1,required:!1,variadic:!1}});function d(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).replace(/[^a-z0-9-]/gi,`-`).replace(/-{2,}/g,`-`).replace(/^-+|-+$/g,``).toLowerCase()}function f(e){let t=[];for(let[n,r]of Object.entries(e??{})){if(!/^[a-zA-Z0-9_-]+$/.test(n))continue;let e=d(n);if(e&&r!=null){if(typeof r==`boolean`)t.push(r?`--`+e:`--no-`+e);else if(Array.isArray(r))for(let n of r)n!=null&&t.push(`--`+e,String(n));else t.push(`--`+e,String(r))}}return t}async function p(e){let t=/* @__PURE__ */ new Map,r=/* @__PURE__ */ new Set,i=e.includeSelf===!0;for(let e of u){if(!i&&e.path===`mcp`)continue;let n=e.toolName;if(r.has(n)){let e=2;for(;r.has(n+`_`+String(e));)e+=1;n=n+`_`+String(e)}r.add(n),t.set(n,e)}let a=new s({name:`cyclone-ui-shell-shock`,version:`1.0.0`});for(let[e,r]of t.entries())a.registerTool(e,{title:r.title,description:r.description,inputSchema:l.object({options:l.record(l.unknown()).optional(),args:l.array(l.string()).optional(),cwd:l.string().optional(),timeoutMs:l.number().int().positive().optional()})},async e=>{let t=[...r.segments,...f(e.options??{}),`--no-banner`,`--quiet`,...e.args??[]],i=process.argv.length>=2?[process.argv[0],process.argv[1],...t]:[`mcp`,...t],a=await n(i,{cwd:e.cwd,timeoutMs:e.timeoutMs??3e5}),o=(a.code??0)!==0,s=[a.stdout,o?a.stderr:``].filter(Boolean).join(`
47
+ `).trim();return{isError:o,content:[{type:`text`,text:s.length>0?s:o?`Command failed with exit code `+String(a.code??1)+`.`:`Command completed successfully.`}]}});await a.connect(new c)}async function m(n=t()){let a={...i(),includeSelf:!1};for(let e=0;e<n.slice(0).length;e++){let t=n[e].length>3&&n[e].startsWith(`--`)?`--${n[e].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:n[e].length>2&&n[e].startsWith(`-`)?`-${n[e].slice(1).replaceAll(`-`,``)}`:n[e];if(t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`includeself=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`includeself`||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`includeself=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`includeself`){if(/^--?(includeself)=/.test(`-`+t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=t.replace(/^--?(includeself)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();a.includeSelf=!!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 a.includeSelf=!0}}return a.help?e():r(`mcp`,[`mcp`],[a],p)}export{m as handler};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CuwpK_nP.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`plan`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--components <components...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for components.`),align:`left`,border:`none`}],[{value:t.body.primary(`--fonts <fonts...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for fonts.`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--icons <icons...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for icons.`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Maximum matches per term for each list (default: 2).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--tokens <tokens...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for design tokens.`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the Plan command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/plan`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-CpZxo7mz.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`plan`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--components <components...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for components.`),align:`left`,border:`none`}],[{value:t.body.primary(`--fonts <fonts...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for fonts.`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--icons <icons...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for icons.`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Maximum matches per term for each list (default: 2).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--tokens <tokens...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for design tokens.`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the Plan command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/plan`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -1 +1 @@
1
- import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-DBm5oED7.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`plan`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--components <components...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for components.`),align:`left`,border:`none`}],[{value:t.body.primary(`--fonts <fonts...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for fonts.`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--icons <icons...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for icons.`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Maximum matches per term for each list (default: 2).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--tokens <tokens...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for design tokens.`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the Plan command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/plan`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-C9sr-XcB.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.designSystem?t.tags.designSystem(r(` Design System `)):t.tags.default(r(` Design System `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`plan`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--components <components...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for components.`),align:`left`,border:`none`}],[{value:t.body.primary(`--fonts <fonts...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for fonts.`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--icons <icons...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for icons.`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Maximum matches per term for each list (default: 2).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--tokens <tokens...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Search terms for design tokens.`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.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`}]]),e(``),e(t.body.tertiary(`More information can be found in the Plan command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/plan`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
package/dist/plan.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-CuwpK_nP.mjs";import{a as y}from"./prompts-CKTQ1emI.mjs";import{t as b}from"./update-pxD7yqo7.mjs";import{t as x}from"./design-system-XTJf4P0a.mjs";import{t as S}from"./plan-7yArRIOO.mjs";import{isSearchError as C,plan as w}from"@razorwind/shell-shock/runtime";async function T(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-33,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone UI`:`\n${y.join(`
2
- `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`Plan`).length+2))/2),0))+g(l.banner.command.primary(`Plan`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`Plan`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Search tokens, icons, components and fonts in one call to plan what to build. Provide terms for at least one list.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}function E(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function D(e){let t=w(x,{tokens:e.tokens,icons:e.icons,components:e.components,fonts:e.fonts,limit:e.limit});E(t),C(t)&&(process.exitCode=1)}async function O(t=s()){let c={...v(),tokens:[],icons:[],components:[],fonts:[],limit:2};for(let e=0;e<t.slice(0).length;e++){let n=t[e].length>3&&t[e].startsWith(`--`)?`--${t[e].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:t[e].length>2&&t[e].startsWith(`-`)?`-${t[e].slice(1).replaceAll(`-`,``)}`:t[e];if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`tokens=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`tokens`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`tokens=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`tokens`)c.tokens??=[],/^--?(tokens)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?c.tokens.push(...n.replace(/^--?(tokens)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):t.length>e+1&&c.tokens.push(...t[++e].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`icons=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`icons`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`icons=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`icons`)c.icons??=[],/^--?(icons)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?c.icons.push(...n.replace(/^--?(icons)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):t.length>e+1&&c.icons.push(...t[++e].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`components=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`components`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`components=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`components`)c.components??=[],/^--?(components)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?c.components.push(...n.replace(/^--?(components)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):t.length>e+1&&c.components.push(...t[++e].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`fonts=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`fonts`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`fonts=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`fonts`)c.fonts??=[],/^--?(fonts)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?c.fonts.push(...n.replace(/^--?(fonts)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):t.length>e+1&&c.fonts.push(...t[++e].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`limit=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`limit`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`limit=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`limit`){if(/^--?(limit)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=Number(n.replace(/^--?(limit)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(e)||(c.limit=e)}else if(t.length>e+1){let n=Number(t[++e].trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(n)||(c.limit=n)}}}return r(`quiet`)||(await T(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),e||c.limit&&Number.isNaN(c.limit)&&[].push(`Invalid numeric value provided for the "limit" option`),c.help?S():d(`plan`,[`plan`],[c],D)}export{O as handler};
1
+ import{a as e}from"./prompts-2RKAx6EK.mjs";import{A as t,B as n,D as r,F as i,G as a,I as o,K as s,L as c,N as l,S as u,U as d,V as f,_ as p,j as m,k as h,n as g,t as _,y as v,z as y}from"./console-CpZxo7mz.mjs";import{t as b}from"./plan-B-ki4CdJ.mjs";import{t as x}from"./update-DSl4_D0i.mjs";import{t as S}from"./design-system-BRQwxlFZ.mjs";import{isSearchError as C,plan as w}from"@razorwind/shell-shock/runtime";async function T(a=500){if(n().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||m)return;n().set(`is-banner-displayed`,!0),r(``),r(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+_(u.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let s=Math.max(...e.map(e=>v(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
+ `)}\n`;p(s,Math.max(h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+_(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(`Plan`).length+2))/2),0))+_(u.banner.command.primary(`Plan`))+` `.repeat(Math.max(Math.ceil((h().columns-(v(`Plan`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),p(_(u.banner.description.primary(`Search tokens, icons, components and fonts in one call to plan what to build. Provide terms for at least one list.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(v(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(v(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+_(u.banner.footer.primary(`https://cyclone-ui.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),t&&!o()&&await l(a)}function E(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function D(e){let t=w(S,{tokens:e.tokens,icons:e.icons,components:e.components,fonts:e.fonts,limit:e.limit});E(t),C(t)&&(process.exitCode=1)}async function O(e=c()){let n={...y(),tokens:[],icons:[],components:[],fonts:[],limit:2};for(let t=0;t<e.slice(0).length;t++){let r=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(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`tokens=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`tokens`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`tokens=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`tokens`)n.tokens??=[],/^--?(tokens)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?n.tokens.push(...r.replace(/^--?(tokens)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):e.length>t+1&&n.tokens.push(...e[++t].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`icons=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`icons`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`icons=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`icons`)n.icons??=[],/^--?(icons)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?n.icons.push(...r.replace(/^--?(icons)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):e.length>t+1&&n.icons.push(...e[++t].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`components=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`components`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`components=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`components`)n.components??=[],/^--?(components)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?n.components.push(...r.replace(/^--?(components)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):e.length>t+1&&n.components.push(...e[++t].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`fonts=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`fonts`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`fonts=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`fonts`)n.fonts??=[],/^--?(fonts)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?n.fonts.push(...r.replace(/^--?(fonts)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):e.length>t+1&&n.fonts.push(...e[++t].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)||(n.limit=e)}else if(e.length>t+1){let r=Number(e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(r)||(n.limit=r)}}}return i(`quiet`)||(await T(),await x()),!o()&&!i(`quiet`)&&(r(``),(s||a||d.LOG_LEVEL===`debug`)&&r(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t||n.limit&&Number.isNaN(n.limit)&&[].push(`Invalid numeric value provided for the "limit" option`),n.help?b():f(`plan`,[`plan`],[n],D)}export{O as handler};
@@ -1,4 +1,4 @@
1
- import{A as e,B as t,C as n,D as r,F as i,I as a,N as o,S as s,_ as c,a as l,j as u,k as d,m as f,n as p,q as m,r as h,s as g,t as _,v,y}from"./console-CuwpK_nP.mjs";import b from"node:events";import{createInterface as x,emitKeypressEvents as S}from"node:readline";const C=[`▄█████ ▄▄ ▄▄ ▄▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ██ ██ ██ `,`██ ▀███▀ ██▀▀▀ ██ ██▀██ ███▄██ ██▄▄ ██ ██ ██ `,`▀█████ █ ▀████ ██▄▄▄ ▀███▀ ██ ▀██ ██▄▄▄ ▀████▀ ██ `];async function w(n=500){if(t().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||u)return;t().set(`is-banner-displayed`,!0),r(``),r(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+s.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+_(s.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let l=Math.max(...C.map(e=>y(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${C.join(`
1
+ import{A as e,B as t,C as n,D as r,F as i,I as a,N as o,S as s,_ as c,a as l,j as u,k as d,m as f,n as p,q as m,r as h,s as g,t as _,v,y}from"./console-CpZxo7mz.mjs";import b from"node:events";import{createInterface as x,emitKeypressEvents as S}from"node:readline";const C=[`▄█████ ▄▄ ▄▄ ▄▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ██ ██ ██ `,`██ ▀███▀ ██▀▀▀ ██ ██▀██ ███▄██ ██▄▄ ██ ██ ██ `,`▀█████ █ ▀████ ██▄▄▄ ▀███▀ ██ ▀██ ██▄▄▄ ▀████▀ ██ `];async function w(n=500){if(t().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||u)return;t().set(`is-banner-displayed`,!0),r(``),r(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+s.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+_(s.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let l=Math.max(...C.map(e=>y(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${C.join(`
2
2
  `)}\n`;c(l,Math.max(d().columns-30,20)).forEach(e=>{r(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(y(e).length+2))/2),0))+_(s.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(y(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(_(s.banner.description.primary(`🌀 Tamagui based design components used by Storm Software. Like shadcn/ui, the components are copied into other repositories via the Cyclone CLI.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{r(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(y(e).length+2))/2),0))+s.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(y(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),r(p.banner.outline.primary(`┗`)+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-32,0)))+` `+_(s.banner.footer.primary(`https://cyclone-ui.com`))+` `+p.banner.outline.primary(`━`.repeat(6))+p.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),e&&!a()&&await o(n)}function T(e){return e}var E=class extends b{config;#e;#t;#n=!1;#r=!1;#i=!1;input=process.stdin;output=process.stdout;message=``;description=``;errorMessage=null;defaultErrorMessage=`An invalid value was provided`;isSubmitted=!1;isCancelled=!1;isInitial=!0;consoleOutput=``;consoleStatus=``;displayValue=``;validate=()=>!0;parse=e=>e;format=e=>String(e);mask=T;maskCompleted=this.mask;cursor=0;cursorHidden=!1;constructor(e){super(),this.config=e,e.input&&(this.input=e.input),e.output&&(this.output=e.output),e.defaultErrorMessage&&(this.defaultErrorMessage=e.defaultErrorMessage),e.description&&(this.description=e.description),e.validate&&(this.validate=e.validate),e.parse&&(this.parse=e.parse.bind(this)),e.format&&(this.format=e.format.bind(this)),e.maskCompleted&&(this.maskCompleted=e.maskCompleted),e.mask&&(this.mask=e.mask),e.timeout!==void 0&&!Number.isNaN(e.timeout)&&setTimeout(()=>{this.isCompleted||this.cancel()},e.timeout),this.message=e.message,this.#e=x({input:this.input,escapeCodeTimeout:50}),S(this.input,this.#e),this.input.isTTY&&this.input.setRawMode(!0),this.input.on(`keypress`,this.keypress.bind(this))}[Symbol.dispose](){this.close()}get value(){return this.#t||this.initialValue}get isError(){return!!this.errorMessage}get isSelect(){return!1}get isCompleted(){return this.isCancelled||this.isSubmitted}get isPlaceholder(){return this.displayValue===this.format(this.initialValue)&&!this.#r||!this.#n}get status(){return this.isSubmitted?``:` \n ${f(this.isError?s.prompt.description.error(c(this.errorMessage,`3/4`).join(`
3
3
  `)):this.isCancelled?s.prompt.description.cancelled(c(`Input was cancelled by user`,`3/4`).join(`
4
4
  `)):this.description?s.prompt.description.active(c(this.description,`3/4`).join(`
@@ -1,4 +1,4 @@
1
- import{A as e,B as t,C as n,D as r,F as i,I as a,N as o,S as s,_ as c,a as l,j as u,k as d,m as f,n as p,q as m,r as h,s as g,t as _,v,y}from"./console-DBm5oED7.mjs";import b from"node:events";import{createInterface as x,emitKeypressEvents as S}from"node:readline";const C=[`▄█████ ▄▄ ▄▄ ▄▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ██ ██ ██ `,`██ ▀███▀ ██▀▀▀ ██ ██▀██ ███▄██ ██▄▄ ██ ██ ██ `,`▀█████ █ ▀████ ██▄▄▄ ▀███▀ ██ ▀██ ██▄▄▄ ▀████▀ ██ `];async function w(n=500){if(t().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||u)return;t().set(`is-banner-displayed`,!0),r(``),r(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+s.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+_(s.banner.header.primary(`Cyclone CLI v0.6.26`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let l=Math.max(...C.map(e=>y(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${C.join(`
1
+ import{A as e,B as t,C as n,D as r,F as i,I as a,N as o,S as s,_ as c,a as l,j as u,k as d,m as f,n as p,q as m,r as h,s as g,t as _,v,y}from"./console-C9sr-XcB.mjs";import b from"node:events";import{createInterface as x,emitKeypressEvents as S}from"node:readline";const C=[`▄█████ ▄▄ ▄▄ ▄▄▄▄ ▄▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ██ ██ ██ `,`██ ▀███▀ ██▀▀▀ ██ ██▀██ ███▄██ ██▄▄ ██ ██ ██ `,`▀█████ █ ▀████ ██▄▄▄ ▀███▀ ██ ▀██ ██▄▄▄ ▀████▀ ██ `];async function w(n=500){if(t().get(`is-banner-displayed`)||i(`no-banner`)||i(`hide-banner`)||u)return;t().set(`is-banner-displayed`,!0),r(``),r(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+s.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+_(s.banner.header.primary(`Cyclone CLI v0.6.28`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let l=Math.max(...C.map(e=>y(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${C.join(`
2
2
  `)}\n`;c(l,Math.max(d().columns-30,20)).forEach(e=>{r(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(y(e).length+2))/2),0))+_(s.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(y(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(_(s.banner.description.primary(`🌀 Tamagui based design components used by Storm Software. Like shadcn/ui, the components are copied into other repositories via the Cyclone CLI.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{r(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(y(e).length+2))/2),0))+s.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(y(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),r(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),r(p.banner.outline.primary(`┗`)+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-32,0)))+` `+_(s.banner.footer.primary(`https://cyclone-ui.com`))+` `+p.banner.outline.primary(`━`.repeat(6))+p.banner.outline.primary(`┛`),{consoleFn:console.log}),r(``),e&&!a()&&await o(n)}function T(e){return e}var E=class extends b{config;#e;#t;#n=!1;#r=!1;#i=!1;input=process.stdin;output=process.stdout;message=``;description=``;errorMessage=null;defaultErrorMessage=`An invalid value was provided`;isSubmitted=!1;isCancelled=!1;isInitial=!0;consoleOutput=``;consoleStatus=``;displayValue=``;validate=()=>!0;parse=e=>e;format=e=>String(e);mask=T;maskCompleted=this.mask;cursor=0;cursorHidden=!1;constructor(e){super(),this.config=e,e.input&&(this.input=e.input),e.output&&(this.output=e.output),e.defaultErrorMessage&&(this.defaultErrorMessage=e.defaultErrorMessage),e.description&&(this.description=e.description),e.validate&&(this.validate=e.validate),e.parse&&(this.parse=e.parse.bind(this)),e.format&&(this.format=e.format.bind(this)),e.maskCompleted&&(this.maskCompleted=e.maskCompleted),e.mask&&(this.mask=e.mask),e.timeout!==void 0&&!Number.isNaN(e.timeout)&&setTimeout(()=>{this.isCompleted||this.cancel()},e.timeout),this.message=e.message,this.#e=x({input:this.input,escapeCodeTimeout:50}),S(this.input,this.#e),this.input.isTTY&&this.input.setRawMode(!0),this.input.on(`keypress`,this.keypress.bind(this))}[Symbol.dispose](){this.close()}get value(){return this.#t||this.initialValue}get isError(){return!!this.errorMessage}get isSelect(){return!1}get isCompleted(){return this.isCancelled||this.isSubmitted}get isPlaceholder(){return this.displayValue===this.format(this.initialValue)&&!this.#r||!this.#n}get status(){return this.isSubmitted?``:` \n ${f(this.isError?s.prompt.description.error(c(this.errorMessage,`3/4`).join(`
3
3
  `)):this.isCancelled?s.prompt.description.cancelled(c(`Input was cancelled by user`,`3/4`).join(`
4
4
  `)):this.description?s.prompt.description.active(c(this.description,`3/4`).join(`