@cyclone-ui/cli 0.0.0-stage → 0.6.3

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 (82) hide show
  1. package/LICENSE +187 -0
  2. package/README.md +113 -2
  3. package/dist/add-4Ct1ECRe.mjs +1 -0
  4. package/dist/add.mjs +4 -0
  5. package/dist/analyze-a11y-D4BXOl5k.mjs +1 -0
  6. package/dist/analyze-a11y.mjs +2 -0
  7. package/dist/bin.mjs +9 -0
  8. package/dist/build-S4TNQCWg.mjs +1 -0
  9. package/dist/build.mjs +2 -0
  10. package/dist/changelog-A0_Ppa5s.mjs +1 -0
  11. package/dist/changelog.mjs +15 -0
  12. package/dist/completions-bash-config.mjs +6 -0
  13. package/dist/completions-bash-script.mjs +6 -0
  14. package/dist/completions-fish-config.mjs +6 -0
  15. package/dist/completions-fish-script.mjs +6 -0
  16. package/dist/completions-powershell-config.mjs +6 -0
  17. package/dist/completions-powershell-script.mjs +6 -0
  18. package/dist/completions-zsh-config.mjs +6 -0
  19. package/dist/completions-zsh-script.mjs +6 -0
  20. package/dist/components-CL5K9O-8.mjs +10 -0
  21. package/dist/config-BjzHI2jX.mjs +1 -0
  22. package/dist/config-CAv0VyPg.mjs +1 -0
  23. package/dist/config-D4XQ3gm9.mjs +1 -0
  24. package/dist/config-DUi0QjX_.mjs +1 -0
  25. package/dist/config-jcI737wh.mjs +1 -0
  26. package/dist/console-D_4G2UA-.mjs +20 -0
  27. package/dist/create-tokens-BjbYOiwy.mjs +1 -0
  28. package/dist/create-tokens.mjs +2 -0
  29. package/dist/design-system-DjvUB-NN.mjs +1 -0
  30. package/dist/diff-DzN2w7hv.mjs +1 -0
  31. package/dist/diff.mjs +2 -0
  32. package/dist/docs-CnfxeUaA.mjs +1 -0
  33. package/dist/docs.mjs +4 -0
  34. package/dist/guidelines-DIsxR2U5.mjs +1 -0
  35. package/dist/guidelines.mjs +2 -0
  36. package/dist/help.mjs +2 -0
  37. package/dist/info-ClmmNogH.mjs +1 -0
  38. package/dist/info.mjs +2 -0
  39. package/dist/init-udsV6Bj3.mjs +1 -0
  40. package/dist/init.mjs +2 -0
  41. package/dist/list-components-B51vNWex.mjs +1 -0
  42. package/dist/list-components.mjs +2 -0
  43. package/dist/list-fonts-CPbihu-x.mjs +1 -0
  44. package/dist/list-fonts.mjs +2 -0
  45. package/dist/list-icons-C20yG4GK.mjs +1 -0
  46. package/dist/list-icons.mjs +2 -0
  47. package/dist/list-tokens-Cd1ukzZq.mjs +1 -0
  48. package/dist/list-tokens.mjs +2 -0
  49. package/dist/local-registry-pqsOERYj.mjs +1 -0
  50. package/dist/mcp-zebQTrSp.mjs +1 -0
  51. package/dist/mcp.mjs +48 -0
  52. package/dist/plan-pV3QhIOh.mjs +1 -0
  53. package/dist/plan.mjs +2 -0
  54. package/dist/prompts-BwHSbA_H.mjs +8 -0
  55. package/dist/registry-BVdDswGJ.mjs +1 -0
  56. package/dist/registry-C95vaVW8.mjs +1 -0
  57. package/dist/registry-validate.mjs +2 -0
  58. package/dist/script-B1VhcRoz.mjs +1 -0
  59. package/dist/script-CN0WuqZt.mjs +1 -0
  60. package/dist/script-DMDQ2LKa.mjs +1 -0
  61. package/dist/script-Z-KdhlYx.mjs +1 -0
  62. package/dist/search-DNGsv9_x.mjs +1 -0
  63. package/dist/search-components-BGV0v7Hm.mjs +1 -0
  64. package/dist/search-components.mjs +3 -0
  65. package/dist/search-fonts-B_sLwDH3.mjs +1 -0
  66. package/dist/search-fonts.mjs +3 -0
  67. package/dist/search-icons-DqNldrjU.mjs +1 -0
  68. package/dist/search-icons.mjs +3 -0
  69. package/dist/search-tokens-D9Mdl0Mv.mjs +1 -0
  70. package/dist/search-tokens.mjs +3 -0
  71. package/dist/search.mjs +3 -0
  72. package/dist/shared-BHWQIq8h.mjs +216 -0
  73. package/dist/shared-BgKqmf2q.mjs +103 -0
  74. package/dist/shared-Bs-4ebiC.mjs +249 -0
  75. package/dist/shared-DgLETJ0V.mjs +235 -0
  76. package/dist/update-B-Dxpo9r.mjs +1 -0
  77. package/dist/update-C9x3xia0.mjs +1 -0
  78. package/dist/update.mjs +2 -0
  79. package/dist/validate-BNf83y5f.mjs +1 -0
  80. package/dist/view-D7FPS6ra.mjs +1 -0
  81. package/dist/view.mjs +3 -0
  82. package/package.json +100 -4
