@cyclone-ui/cli 0.6.43 → 0.6.44

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 (154) hide show
  1. package/dist/{add-BozeLSDp.mjs → add-DdnYESsM.mjs} +1 -1
  2. package/dist/{add-BxTKo0AP.mjs → add-DtOXWoex.mjs} +1 -1
  3. package/dist/{add-DEbKKl2m.mjs → add-R_rqMyyD.mjs} +1 -1
  4. package/dist/add.mjs +1 -1
  5. package/dist/{analyze-a11y-DOGoEm95.mjs → analyze-a11y-CsocO36h.mjs} +1 -1
  6. package/dist/{analyze-a11y-xRu7Gj3O.mjs → analyze-a11y-DV-YokPx.mjs} +1 -1
  7. package/dist/{analyze-a11y-BG_2IlWj.mjs → analyze-a11y-J6dirwVh.mjs} +1 -1
  8. package/dist/analyze-a11y.mjs +1 -1
  9. package/dist/bin.mjs +7 -7
  10. package/dist/{build-CHaPbEh9.mjs → build-BrMB4nUW.mjs} +1 -1
  11. package/dist/{build-hok40FYs.mjs → build-C8P8sx_t.mjs} +1 -1
  12. package/dist/{build-BWngTdxq.mjs → build-CcVIlG7K.mjs} +1 -1
  13. package/dist/{build-tokens-DoTRjYGI.mjs → build-tokens-BiPGXP22.mjs} +1 -1
  14. package/dist/{build-tokens-dAY1IzFp.mjs → build-tokens-CAdElm5R.mjs} +1 -1
  15. package/dist/{build-tokens-BG-5I_Re.mjs → build-tokens-CbTes6if.mjs} +1 -1
  16. package/dist/build-tokens.mjs +1 -1
  17. package/dist/build.mjs +1 -1
  18. package/dist/{changelog-CdTzfKPl.mjs → changelog-BPGnzV0b.mjs} +1 -1
  19. package/dist/{changelog-D948lAX5.mjs → changelog-CAiV7tSn.mjs} +1 -1
  20. package/dist/{changelog--mA46NPQ.mjs → changelog-CTYZRXjV.mjs} +1 -1
  21. package/dist/changelog.mjs +8 -1
  22. package/dist/{command-BQiRx0V2.mjs → command-CH6X9jSm.mjs} +1 -1
  23. package/dist/{command-CrVVzdIb.mjs → command-CKhtNmWy.mjs} +1 -1
  24. package/dist/{command-ovJfr-7p.mjs → command-Cy3tTjs_.mjs} +1 -1
  25. package/dist/completions-bash-config.mjs +1 -1
  26. package/dist/completions-bash-script.mjs +1 -1
  27. package/dist/completions-fish-config.mjs +1 -1
  28. package/dist/completions-fish-script.mjs +1 -1
  29. package/dist/completions-powershell-config.mjs +1 -1
  30. package/dist/completions-powershell-script.mjs +1 -1
  31. package/dist/completions-zsh-config.mjs +1 -1
  32. package/dist/completions-zsh-script.mjs +1 -1
  33. package/dist/{config-C0NySWOp.mjs → config-7PpCX3KB.mjs} +1 -1
  34. package/dist/{config-BTEtFESe.mjs → config-B1W3I5eo.mjs} +1 -1
  35. package/dist/{config-DKH0KZke.mjs → config-BeqZlu5q.mjs} +1 -1
  36. package/dist/{config-D-4XWqdy.mjs → config-Bo-d6arG.mjs} +1 -1
  37. package/dist/{config-DgCmn-6t.mjs → config-Bx8Ml2U8.mjs} +1 -1
  38. package/dist/{config-D96Z6YMW.mjs → config-CaKJaYtO.mjs} +1 -1
  39. package/dist/{config-Dd3sxk8f.mjs → config-D5EQLxeS.mjs} +1 -1
  40. package/dist/{config-D-wfjkCj.mjs → config-D6VmIKGf.mjs} +1 -1
  41. package/dist/{config-B0VIc3r6.mjs → config-D9jEUWtK.mjs} +1 -1
  42. package/dist/{config-D-sHZHqh.mjs → config-DBpENpZK.mjs} +1 -1
  43. package/dist/{config-B1hVFnE2.mjs → config-DfbrJSoz.mjs} +1 -1
  44. package/dist/{config-BkEC-uN3.mjs → config-DuJEhgev.mjs} +1 -1
  45. package/dist/{console-BoSaNepB.mjs → console-BEPh0W_t.mjs} +2 -2
  46. package/dist/{console-QBVwAeBp.mjs → console-C5ND4A-u.mjs} +2 -2
  47. package/dist/{console-s7AjbX7o.mjs → console-DqAgi61R.mjs} +2 -2
  48. package/dist/design-system-BICksh1M.mjs +1 -0
  49. package/dist/design-system-DPNO8zkF.mjs +1 -0
  50. package/dist/{diff-CVtb5dCP.mjs → diff-BaQ3BjJd.mjs} +1 -1
  51. package/dist/{diff-D86095Uj.mjs → diff-CKugOhRS.mjs} +1 -1
  52. package/dist/{diff-BvzJCS8L.mjs → diff-z17udnYp.mjs} +1 -1
  53. package/dist/diff.mjs +1 -1
  54. package/dist/{docs-Bp4ivFEY.mjs → docs-CjZubnSl.mjs} +1 -1
  55. package/dist/{docs-BrFebOWF.mjs → docs-DcWg_o92.mjs} +1 -1
  56. package/dist/{docs-B2Jiflns.mjs → docs-en30ZzeI.mjs} +1 -1
  57. package/dist/docs.mjs +1 -1
  58. package/dist/{guidelines-Dx4mvReW.mjs → guidelines-DvAIJl-y.mjs} +1 -1
  59. package/dist/{guidelines-zU0xpRWL.mjs → guidelines-kejO3KEF.mjs} +1 -1
  60. package/dist/{guidelines-Bxl1gVx6.mjs → guidelines-xFOv92v3.mjs} +1 -1
  61. package/dist/guidelines.mjs +1 -1
  62. package/dist/help.mjs +1 -1
  63. package/dist/{info-D3gCCjL1.mjs → info--J4uVzqo.mjs} +1 -1
  64. package/dist/{info-DbvVhm9h.mjs → info-B04iDHja.mjs} +1 -1
  65. package/dist/{info-BsEFzSpa.mjs → info-CoMTOw2-.mjs} +1 -1
  66. package/dist/info.mjs +1 -1
  67. package/dist/{init-BkvFc31P.mjs → init-DZTfrepw.mjs} +1 -1
  68. package/dist/{init-NJrHD4zT.mjs → init-QRby4Q2G.mjs} +1 -1
  69. package/dist/{init-BUm7_BmL.mjs → init-hq4i2qlh.mjs} +1 -1
  70. package/dist/init.mjs +1 -1
  71. package/dist/{list-components-DbtHvZ2Z.mjs → list-components-Bayga70f.mjs} +1 -1
  72. package/dist/{list-components-PnKtfPHk.mjs → list-components-CmeOthBD.mjs} +1 -1
  73. package/dist/{list-components-DZgmgFU7.mjs → list-components-DRarzeYw.mjs} +1 -1
  74. package/dist/list-components.mjs +1 -1
  75. package/dist/{list-fonts-Cx2BSncN.mjs → list-fonts-B-UYO5j-.mjs} +1 -1
  76. package/dist/{list-fonts-SimO8Dvp.mjs → list-fonts-BYEWu4wc.mjs} +1 -1
  77. package/dist/{list-fonts-C-u5dtAF.mjs → list-fonts-CGUQnI1j.mjs} +1 -1
  78. package/dist/list-fonts.mjs +1 -1
  79. package/dist/{list-icons-B9KW1iMk.mjs → list-icons-2veIHccQ.mjs} +1 -1
  80. package/dist/{list-icons-BZzhCG-G.mjs → list-icons-D6HfQtW4.mjs} +1 -1
  81. package/dist/{list-icons-B5qcaKO_.mjs → list-icons-sI4h_R2z.mjs} +1 -1
  82. package/dist/list-icons.mjs +1 -1
  83. package/dist/{list-tokens-1F_Bk3y5.mjs → list-tokens-Cgf9uOaC.mjs} +1 -1
  84. package/dist/{list-tokens-BZVgIO6V.mjs → list-tokens-DEN-dWxn.mjs} +1 -1
  85. package/dist/{list-tokens-BrzSLx2_.mjs → list-tokens-hJmi1HFC.mjs} +1 -1
  86. package/dist/list-tokens.mjs +1 -1
  87. package/dist/{mcp-BWAl5N6L.mjs → mcp-BrPfK605.mjs} +1 -1
  88. package/dist/{mcp-DzWYhJHo.mjs → mcp-BrhZLLx4.mjs} +1 -1
  89. package/dist/{mcp-twgl9ftS.mjs → mcp-uCgi40Ut.mjs} +1 -1
  90. package/dist/mcp.mjs +1 -1
  91. package/dist/{plan-BB3vxkX9.mjs → plan-3QSnXmIc.mjs} +1 -1
  92. package/dist/{plan-BdXZRN1V.mjs → plan-dzPXFy4K.mjs} +1 -1
  93. package/dist/{plan-D85c0pU9.mjs → plan-zCK44Onr.mjs} +1 -1
  94. package/dist/plan.mjs +1 -1
  95. package/dist/{prompts-B2kjH6kQ.mjs → prompts-BtsqdKOi.mjs} +1 -1
  96. package/dist/{prompts-DN8Q_v10.mjs → prompts-CDayRmID.mjs} +1 -1
  97. package/dist/{prompts-Dux2wXSI.mjs → prompts-D2LGgmMW.mjs} +1 -1
  98. package/dist/{registry-CIDmlOXn.mjs → registry-BN-WjopR.mjs} +1 -1
  99. package/dist/{registry-Czx390SE.mjs → registry-CDvu9FqP.mjs} +1 -1
  100. package/dist/{registry-UTNmNe6T.mjs → registry-EAwi6-5Y.mjs} +1 -1
  101. package/dist/registry-validate.mjs +1 -1
  102. package/dist/{script-C5oTcqrN.mjs → script-BK-5rL7j.mjs} +1 -1
  103. package/dist/{script-B1JnHFhl.mjs → script-BVe_Lme9.mjs} +1 -1
  104. package/dist/{script-CYQUhZZM.mjs → script-Bfnj6rIN.mjs} +1 -1
  105. package/dist/{script-CSJGn7Na.mjs → script-BzNjtKOs.mjs} +1 -1
  106. package/dist/{script-cFXJ1MAz.mjs → script-CNW9hY5v.mjs} +1 -1
  107. package/dist/{script-B2v4p_Rx.mjs → script-DOsR5tNw.mjs} +1 -1
  108. package/dist/{script-ClSSZ3FH.mjs → script-Da3ygUIn.mjs} +1 -1
  109. package/dist/{script-CHGCYDnN.mjs → script-FBmKGvt0.mjs} +1 -1
  110. package/dist/{script-DxZndYDl.mjs → script-POVFToxV.mjs} +1 -1
  111. package/dist/{script-C3LyZqDM.mjs → script-x8o1Q-G1.mjs} +1 -1
  112. package/dist/{script-BdhIttlj.mjs → script-xxBIOlmG.mjs} +1 -1
  113. package/dist/{script-7ArYJzbw.mjs → script-zEec1UC7.mjs} +1 -1
  114. package/dist/{search-DOOuG-xQ.mjs → search-CAbFZpWp.mjs} +1 -1
  115. package/dist/{search-Rsc3TmFY.mjs → search-Cn0bn2en.mjs} +1 -1
  116. package/dist/{search-CcoBCl_S.mjs → search-Dth6r-O5.mjs} +1 -1
  117. package/dist/{search-components-D2KgAzzB.mjs → search-components-CVfQvkBf.mjs} +1 -1
  118. package/dist/{search-components-DWkTNunN.mjs → search-components-CcoeinW-.mjs} +1 -1
  119. package/dist/{search-components-Bd7cdn6G.mjs → search-components-h7Xv-LSJ.mjs} +1 -1
  120. package/dist/search-components.mjs +1 -1
  121. package/dist/{search-fonts-Byb31ivS.mjs → search-fonts-Bt2x_2YF.mjs} +1 -1
  122. package/dist/{search-fonts-DngJ6-35.mjs → search-fonts-C4jKYBXh.mjs} +1 -1
  123. package/dist/{search-fonts-5i-27BjX.mjs → search-fonts-D8psn9-c.mjs} +1 -1
  124. package/dist/search-fonts.mjs +1 -1
  125. package/dist/{search-icons-Dg9RBV4u.mjs → search-icons-1pTvC_rO.mjs} +1 -1
  126. package/dist/{search-icons-cKuImFgw.mjs → search-icons-B0SS-jV3.mjs} +1 -1
  127. package/dist/{search-icons-CbHtfolX.mjs → search-icons-yOTHbhRP.mjs} +1 -1
  128. package/dist/search-icons.mjs +1 -1
  129. package/dist/{search-tokens-B2nvgbrI.mjs → search-tokens-CDqqdmJL.mjs} +1 -1
  130. package/dist/{search-tokens-CWxSqk5p.mjs → search-tokens-DFfhFa0x.mjs} +1 -1
  131. package/dist/{search-tokens-DCLK_imy.mjs → search-tokens-PG_navX9.mjs} +1 -1
  132. package/dist/search-tokens.mjs +1 -1
  133. package/dist/search.mjs +1 -1
  134. package/dist/{update-CsaC50PD.mjs → update-BHVCQ9-g.mjs} +1 -1
  135. package/dist/{update-D2KWd1rw.mjs → update-BdLM-pkO.mjs} +1 -1
  136. package/dist/{update-BfK2zGIS.mjs → update-CGYhvPVf.mjs} +1 -1
  137. package/dist/{update-Bv39zw4_.mjs → update-DOi2EfIV.mjs} +1 -1
  138. package/dist/{update-xqsVRvYd.mjs → update-DsJzev2C.mjs} +1 -1
  139. package/dist/{update-components-BuA08hd0.mjs → update-components-D9T0HZtz.mjs} +1 -1
  140. package/dist/{update-components-C8woJdi_.mjs → update-components-DkpM_kpb.mjs} +1 -1
  141. package/dist/{update-components-DVrYTZJM.mjs → update-components-M6ecC8pm.mjs} +1 -1
  142. package/dist/update-components.mjs +1 -1
  143. package/dist/{update-C8msDbX0.mjs → update-h6Rh3sjJ.mjs} +1 -1
  144. package/dist/update.mjs +1 -1
  145. package/dist/{validate-Bo5Kro4_.mjs → validate-B7rE9VDj.mjs} +1 -1
  146. package/dist/{validate-CILtEvJ3.mjs → validate-DfNNfZkZ.mjs} +1 -1
  147. package/dist/{validate-BLOuK-qc.mjs → validate-DfvlCM_U.mjs} +1 -1
  148. package/dist/{view-ByMIfaxg.mjs → view-BZ6tzxGP.mjs} +1 -1
  149. package/dist/{view-Cq2GDkUW.mjs → view-CO3T7S0X.mjs} +1 -1
  150. package/dist/{view-7Jbm7hLh.mjs → view-DIkxZc0T.mjs} +1 -1
  151. package/dist/view.mjs +1 -1
  152. package/package.json +4 -4
  153. package/dist/design-system-CLQyIyJK.mjs +0 -1
  154. package/dist/design-system-gNhIb1W-.mjs +0 -1
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-QBVwAeBp.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-C5ND4A-u.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-s7AjbX7o.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-DqAgi61R.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-BoSaNepB.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-BEPh0W_t.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`diff`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Diff Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/diff`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
package/dist/diff.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{a as e}from"./prompts-DN8Q_v10.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-BoSaNepB.mjs";import{t as x}from"./diff-BvzJCS8L.mjs";import{t as S}from"./update-C8msDbX0.mjs";import{i as C,r as w}from"./components-BjJGs9z0.mjs";import{a as T,u as E}from"./config-BwGb7RTa.mjs";import{resolve as D}from"node:path";async function O(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.42`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
1
+ import{a as e}from"./prompts-BtsqdKOi.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-C5ND4A-u.mjs";import{t as x}from"./diff-BaQ3BjJd.mjs";import{t as S}from"./update-CGYhvPVf.mjs";import{i as C,r as w}from"./components-BjJGs9z0.mjs";import{a as T,u as E}from"./config-BwGb7RTa.mjs";import{resolve as D}from"node:path";async function O(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.43`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
2
  `)}\n`;y(i,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Diff Components`).length+2))/2),0))+g(_.banner.command.primary(`Diff Components`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Diff Components`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Compare installed components with the registry.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!l()&&await t(n)}async function k(e,t=[]){let n=D(e.cwd??process.cwd()),r=await T(n),i=t.length>0?t:Object.keys(r.components);if(i.length===0)throw Error(`No installed components to compare.`);let a=await w(E(e.registry??r.registry),r,i,{root:n,overwrite:!0,dryRun:!0});c(C(a,n))}async function A(e=b()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`?/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)):(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)&&(/^--?(registry)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.registry=r.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.registry=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}let r=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|registry)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:r.push(e[t]);let o=[];return r.length>0&&(o=r.slice(0,r.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),a(`quiet`)||(await O(),await S()),!l()&&!a(`quiet`)&&(p(``),(i||h||n.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():u(`diff`,[`diff`],[t,o],k)}export{A as handler};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-QBVwAeBp.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-BEPh0W_t.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-s7AjbX7o.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-C5ND4A-u.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-BoSaNepB.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-DqAgi61R.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`docs`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Component Documentation command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/docs`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
package/dist/docs.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{a as e,r as t,t as n}from"./prompts-DN8Q_v10.mjs";import{F as r,G as i,H as a,J as o,L as s,M as c,N as l,O as u,R as d,U as f,V as p,g as m,j as h,k as g,l as _,n as v,q as y,t as b,w as x,x as S,y as C,z as w}from"./console-BoSaNepB.mjs";import{t as T}from"./docs-B2Jiflns.mjs";import{t as E}from"./update-C8msDbX0.mjs";import{i as D,l as O,u as k}from"./config-BwGb7RTa.mjs";import{resolve as A}from"node:path";async function j(t=500){if(a().get(`is-banner-displayed`)||s(`no-banner`)||s(`hide-banner`)||l)return;a().set(`is-banner-displayed`,!0),g(``),g(v.banner.outline.primary(`┏`)+v.banner.outline.primary(`━`.repeat(6))+` `+x.banner.header.primary(`⬤`)+` `+v.banner.outline.primary(`━`)+` `+b(x.banner.header.primary(`Cyclone CLI v0.6.42`))+` `+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+v.banner.outline.primary(`┓`),{consoleFn:console.log});let n=Math.max(...e.map(e=>S(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
1
+ import{a as e,r as t,t as n}from"./prompts-BtsqdKOi.mjs";import{F as r,G as i,H as a,J as o,L as s,M as c,N as l,O as u,R as d,U as f,V as p,g as m,j as h,k as g,l as _,n as v,q as y,t as b,w as x,x as S,y as C,z as w}from"./console-C5ND4A-u.mjs";import{t as T}from"./docs-DcWg_o92.mjs";import{t as E}from"./update-CGYhvPVf.mjs";import{i as D,l as O,u as k}from"./config-BwGb7RTa.mjs";import{resolve as A}from"node:path";async function j(t=500){if(a().get(`is-banner-displayed`)||s(`no-banner`)||s(`hide-banner`)||l)return;a().set(`is-banner-displayed`,!0),g(``),g(v.banner.outline.primary(`┏`)+v.banner.outline.primary(`━`.repeat(6))+` `+x.banner.header.primary(`⬤`)+` `+v.banner.outline.primary(`━`)+` `+b(x.banner.header.primary(`Cyclone CLI v0.6.43`))+` `+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-33,0)))+v.banner.outline.primary(`┓`),{consoleFn:console.log});let n=Math.max(...e.map(e=>S(e).length))>Math.max(h().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
2
  `)}\n`;C(n,Math.max(h().columns-30,20)).forEach(e=>{g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(e).length+2))/2),0))+b(x.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((h().columns-(S(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(`Component Documentation`).length+2))/2),0))+b(x.banner.command.primary(`Component Documentation`))+` `.repeat(Math.max(Math.ceil((h().columns-(S(`Component Documentation`).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),C(b(x.banner.description.primary(`Get documentation links for registry components. Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so.`)),Math.max(60>h().columns/2?h().columns-6:h().columns-30,20)).forEach(e=>{g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((h().columns-(S(e).length+2))/2),0))+x.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((h().columns-(S(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),g(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(h().columns-2,0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),g(v.banner.outline.primary(`┗`)+v.banner.outline.primary(`━`.repeat(Math.max(h().columns-32,0)))+` `+b(x.banner.footer.primary(`https://cyclone-ui.com`))+` `+v.banner.outline.primary(`━`.repeat(6))+v.banner.outline.primary(`┛`),{consoleFn:console.log}),g(``),c&&!d()&&await r(t)}async function M(e,t){let n=A(e.cwd??process.cwd()),r=await D(n),i=k(e.registry??r?.registry??`https://public.storm-cdn.com/cyclone-ui/registry`),a=await Promise.all(t.map(async e=>{let t=await i.components.get.query(e),n=O(t.name);return{name:t.name,description:t.description,url:`https://docs.stormsoftware.com/projects/cyclone-ui/components/${n}`}}));u(e.json?JSON.stringify(a,null,2):a.map(e=>`${e.name}: ${e.url}`).join(`