@@ -0,0 +1,6 @@
1
+ import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,T as u,U as d,V as f,_ as p,b as m,f as h,j as g,k as _,n as v,t as y,u as b,y as x,z as S}from"./console-D_4G2UA-.mjs";import{a as C}from"./prompts-BwHSbA_H.mjs";import{t as w}from"./update-C9x3xia0.mjs";import{n as T,t as E}from"./shared-Bs-4ebiC.mjs";import{t as D}from"./config-CAv0VyPg.mjs";import O from"node:os";import{join as k}from"node:path";import{readFile as A,writeFile as j}from"node:fs/promises";async function M(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||g)return;t().set(`is-banner-displayed`,!0),n(``),n(v.banner.outline.primary(`┏`)+v.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+v.banner.outline.primary(`━`)+` `+y(l.banner.header.primary(`Cyclone CLI v0.6.2`))+` `+v.banner.outline.primary(`━`.repeat(Math.max(_().columns-32,0)))+v.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...C.map(e=>x(e).length))>Math.max(_().columns+30,20)?`Cyclone User Interface`:`\n${C.join(`
2
+ `)}\n`;p(o,Math.max(_().columns-30,20)).forEach(e=>{n(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((_().columns-(x(e).length+2))/2),0))+y(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((_().columns-(x(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((_().columns-(x(`Completions - PowerShell Configuration`).length+2))/2),0))+y(l.banner.command.primary(`Completions - PowerShell Configuration`))+` `.repeat(Math.max(Math.ceil((_().columns-(x(`Completions - PowerShell Configuration`).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),p(y(l.banner.description.primary(`Update the current system's PowerShell configuration to include completions for the Cyclone User Interface command-line interface.`)),Math.max(60>_().columns/2?_().columns-6:_().columns-30,20)).forEach(e=>{n(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((_().columns-(x(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((_().columns-(x(e).length+2))/2),0))+v.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(v.banner.outline.primary(`┃`)+` `.repeat(Math.max(_().columns-2,0))+v.banner.outline.primary(`┃`),{consoleFn:console.log}),n(v.banner.outline.primary(`┗`)+v.banner.outline.primary(`━`.repeat(Math.max(_().columns-32,0)))+` `+y(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+v.banner.outline.primary(`━`.repeat(6))+v.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}async function N(e={},t=`~/.config/powershell/Microsoft.PowerShell_profile.ps1`){if(e.display!==!0){let e=t.includes(`.`)?t:k(t,`Microsoft.PowerShell_profile.ps1`);e.startsWith(`~`)&&(e=k(O.homedir(),e.replace(`~`,``)));let n=``;try{n=await A(e,`utf8`)}catch(t){if(typeof t==`object`&&t&&`code`in t&&t.code===`ENOENT`)u(`Configuration file ${y(e)} does not exist. It will be created when the completion script is written.`);else return{error:t}}await j(e,`${n}\n\n### Begin - Cyclone User Interface PowerShell Completions ###\n\n${E} \n\n### End - Cyclone User Interface PowerShell Completions ###`),m(`Cyclone User Interface shell completions have been applied to PowerShell configuration file at ${y(e)}. Please restart your terminal or run ${h(`source ${e}`)} for the changes to take effect.`)}else n(` ------------------------------------------------- `),n(``),n(`### Begin - Cyclone User Interface PowerShell Completions ###`),n(``),T.split(`
3
+ `).map(e=>n(e)),n(``),n(`### End - Cyclone User Interface PowerShell Completions ###`),n(``),n(` ------------------------------------------------- `),n(``),b(`To enable these completions, perform one of the following actions:
4
+
5
+ 1) Copy and paste the above script into your shell configuration file (e.g., ~/.config/powershell/Microsoft.PowerShell_profile.ps1)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function P(e=s()){let t={...S(),display:!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(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`){if(/^--?(display)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(display)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.display=!!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.display=!0}}let c=Math.max(0,e.slice(4).findIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,u=c>4?4:Math.max(0,e.slice(c).findLastIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,p=`~/.config/powershell/Microsoft.PowerShell_profile.ps1`;return u+0<e.length&&u+0!==c&&(p=e[u+0]),r(`quiet`)||(await M(),await w()),!a()&&!r(`quiet`)&&(n(``),(o||i||d.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?D():f(`completions/powershell/config`,[`completions`,`powershell`,`config`],[t,p],N)}export{P as handler};
@@ -0,0 +1,6 @@
1
+ import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-D_4G2UA-.mjs";import{a as y}from"./prompts-BwHSbA_H.mjs";import{t as b}from"./update-C9x3xia0.mjs";import{t as x}from"./script-Z-KdhlYx.mjs";import{n as S,t as C}from"./shared-Bs-4ebiC.mjs";import{writeFile as w}from"node:fs/promises";import{bold as T,help as E,success as D,writeLine as O}from"node:console";async function k(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.2`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone User Interface`:`\n${y.join(`
2
+ `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`Completions - PowerShell Script`).length+2))/2),0))+g(l.banner.command.primary(`Completions - PowerShell Script`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`Completions - PowerShell Script`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Generate a PowerShell completion script for the Cyclone User Interface command-line interface.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}async function A(e={},t=`./cyclone-ui-completions.ps1`){if(e.display!==!0){let e=t.includes(`.`)?`${t}.ps1`:t;await w(e,`# PowerShell script to add completions for Cyclone User Interface\n\n${C}`),D(`Cyclone User Interface PowerShell completion script has been generated at ${T(e)}.`)}else O(` ------------------------------------------------- `),O(``),O(`# PowerShell completions for Cyclone User Interface`),O(``),S.split(`
3
+ `).map(e=>O(e)),O(``),O(` ------------------------------------------------- `),O(``),E(`To enable these completions, perform one of the following actions:
4
+
5
+ 1) Copy and paste the above script into your shell configuration file (e.g., ~/.config/powershell/Microsoft.PowerShell_profile.ps1)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function j(e=s()){let t={...v(),display:!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(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`){if(/^--?(display)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(display)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.display=!!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.display=!0}}let c=Math.max(0,e.slice(4).findIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,f=c>4?4:Math.max(0,e.slice(c).findLastIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,p=`./cyclone-ui-completions.ps1`;return f+0<e.length&&f+0!==c&&(p=e[f+0]),r(`quiet`)||(await k(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():d(`completions/powershell/script`,[`completions`,`powershell`,`script`],[t,p],A)}export{j as handler};
@@ -0,0 +1,6 @@
1
+ import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-D_4G2UA-.mjs";import{a as y}from"./prompts-BwHSbA_H.mjs";import{t as b}from"./update-C9x3xia0.mjs";import{n as x,t as S}from"./shared-BHWQIq8h.mjs";import{t as C}from"./config-DUi0QjX_.mjs";import w from"node:os";import{join as T}from"node:path";import{readFile as E,writeFile as D}from"node:fs/promises";import{bold as O,help as k,inlineCode as A,success as j,warn as M,writeLine as N}from"node:console";async function P(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.2`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone User Interface`:`\n${y.join(`
2
+ `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`Completions - Zsh Configuration`).length+2))/2),0))+g(l.banner.command.primary(`Completions - Zsh Configuration`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`Completions - Zsh Configuration`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Update the current system's Zsh shell configuration to include completions for the Cyclone User Interface command-line interface.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}async function F(e={},t=`~/.zshrc`){if(e.display!==!0){let e=t.includes(`.`)?t:T(t,`.zshrc`);e.startsWith(`~`)&&(e=T(w.homedir(),e.replace(`~`,``)));let n=``;try{n=await E(e,`utf8`)}catch(t){if(typeof t==`object`&&t&&`code`in t&&t.code===`ENOENT`)M(`Configuration file ${O(e)} does not exist. It will be created when the completion script is written.`);else return{error:t}}await D(e,`${n}\n\n### Begin - Cyclone User Interface Shell Completions ###\n\n${S} \n\n### End - Cyclone User Interface Zsh Completions ###`),j(`Cyclone User Interface shell completions have been applied to Zsh configuration file at ${O(e)}. Please restart your terminal or run ${A(`source ${e}`)} for the changes to take effect.`)}else N(` ------------------------------------------------- `),N(``),N(`### Begin - Cyclone User Interface Zsh Completions ###`),N(``),x.split(`
3
+ `).map(e=>N(e)),N(``),N(`### End - Cyclone User Interface Zsh Completions ###`),N(``),N(` ------------------------------------------------- `),N(``),k(`To enable these completions, perform one of the following actions:
4
+
5
+ 1) Copy and paste the above script into your shell configuration file (e.g., ~/.config/zsh/.zshrc)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function I(e=s()){let t={...v(),display:!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(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`){if(/^--?(display)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(display)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.display=!!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.display=!0}}let c=Math.max(0,e.slice(4).findIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,f=c>4?4:Math.max(0,e.slice(c).findLastIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,p=`~/.zshrc`;return f+0<e.length&&f+0!==c&&(p=e[f+0]),r(`quiet`)||(await P(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?C():d(`completions/zsh/config`,[`completions`,`zsh`,`config`],[t,p],F)}export{I as handler};
@@ -0,0 +1,6 @@
1
+ import{A as e,B as t,D as n,F as r,G as i,I as a,K as o,L as s,N as c,S as l,U as u,V as d,_ as f,j as p,k as m,n as h,t as g,y as _,z as v}from"./console-D_4G2UA-.mjs";import{a as y}from"./prompts-BwHSbA_H.mjs";import{t as b}from"./update-C9x3xia0.mjs";import{t as x}from"./script-B1VhcRoz.mjs";import{n as S,t as C}from"./shared-BHWQIq8h.mjs";import{writeFile as w}from"node:fs/promises";import{bold as T,help as E,success as D,writeLine as O}from"node:console";async function k(i=500){if(t().get(`is-banner-displayed`)||r(`no-banner`)||r(`hide-banner`)||p)return;t().set(`is-banner-displayed`,!0),n(``),n(h.banner.outline.primary(`┏`)+h.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+h.banner.outline.primary(`━`)+` `+g(l.banner.header.primary(`Cyclone CLI v0.6.2`))+` `+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+h.banner.outline.primary(`┓`),{consoleFn:console.log});let o=Math.max(...y.map(e=>_(e).length))>Math.max(m().columns+30,20)?`Cyclone User Interface`:`\n${y.join(`
2
+ `)}\n`;f(o,Math.max(m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+g(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(`Completions - Zsh Script`).length+2))/2),0))+g(l.banner.command.primary(`Completions - Zsh Script`))+` `.repeat(Math.max(Math.ceil((m().columns-(_(`Completions - Zsh Script`).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),f(g(l.banner.description.primary(`Generate a Zsh completion script for the Cyclone User Interface command-line interface.`)),Math.max(60>m().columns/2?m().columns-6:m().columns-30,20)).forEach(e=>{n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((m().columns-(_(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((m().columns-(_(e).length+2))/2),0))+h.banner.outline.primary(`┃`),{consoleFn:console.log})}),n(h.banner.outline.primary(`┃`)+` `.repeat(Math.max(m().columns-2,0))+h.banner.outline.primary(`┃`),{consoleFn:console.log}),n(h.banner.outline.primary(`┗`)+h.banner.outline.primary(`━`.repeat(Math.max(m().columns-32,0)))+` `+g(l.banner.footer.primary(`https://cyclone-ui.com`))+` `+h.banner.outline.primary(`━`.repeat(6))+h.banner.outline.primary(`┛`),{consoleFn:console.log}),n(``),e&&!a()&&await c(i)}async function A(e={},t=`cyclone-ui-completions.zsh`){if(e.display!==!0){let e=t.includes(`.`)?`${t}.zsh`:t;await w(e,`# Zsh script to add completions for Cyclone User Interface\n\n${C}`),D(`Cyclone User Interface Zsh completion script has been generated at ${T(e)}.`)}else O(` ------------------------------------------------- `),O(``),O(`#compdef cyclone-ui `),O(`#compdef _cyclone_ui cyclone-ui`),O(``),O(`# Zsh completion for Cyclone User Interface`),O(``),S.split(`
3
+ `).map(e=>O(e)),O(``),O(` ------------------------------------------------- `),O(``),E(`To enable these completions, perform one of the following actions:
4
+
5
+ 1) Copy and paste the above script into your shell configuration file (e.g., ~/.config/zsh/.zshrc)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function j(e=s()){let t={...v(),display:!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(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`display=`)||r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`display`){if(/^--?(display)=/.test(`-`+r.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=r.replace(/^--?(display)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();t.display=!!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.display=!0}}let c=Math.max(0,e.slice(4).findIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,f=c>4?4:Math.max(0,e.slice(c).findLastIndex(e=>e.startsWith(`-`)&&/^(display)=?.*$/.test(e.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))))+4,p=`cyclone-ui-completions.zsh`;return f+0<e.length&&f+0!==c&&(p=e[f+0]),r(`quiet`)||(await k(),await b()),!a()&&!r(`quiet`)&&(n(``),(o||i||u.LOG_LEVEL===`debug`)&&n(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),t.help?x():d(`completions/zsh/script`,[`completions`,`zsh`,`script`],[t,p],A)}export{j as handler};
@@ -0,0 +1,10 @@
1
+ import{o as e,r as t,s as n}from"./config-D4XQ3gm9.mjs";import{t as r}from"./registry-C95vaVW8.mjs";import{dirname as i,relative as a,resolve as o}from"node:path";import{mkdir as s,readFile as c,writeFile as l}from"node:fs/promises";async function u(e,t){let n=/* @__PURE__ */ new Map,i=/* @__PURE__ */ new Set,a=async t=>{let o=r(t);if(n.has(o))return;if(i.has(o))throw Error(`Circular component dependency detected at \"${o}\"`);i.add(o);let s=await e.components.get.query(o);for(let e of s.internalDependencies)await a(e);i.delete(o),n.set(o,s)};for(let e of t)await a(e);return[...n.values()]}async function d(n,i,o,s){let l=await u(n,o),d=e(s.root,s.path??i.path),f=[];for(let n of l){let i=r(n.name);if(!/^[a-z0-9][a-z0-9._-]*$/i.test(i))throw Error(`Invalid component name received: ${n.name}`);for(let r of n.files){let n=e(d,i),o=e(n,r.name),l=await t(o)?await c(o,`utf8`):null,u=l===null?`create`:l===r.content?`unchanged`:`overwrite`;if(u===`overwrite`&&!s.overwrite&&!s.dryRun)throw Error(`${a(s.root,o)} already exists. Re-run with --overwrite to replace it.`);f.push({component:i,path:o,content:r.content,previousContent:l,status:u})}}return{components:l,files:f}}async function f(e,t,o){if(!o.dryRun){for(let e of t.files)e.status!==`unchanged`&&(await s(i(e.path),{recursive:!0}),await l(e.path,e.content,`utf8`));for(let n of t.components){let i=r(n.name);e.components[i]={version:n.version,files:t.files.filter(e=>e.component===i).map(e=>a(o.root,e.path))}}await p(o.root,t.components),await n(o.root,e)}}async function p(e,n){let r=o(e,`package.json`);if(!await t(r))return;let i=JSON.parse(await c(r,`utf8`)),a=new Set(n.map(e=>e.name)),s=Object.assign({},...n.map(e=>e.dependencies)),u=Object.assign({},...n.map(e=>e.devDependencies));i.dependencies??={},i.devDependencies??={};for(let[e,t]of Object.entries(s))!a.has(e)&&!e.startsWith(`@cyclone-ui/`)&&(i.dependencies[e]=m(t));for(let[e,t]of Object.entries(u))!a.has(e)&&!e.startsWith(`@cyclone-ui/`)&&(i.devDependencies[e]=m(t));await l(r,`${JSON.stringify(i,null,2)}\n`,`utf8`)}function m(e){return e.startsWith(`catalog:`)||e.startsWith(`workspace:`)?`latest`:e}function h(e,t){return e.files.map(e=>`${e.status.padEnd(9)} ${a(t,e.path)}`).join(`
2
+ `)}function g(e,t){let n=e.files.filter(e=>e.status!==`unchanged`);return n.length===0?`No differences found.`:n.map(e=>{let n=`--- ${e.previousContent===null?`/dev/null`:a(t,e.path)}\n+++ ${a(t,e.path)}`;return e.previousContent===null?`${n}\n${e.content.split(`
3
+ `).map(e=>`+${e}`).join(`
4
+ `)}`:`${n}\n${e.previousContent.split(`
5
+ `).map(e=>`-${e}`).join(`
6
+ `)}\n${e.content.split(`
7
+ `).map(e=>`+${e}`).join(`
8
+ `)}`}).join(`
9
+
10
+ `)}export{h as i,d as n,g as r,f as t};
@@ -0,0 +1 @@
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-D_4G2UA-.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`bash`)} ${t.usage.command(`config`)} ${t.usage.args(`<path>`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`bash`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)} ${t.usage.args(`<path>`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),e(``),e(t.body.tertiary(`More information can be found in the Completions - Bash Configuration command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/completions/bash/config`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -0,0 +1 @@
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-D_4G2UA-.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`powershell`)} ${t.usage.command(`config`)} ${t.usage.args(`<path>`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`powershell`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)} ${t.usage.args(`<path>`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),e(``),e(t.body.tertiary(`More information can be found in the Completions - PowerShell Configuration command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/completions/powershell/config`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -0,0 +1 @@
1
+ import{dirname as e,isAbsolute as t,relative as n,resolve as r}from"node:path";import{access as i,mkdir as a,readFile as o,writeFile as s}from"node:fs/promises";import{DEFAULT_REGISTRY_URL as c}from"@cyclone-ui/registry-api/client";const l=`components.json`;function u(e={}){return{registry:e.registry??c,path:e.path??`components`,components:{}}}async function d(e){try{return await i(e),!0}catch{return!1}}async function f(e){let t=r(e,l);if(!await d(t))return null;let n=JSON.parse(await o(t,`utf8`));if(!n||typeof n!=`object`||!(`registry`in n)||typeof n.registry!=`string`||!(`path`in n)||typeof n.path!=`string`||!(`components`in n)||!n.components||typeof n.components!=`object`||Array.isArray(n.components))throw Error(`${l} exists but is not a Cyclone UI configuration file`);return n}async function p(e){let t=await f(e);if(!t)throw Error(`No ${l} found. Run \"cyclone init\" first.`);return t}async function m(t,n){let i=r(t,l);await a(e(i),{recursive:!0}),await s(i,`${JSON.stringify(n,null,2)}\n`,`utf8`)}function h(e,i){let a=r(e),o=r(a,i),s=n(a,o);if(s.startsWith(`..`)||t(s))throw Error(`Refusing to write outside the project: ${i}`);return o}export{p as a,f as i,u as n,h as o,d as r,m as s,l as t};
@@ -0,0 +1 @@
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-D_4G2UA-.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`zsh`)} ${t.usage.command(`config`)} ${t.usage.args(`<path>`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`zsh`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)} ${t.usage.args(`<path>`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),e(``),e(t.body.tertiary(`More information can be found in the Completions - Zsh Configuration command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/completions/zsh/config`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};
@@ -0,0 +1 @@
1
+ import{D as e,S as t,h as n,p as r,t as i,x as a}from"./console-D_4G2UA-.mjs";function o(){e(`${i(t.heading.secondary(`Tags: `))} ${t.tags.utility?t.tags.utility(r(` Utility `)):t.tags.default(r(` Utility `))}`,{padding:0}),e(``),e(i(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`fish`)} ${t.usage.command(`config`)} ${t.usage.args(`<path>`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(t.body.secondary(`${t.usage.bin(`>_ cyclone-ui`)} ${t.usage.command(`completions`)} ${t.usage.command(`fish`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)} ${t.usage.args(`<path>`)}`),{padding:0}),e(``),e(i(t.heading.secondary(`Options:`))),a([[{value:t.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force colored terminal output (env: CYCLONE_UI_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: CYCLONE_UI_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Do not display the application banner displayed while running the CLI - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Force disable colored terminal output (env: CYCLONE_UI_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: CYCLONE_UI_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`--quiet`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Suppress command decorations and diagnostic messages (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Enable verbose output (env: CYCLONE_UI_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:t.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:t.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: CYCLONE_UI_YES, default: false).`),align:`left`,border:`none`}]]),e(``),e(t.body.tertiary(`More information can be found in the Completions - Fish Configuration command documentation at ${n(`https://docs.cyclone-ui.com/reference/cli/completions/fish/config`)}${t.body.tertiary(`.`)}`),{padding:0}),e(``)}export{o as t};