3
3
  `))}async function N(e=w()){let r={...p()};for(let t=0;t<e.slice(0).length;t++){let n=e[t].length>3&&e[t].startsWith(`--`)?`--${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`-${e[t].slice(1).replaceAll(`-`,``)}`:e[t];if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.cwd=n.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>t+1&&(r.cwd=e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)/^--?(registry)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.registry=n.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>t+1&&(r.registry=e[++t].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`){if(/^--?(json)=/.test(`-`+n.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=n.replace(/^--?(json)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();r.json=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else r.json=!0}}let a=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|registry)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:a.push(e[t]);let l=[];if(a.length>0&&(l=a.slice(0,a.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),s(`quiet`)||(await j(),await E()),!d()&&!s(`quiet`)&&(g(``),(o||y||i.LOG_LEVEL===`debug`)&&g(x.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),!c){let e=[];l?l.length===0&&e.push(`No values were provided to the required "components" array positional argument`):e.push(`Missing required "components" positional argument`)}else if(!d()&&(!l||l.length===0)){if(g(``),!l){let e=await t({message:`Please provide a value for the ${m(`components`)} argument`,description:`Component names to document.`,validate(e){return!e||e.trim()===``?`A value must be provided for this argument`:null}});if(n(e))return;l=e}else if(l.length===0){let e=await t({message:`Please provide one or more values for the ${m(`components`)} argument (values are separated by a \",\" character)`,description:`Component names to document.`,validate(e){if(!e||e.trim()===``)return`A value must be provided for this argument`;if(e.split(`,`).map(e=>e.trim()).filter(Boolean).length===0)return`At least one value must be provided for this argument`}});if(n(e))return;l=e.split(`,`).map(e=>e.trim()).filter(Boolean)}g(``);let e=[];l?l.length===0&&e.push(`No values were provided to the required "components" array positional argument`):e.push(`Missing required "components" positional argument`),e.length>0&&(_(`The following validation failures were found while processing the user provided input, and must be corrected before the ${m(`Component Documentation`)} command can be executed: \n\n${e.map(e=>` - `+e).join(`
4
4
  `)}`),r.help=!0)}return r.help?T():f(`docs`,[`docs`],[r,l],M)}export{N as handler};
@@ -1 +1 @@
1
- import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-s7AjbX7o.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
1
+ import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-C5ND4A-u.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-QBVwAeBp.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
1
+ import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-DqAgi61R.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-BoSaNepB.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
1
+ import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-BEPh0W_t.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.docs?a.tags.docs(n(` Docs `)):a.tags.default(n(` Docs `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`guidelines`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--limit <limit>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Maximum matches per term when searching (default: 1).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--terms <terms...>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Search terms matched against guideline keywords, titles and body (fuzzy).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the Guidelines command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/guidelines`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
@@ -1,2 +1,2 @@
1
- import{a as e}from"./prompts-DN8Q_v10.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,R as c,U as l,V as u,j as d,k as f,n as p,q as m,t as h,w as g,x as _,y as v,z as y}from"./console-BoSaNepB.mjs";import{t as b}from"./guidelines-Bxl1gVx6.mjs";import{t as x}from"./update-C8msDbX0.mjs";import{t as S}from"./design-system-CLQyIyJK.mjs";import{getGuidelines as C}from"@razorwind/shell-shock/runtime";async function w(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),f(``),f(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+g.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+h(g.banner.header.primary(`Cyclone CLI v0.6.42`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>_(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${e.join(`
1
+ import{a as e}from"./prompts-BtsqdKOi.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,R as c,U as l,V as u,j as d,k as f,n as p,q as m,t as h,w as g,x as _,y as v,z as y}from"./console-C5ND4A-u.mjs";import{t as b}from"./guidelines-DvAIJl-y.mjs";import{t as x}from"./update-CGYhvPVf.mjs";import{t as S}from"./design-system-BICksh1M.mjs";import{getGuidelines as C}from"@razorwind/shell-shock/runtime";async function w(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),f(``),f(p.banner.outline.primary(`┏`)+p.banner.outline.primary(`━`.repeat(6))+` `+g.banner.header.primary(`⬤`)+` `+p.banner.outline.primary(`━`)+` `+h(g.banner.header.primary(`Cyclone CLI v0.6.43`))+` `+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-33,0)))+p.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>_(e).length))>Math.max(d().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
2
  `)}\n`;v(i,Math.max(d().columns-30,20)).forEach(e=>{f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(e).length+2))/2),0))+h(g.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(_(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(`Guidelines`).length+2))/2),0))+h(g.banner.command.primary(`Guidelines`))+` `.repeat(Math.max(Math.ceil((d().columns-(_(`Guidelines`).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),v(h(g.banner.description.primary(`Return design-system guidelines as Markdown: an overview of the token groups, one section per component (with usage examples), typography, the design-system style guidelines, and any bundled guideline documents. Pass --terms to search; omit for the full set.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(_(e).length+2))/2),0))+g.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(_(e).length+2))/2),0))+p.banner.outline.primary(`┃`),{consoleFn:console.log})}),f(p.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+p.banner.outline.primary(`┃`),{consoleFn:console.log}),f(p.banner.outline.primary(`┗`)+p.banner.outline.primary(`━`.repeat(Math.max(d().columns-32,0)))+` `+h(g.banner.footer.primary(`https://cyclone-ui.com`))+` `+p.banner.outline.primary(`━`.repeat(6))+p.banner.outline.primary(`┛`),{consoleFn:console.log}),f(``),o&&!c()&&await t(n)}function T(e){process.stdout.write(`${typeof e==`string`?e:JSON.stringify(e,null,2)}\n`)}async function E(e){T(C(S,{terms:e.terms,limit:e.limit}))}async function D(e=y()){let t={...u(),terms:[],limit:1};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`terms=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`terms`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`terms=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`terms`)t.terms??=[],/^--?(terms)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.terms.push(...r.replace(/^--?(terms)=/,``).split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)):e.length>n+1&&t.terms.push(...e[++n].split(`,`).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`limit=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`limit`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`limit=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`limit`){if(/^--?(limit)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=Number(r.replace(/^--?(limit)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(e)||(t.limit=e)}else if(e.length>n+1){let r=Number(e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));Number.isNaN(r)||(t.limit=r)}}}return a(`quiet`)||(await w(),await x()),!c()&&!a(`quiet`)&&(f(``),(i||m||n.LOG_LEVEL===`debug`)&&f(g.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),o||t.limit&&Number.isNaN(t.limit)&&[].push(`Invalid numeric value provided for the "limit" option`),t.help?b():l(`guidelines`,[`guidelines`],[t],E)}export{D as handler};
package/dist/help.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{a as e}from"./prompts-DN8Q_v10.mjs";import{C as t,F as n,G as r,H as i,J as ee,L as a,M as o,N as s,R as c,U as te,V as l,_ as u,h as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-BoSaNepB.mjs";import{t as x}from"./update-C8msDbX0.mjs";import{a as S,i as C,n as w,o as T,r as E,s as D,t as O}from"./registry-Czx390SE.mjs";import{t as k}from"./add-BozeLSDp.mjs";import{t as A}from"./analyze-a11y-DOGoEm95.mjs";import{t as j}from"./build-BWngTdxq.mjs";import{t as M}from"./build-tokens-BG-5I_Re.mjs";import{t as N}from"./changelog-CdTzfKPl.mjs";import{t as P}from"./config-B1hVFnE2.mjs";import{t as F}from"./script-B1JnHFhl.mjs";import{t as I}from"./config-D-wfjkCj.mjs";import{t as L}from"./script-B2v4p_Rx.mjs";import{t as R}from"./config-D-4XWqdy.mjs";import{t as ne}from"./script-DxZndYDl.mjs";import{t as z}from"./config-D96Z6YMW.mjs";import{t as B}from"./script-CYQUhZZM.mjs";import{t as V}from"./diff-BvzJCS8L.mjs";import{t as H}from"./docs-B2Jiflns.mjs";import{t as U}from"./guidelines-Bxl1gVx6.mjs";import{t as W}from"./info-BsEFzSpa.mjs";import{t as G}from"./init-BkvFc31P.mjs";import{t as K}from"./list-components-DZgmgFU7.mjs";import{t as q}from"./list-fonts-Cx2BSncN.mjs";import{t as J}from"./list-icons-BZzhCG-G.mjs";import{t as Y}from"./list-tokens-1F_Bk3y5.mjs";import{t as X}from"./mcp-twgl9ftS.mjs";import{t as Z}from"./plan-BB3vxkX9.mjs";import{t as re}from"./validate-CILtEvJ3.mjs";import{t as ie}from"./search-DOOuG-xQ.mjs";import{t as ae}from"./search-components-D2KgAzzB.mjs";import{t as oe}from"./search-fonts-5i-27BjX.mjs";import{t as se}from"./search-icons-cKuImFgw.mjs";import{t as Q}from"./search-tokens-DCLK_imy.mjs";import{t as ce}from"./update-Bv39zw4_.mjs";import{t as le}from"./update-components-DVrYTZJM.mjs";import{t as ue}from"./view-7Jbm7hLh.mjs";async function de(t=500){if(i().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;i().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.42`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let r=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
1
+ import{a as e}from"./prompts-BtsqdKOi.mjs";import{C as t,F as n,G as r,H as i,J as ee,L as a,M as o,N as s,R as c,U as te,V as l,_ as u,h as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-C5ND4A-u.mjs";import{t as x}from"./update-CGYhvPVf.mjs";import{a as S,i as C,n as w,o as T,r as E,s as D,t as O}from"./registry-BN-WjopR.mjs";import{t as k}from"./add-DdnYESsM.mjs";import{t as A}from"./analyze-a11y-CsocO36h.mjs";import{t as j}from"./build-CcVIlG7K.mjs";import{t as M}from"./build-tokens-CbTes6if.mjs";import{t as N}from"./changelog-CTYZRXjV.mjs";import{t as P}from"./config-DBpENpZK.mjs";import{t as F}from"./script-zEec1UC7.mjs";import{t as I}from"./config-D6VmIKGf.mjs";import{t as L}from"./script-BzNjtKOs.mjs";import{t as R}from"./config-Bx8Ml2U8.mjs";import{t as ne}from"./script-BK-5rL7j.mjs";import{t as z}from"./config-DuJEhgev.mjs";import{t as B}from"./script-FBmKGvt0.mjs";import{t as V}from"./diff-BaQ3BjJd.mjs";import{t as H}from"./docs-DcWg_o92.mjs";import{t as U}from"./guidelines-DvAIJl-y.mjs";import{t as W}from"./info--J4uVzqo.mjs";import{t as G}from"./init-DZTfrepw.mjs";import{t as K}from"./list-components-Bayga70f.mjs";import{t as q}from"./list-fonts-CGUQnI1j.mjs";import{t as J}from"./list-icons-sI4h_R2z.mjs";import{t as Y}from"./list-tokens-Cgf9uOaC.mjs";import{t as X}from"./mcp-BrPfK605.mjs";import{t as Z}from"./plan-dzPXFy4K.mjs";import{t as re}from"./validate-DfNNfZkZ.mjs";import{t as ie}from"./search-CAbFZpWp.mjs";import{t as ae}from"./search-components-h7Xv-LSJ.mjs";import{t as oe}from"./search-fonts-D8psn9-c.mjs";import{t as se}from"./search-icons-yOTHbhRP.mjs";import{t as Q}from"./search-tokens-PG_navX9.mjs";import{t as ce}from"./update-BHVCQ9-g.mjs";import{t as le}from"./update-components-D9T0HZtz.mjs";import{t as ue}from"./view-DIkxZc0T.mjs";async function de(t=500){if(i().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;i().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.43`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let r=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
2
  `)}\n`;y(r,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Help`).length+2))/2),0))+g(_.banner.command.primary(`Help`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Help`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Display command usage details and other useful information to the user.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!c()&&await n(t)}function $(){p(`${g(_.heading.secondary(`Tags: `))} ${_.tags.utility?_.tags.utility(d(` Utility `)):_.tags.default(d(` Utility `))}`,{padding:0}),p(``),p(g(_.heading.secondary(`Usage:`))),p(_.body.secondary(`${_.usage.bin(`>_ cyclone-ui`)} ${_.usage.command(`help`)} ${_.usage.args(`<commands...>`)} ${_.usage.options(`[options]`)}`),{padding:0}),p(_.body.secondary(`${_.usage.bin(`>_ cyclone-ui`)} ${_.usage.command(`help`)} ${_.usage.options(`[options]`)} ${_.usage.args(`<commands...>`)}`),{padding:0}),p(``),p(g(_.heading.secondary(`Options:`))),t([[{value:_.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:_.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:_.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),p(``),p(_.body.tertiary(`More information can be found in the Help command documentation at ${u(`https://docs.cyclone-ui.com/reference/cli/help`)}${_.body.tertiary(`.`)}`),{padding:0}),p(``)}async function fe(e=[]){e.join(`/`).toLowerCase()===`add`?k():e.join(`/`).toLowerCase()===`analyze-a11y`?A():e.join(`/`).toLowerCase()===`build`?j():e.join(`/`).toLowerCase()===`build-tokens`?M():e.join(`/`).toLowerCase()===`changelog`?N():e.join(`/`).toLowerCase()===`completions`?T():e.join(`/`).toLowerCase()===`completions/bash`?S():e.join(`/`).toLowerCase()===`completions/bash/config`?P():e.join(`/`).toLowerCase()===`completions/bash/script`?F():e.join(`/`).toLowerCase()===`completions/fish`?C():e.join(`/`).toLowerCase()===`completions/fish/config`?I():e.join(`/`).toLowerCase()===`completions/fish/script`?L():e.join(`/`).toLowerCase()===`completions/powershell`?E():e.join(`/`).toLowerCase()===`completions/powershell/config`?R():e.join(`/`).toLowerCase()===`completions/powershell/script`?ne():e.join(`/`).toLowerCase()===`completions/zsh`?w():e.join(`/`).toLowerCase()===`completions/zsh/config`?z():e.join(`/`).toLowerCase()===`completions/zsh/script`?B():e.join(`/`).toLowerCase()===`diff`?V():e.join(`/`).toLowerCase()===`docs`?H():e.join(`/`).toLowerCase()===`guidelines`?U():e.join(`/`).toLowerCase()===`help`?$():e.join(`/`).toLowerCase()===`info`?W():e.join(`/`).toLowerCase()===`init`?G():e.join(`/`).toLowerCase()===`list-components`?K():e.join(`/`).toLowerCase()===`list-fonts`?q():e.join(`/`).toLowerCase()===`list-icons`?J():e.join(`/`).toLowerCase()===`list-tokens`?Y():e.join(`/`).toLowerCase()===`mcp`?X():e.join(`/`).toLowerCase()===`plan`?Z():e.join(`/`).toLowerCase()===`registry`?O():e.join(`/`).toLowerCase()===`registry/validate`?re():e.join(`/`).toLowerCase()===`search`?ie():e.join(`/`).toLowerCase()===`search-components`?ae():e.join(`/`).toLowerCase()===`search-fonts`?oe():e.join(`/`).toLowerCase()===`search-icons`?se():e.join(`/`).toLowerCase()===`search-tokens`?Q():e.join(`/`).toLowerCase()===`update`?ce():e.join(`/`).toLowerCase()===`update-components`?le():e.join(`/`).toLowerCase()===`view`?ue():D()}async function pe(e=b()){let t={...l()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];let n=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)||n.push(e[t]);let i=[];return n.length>0&&(i=n.slice(0,n.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),a(`quiet`)||(await de(),await x()),!c()&&!a(`quiet`)&&(p(``),(ee||h||r.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?$():te(`help`,[`help`],[i],fe)}export{pe as handler};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-s7AjbX7o.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-C5ND4A-u.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-QBVwAeBp.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-BEPh0W_t.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-BoSaNepB.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-DqAgi61R.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`info`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--json`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Output machine-readable JSON.`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Project Information command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/info`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
package/dist/info.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{a as e}from"./prompts-DN8Q_v10.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-BoSaNepB.mjs";import{t as x}from"./info-BsEFzSpa.mjs";import{t as S}from"./update-C8msDbX0.mjs";import{i as C,t as w}from"./config-BwGb7RTa.mjs";import{resolve as T}from"node:path";async function E(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.42`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
1
+ import{a as e}from"./prompts-BtsqdKOi.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,O as c,R as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-C5ND4A-u.mjs";import{t as x}from"./info--J4uVzqo.mjs";import{t as S}from"./update-CGYhvPVf.mjs";import{i as C,t as w}from"./config-BwGb7RTa.mjs";import{resolve as T}from"node:path";async function E(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.43`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
2
  `)}\n`;y(i,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Project Information`).length+2))/2),0))+g(_.banner.command.primary(`Project Information`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Project Information`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Show Cyclone UI project configuration and installed components.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!l()&&await t(n)}async function D(e){let t=T(e.cwd??process.cwd()),n=await C(t),r={root:t,configFile:n?T(t,w):null,registry:n?.registry??null,style:n?n.style??`tamagui`:null,componentPath:n?T(t,n.path):null,components:n?.components??{},agentInstructions:`Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so. Use components.json to identify the configured component path and installed files; copied source is not permission to edit it. This includes fixes, refactors, formatting, renaming, deleting, and registry updates or overwrites (including add --overwrite, update-components, and forced initialization). A request to build a feature, style a page, or fix an application does not authorize component changes. Prefer supported props, composition, application-owned wrappers, and theme configuration outside the installed components. If a component change is necessary, explain why and ask for specific instructions before changing it. When the user explicitly requests a component addition or change, keep it scoped and preserve unrelated installed files and local edits.`};e.json?c(JSON.stringify(r,null,2)):(p(`Project: ${r.root}`),p(`Configuration: ${r.configFile??`not initialized`}`),p(`Agent instructions: ${r.agentInstructions}`),n&&(p(`Registry: ${n.registry}`),p(`Style: ${r.style}`),p(`Components: ${Object.keys(n.components).join(`, `)||`none`}`)))}async function O(e=b()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`json=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`json`){if(/^--?(json)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(json)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.json=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.json=!0}}return a(`quiet`)||(await E(),await S()),!l()&&!a(`quiet`)&&(p(``),(i||h||n.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():u(`info`,[`info`],[t],D)}export{O as handler};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-BoSaNepB.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-C5ND4A-u.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-QBVwAeBp.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-DqAgi61R.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,k as n,t as r,w as i}from"./console-s7AjbX7o.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
1
+ import{C as e,_ as t,k as n,t as r,w as i}from"./console-BEPh0W_t.mjs";function a(){n(``),n(r(i.heading.secondary(`Usage:`))),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`init`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.args(`<components...>`)} ${i.usage.options(`[options]`)}`),{padding:0}),n(i.body.secondary(`${i.usage.bin(`>_ cyclone-ui`)} ${i.usage.command(`create`)} ${i.usage.options(`[options]`)} ${i.usage.args(`<components...>`)}`),{padding:0}),n(``),n(r(i.heading.secondary(`Options:`))),e([[{value:i.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--cwd <cwd>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`The working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--force`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Overwrite an existing Cyclone configuration.`),align:`left`,border:`none`}],[{value:i.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--path <path>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Component output path, relative to the working directory.`),align:`left`,border:`none`}],[{value:i.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`--registry <registry>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Registry URL.`),align:`left`,border:`none`}],[{value:i.body.primary(`--rsc`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable React Server Component support in components.`),align:`left`,border:`none`}],[{value:i.body.primary(`--silent`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Mute non-essential output.`),align:`left`,border:`none`}],[{value:i.body.primary(`--style <tamagui|tailwind>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary("Component styling: Tamagui style props, or `@tamagui/tailwind` class names where a component provides them."),align:`left`,border:`none`}],[{value:i.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:i.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:i.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),n(``),n(i.body.tertiary(`More information can be found in the Initialize command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/init`)}${i.body.tertiary(`.`)}`),{padding:0}),n(``)}export{a as t};
package/dist/init.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{a as e}from"./prompts-DN8Q_v10.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,R as c,S as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-BoSaNepB.mjs";import{t as x}from"./init-BkvFc31P.mjs";import{t as S}from"./update-C8msDbX0.mjs";import{r as C,t as w}from"./components-BjJGs9z0.mjs";import{n as T,o as E,r as D,s as O,t as k,u as A}from"./config-BwGb7RTa.mjs";import{resolve as j}from"node:path";import{mkdir as M}from"node:fs/promises";async function N(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.42`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
1
+ import{a as e}from"./prompts-BtsqdKOi.mjs";import{F as t,G as n,H as r,J as i,L as a,M as o,N as s,R as c,S as l,U as u,V as d,j as f,k as p,n as m,q as h,t as g,w as _,x as v,y,z as b}from"./console-C5ND4A-u.mjs";import{t as x}from"./init-DZTfrepw.mjs";import{t as S}from"./update-CGYhvPVf.mjs";import{r as C,t as w}from"./components-BjJGs9z0.mjs";import{n as T,o as E,r as D,s as O,t as k,u as A}from"./config-BwGb7RTa.mjs";import{resolve as j}from"node:path";import{mkdir as M}from"node:fs/promises";async function N(n=500){if(r().get(`is-banner-displayed`)||a(`no-banner`)||a(`hide-banner`)||s)return;r().set(`is-banner-displayed`,!0),p(``),p(m.banner.outline.primary(`┏`)+m.banner.outline.primary(`━`.repeat(6))+` `+_.banner.header.primary(`⬤`)+` `+m.banner.outline.primary(`━`)+` `+g(_.banner.header.primary(`Cyclone CLI v0.6.43`))+` `+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-33,0)))+m.banner.outline.primary(`┓`),{consoleFn:console.log});let i=Math.max(...e.map(e=>v(e).length))>Math.max(f().columns+30,20)?`Cyclone UI`:`\n${e.join(`
2
2
  `)}\n`;y(i,Math.max(f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+g(_.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(`Initialize`).length+2))/2),0))+g(_.banner.command.primary(`Initialize`))+` `.repeat(Math.max(Math.ceil((f().columns-(v(`Initialize`).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(_.banner.description.primary(`Initialize Cyclone UI in a project. Do not change installed or added Cyclone UI component files unless the user specifically instructs you to do so.`)),Math.max(60>f().columns/2?f().columns-6:f().columns-30,20)).forEach(e=>{p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((f().columns-(v(e).length+2))/2),0))+_.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((f().columns-(v(e).length+2))/2),0))+m.banner.outline.primary(`┃`),{consoleFn:console.log})}),p(m.banner.outline.primary(`┃`)+` `.repeat(Math.max(f().columns-2,0))+m.banner.outline.primary(`┃`),{consoleFn:console.log}),p(m.banner.outline.primary(`┗`)+m.banner.outline.primary(`━`.repeat(Math.max(f().columns-32,0)))+` `+g(_.banner.footer.primary(`https://cyclone-ui.com`))+` `+m.banner.outline.primary(`━`.repeat(6))+m.banner.outline.primary(`┛`),{consoleFn:console.log}),p(``),o&&!c()&&await t(n)}async function P(e,t=[]){let n=j(e.cwd??process.cwd()),r=j(n,k);if(await D(r)&&!e.force)throw Error(`${k} already exists. Re-run with --force to replace it.`);let i=T({registry:e.registry,path:e.path,rsc:e.rsc,style:e.style});if(await M(E(n,i.path),{recursive:!0}),t.length>0){let r=await C(A(i.registry),i,t,{root:n,overwrite:e.force});await w(i,r,{root:n,overwrite:e.force})}else await O(n,i);e.silent||l(`Initialized Cyclone UI in ${n}.`)}async function F(e=b()){let t={...d()};for(let n=0;n<e.slice(0).length;n++){let r=e[n].length>3&&e[n].startsWith(`--`)?`--${e[n].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[n].length>2&&e[n].startsWith(`-`)?`-${e[n].slice(1).replaceAll(`-`,``)}`:e[n];if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`cwd=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`cwd`)/^--?(cwd)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.cwd=r.replace(/^--?(cwd)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.cwd=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`path=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`path`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`path=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`path`)/^--?(path)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.path=r.replace(/^--?(path)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.path=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`registry=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`registry`)/^--?(registry)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.registry=r.replace(/^--?(registry)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.registry=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`rsc=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`rsc`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`rsc=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`rsc`){if(/^--?(rsc)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(rsc)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.rsc=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.rsc=!0}else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`style=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`style`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`style=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`style`)/^--?(style)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?t.style=r.replace(/^--?(style)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):e.length>n+1&&(t.style=e[++n].trim().replace(/^("|')/,``).replace(/("|')$/,``));else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`force=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`force`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`force=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`force`){if(/^--?(force)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(force)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.force=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.force=!0}else if(r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`silent=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`silent`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`silent=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`silent`){if(/^--?(silent)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(silent)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.silent=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else t.silent=!0}}let r=[];for(let t=3;t<e.length;t++)e[t].length>1&&e[t].startsWith(`-`)?!e[t].includes(`=`)&&/^(cwd|path|registry|style)$/.test(e[t].startsWith(`--`)?e[t].slice(2).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``):e[t].slice(1))&&t++:r.push(e[t]);let s=[];return r.length>0&&(s=r.slice(0,r.length-0).flatMap(e=>e.split(`,`)).map(e=>e.trim().replace(/^("|')/,``).replace(/("|')$/,``)).filter(Boolean)),a(`quiet`)||(await N(),await S()),!c()&&!a(`quiet`)&&(p(``),(i||h||n.LOG_LEVEL===`debug`)&&p(_.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),o||[`tamagui`,`tailwind`].includes(t.style)||[].push(`Invalid value provided for the \"style\" option - valid values include: tamagui and tailwind; provided: ${t.style}`),t.help?x():u(`init`,[`init`],[t,s],P)}export{F as handler};
@@ -1 +1 @@
1
- import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-QBVwAeBp.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.components?a.tags.components(n(` Components `)):a.tags.default(n(` Components `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`list-components`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the List Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/list-components`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
1
+ import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-C5ND4A-u.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.components?a.tags.components(n(` Components `)):a.tags.default(n(` Components `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`list-components`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the List Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/list-components`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-s7AjbX7o.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.components?a.tags.components(n(` Components `)):a.tags.default(n(` Components `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`list-components`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the List Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/list-components`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
1
+ import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-DqAgi61R.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.components?a.tags.components(n(` Components `)):a.tags.default(n(` Components `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`list-components`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the List Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/list-components`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
@@ -1 +1 @@
1
- import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-BoSaNepB.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.components?a.tags.components(n(` Components `)):a.tags.default(n(` Components `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`list-components`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the List Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/list-components`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};
1
+ import{C as e,_ as t,h as n,k as r,t as i,w as a}from"./console-BEPh0W_t.mjs";function o(){r(`${i(a.heading.secondary(`Tags: `))} ${a.tags.designSystem?a.tags.designSystem(n(` Design System `)):a.tags.default(n(` Design System `))} ${a.tags.components?a.tags.components(n(` Components `)):a.tags.default(n(` Components `))}`,{padding:0}),r(``),r(i(a.heading.secondary(`Usage:`))),r(a.body.secondary(`${a.usage.bin(`>_ cyclone-ui`)} ${a.usage.command(`list-components`)} ${a.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(a.heading.secondary(`Options:`))),e([[{value:a.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:a.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:a.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(a.body.tertiary(`More information can be found in the List Components command documentation at ${t(`https://docs.cyclone-ui.com/reference/cli/list-components`)}${a.body.tertiary(`.`)}`),{padding:0}),r(``)}export{o as t};