powerlines 0.47.123 → 0.47.125

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 (51) hide show
  1. package/bin/bin.mjs +9 -0
  2. package/bin/build-DLpROs1Y.mjs +1 -0
  3. package/bin/build.mjs +5 -0
  4. package/bin/changelog-BRROp0c_.mjs +1 -0
  5. package/bin/changelog.mjs +521 -0
  6. package/bin/clean-BK0v29iM.mjs +1 -0
  7. package/bin/clean.mjs +5 -0
  8. package/bin/completions-bash-config.mjs +9 -0
  9. package/bin/completions-bash-script.mjs +9 -0
  10. package/bin/completions-fish-config.mjs +9 -0
  11. package/bin/completions-fish-script.mjs +9 -0
  12. package/bin/completions-powershell-config.mjs +9 -0
  13. package/bin/completions-powershell-script.mjs +9 -0
  14. package/bin/completions-zsh-config.mjs +9 -0
  15. package/bin/completions-zsh-script.mjs +9 -0
  16. package/bin/config-CHoghPrR.mjs +1 -0
  17. package/bin/config-CY1Qq9ZH.mjs +1 -0
  18. package/bin/config-CmSSUBEW.mjs +1 -0
  19. package/bin/config-DVkCUl-v.mjs +1 -0
  20. package/bin/create-NSNAgFJY.mjs +1 -0
  21. package/bin/create-powerlines-DeMZsc3_.mjs +1 -0
  22. package/bin/create.mjs +5 -0
  23. package/bin/deploy-ULfMjQyY.mjs +1 -0
  24. package/bin/deploy.mjs +5 -0
  25. package/bin/docs-BchaiW6S.mjs +1 -0
  26. package/bin/docs.mjs +5 -0
  27. package/bin/gc-D7LfDJqD.mjs +1 -0
  28. package/bin/gc.mjs +7 -0
  29. package/bin/help.mjs +5 -0
  30. package/bin/lint-DgwBwH7Y.mjs +1 -0
  31. package/bin/lint.mjs +5 -0
  32. package/bin/prepare-BIckwpx0.mjs +1 -0
  33. package/bin/prepare.mjs +5 -0
  34. package/bin/prompts-BO1_kAkC.mjs +26 -0
  35. package/bin/script-DKzNu_a1.mjs +1 -0
  36. package/bin/script-DLuJ6_sY.mjs +1 -0
  37. package/bin/script-DNHmJ5AE.mjs +1 -0
  38. package/bin/script-Dj5dsyLK.mjs +1 -0
  39. package/bin/shared-6FTnkwEI.mjs +103 -0
  40. package/bin/shared-C7IWiq-2.mjs +235 -0
  41. package/bin/shared-Dhxn0TVd.mjs +216 -0
  42. package/bin/shared-e9pqDaa3.mjs +249 -0
  43. package/bin/types-Cj1dBpbF.mjs +1 -0
  44. package/bin/types.mjs +5 -0
  45. package/bin/upgrade-D7LbxJ-i.mjs +1 -0
  46. package/bin/upgrade-DoVBmRQU.mjs +1 -0
  47. package/bin/upgrade.mjs +5 -0
  48. package/bin/zsh-CT9O9pWB.mjs +3 -0
  49. package/dist/package.cjs +1 -1
  50. package/dist/package.mjs +1 -1
  51. package/package.json +7 -7
@@ -0,0 +1,9 @@
1
+ import{B as e,E as t,F as n,G as r,H as i,I as a,J as o,K as s,M as c,O as l,P as u,R as d,T as f,V as p,W as m,X as h,Z as g,a as _,g as v,o as y,u as b,w as x}from"./prompts-BO1_kAkC.mjs";import{t as S}from"./upgrade-D7LbxJ-i.mjs";import{n as C,t as w}from"./shared-6FTnkwEI.mjs";import{t as T}from"./script-DKzNu_a1.mjs";import{writeFile as E}from"node:fs/promises";async function D(t=500){if(r().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||a)return;r().set(`banner`,!0),c(``),c(y.banner.outline.primary(`┏`)+y.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+y.banner.outline.primary(`━`)+` `+_(l.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-36,0)))+y.banner.outline.primary(`┓`),{consoleFn:console.log});let i=[`Command-Line Interface`];x(Math.max(...i.map(e=>f(e).length))>Math.max(u().columns+30,20)?``:`\n${i.join(`
2
+ `)}\n`,Math.max(u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+_(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(`Completions - Bash Script`).length+2))/2),0))+_(l.banner.command.primary(`Completions - Bash Script`))+` `.repeat(Math.max(Math.ceil((u().columns-(f(`Completions - Bash Script`).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),x(_(l.banner.description.primary(`Generate a bash completion script for the command-line interface.`)),Math.max(60>u().columns/2?u().columns-6:u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(u().columns-2,0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),c(y.banner.outline.primary(`┗`)+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-35,0)))+` `+_(l.banner.footer.primary(`https://stormsoftware.com`))+` `+y.banner.outline.primary(`━`.repeat(6))+y.banner.outline.primary(`┛`),{consoleFn:console.log}),c(``),n&&!p()&&await d(t)}async function O(e={},n=`./cli-completions.bash`){if(e.display!==!0){let e=n.includes(`.`)?`${n}.bash`:n;await E(e,`# Bash script to add completions for Command Line Interface\n\n${w}`),t(`Command Line Interface Bash completion script has been generated at ${_(e)}.`)}else c(` ------------------------------------------------- `),c(``),c(`# Bash completion for Command Line Interface`),c(``),C.split(`
3
+ `).map(e=>c(e)),c(``),c(` ------------------------------------------------- `),c(``),v(`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., ~/.bashrc)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function k(e=i()){let t={...m()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await D(),await S(),c(``),(g||h||o.LOG_LEVEL===`debug`)&&(c(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),c(``),b(`Command path: completions / bash / script
7
+
8
+ Options:
9
+ `)),t.help?T():s(`completions/bash/script`,[`completions`,`bash`,`script`],[],O)}export{k as handler};
@@ -0,0 +1,9 @@
1
+ import{A as e,B as t,E as n,F as r,G as i,H as a,I as o,J as s,K as c,M as l,O as u,P as d,R as f,T as p,V as m,W as h,X as g,Z as _,a as v,g as y,o as b,u as x,v as S,w as C}from"./prompts-BO1_kAkC.mjs";import{t as w}from"./upgrade-D7LbxJ-i.mjs";import{t as T}from"./config-CHoghPrR.mjs";import{n as E,t as D}from"./shared-C7IWiq-2.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(e=500){if(i().get(`banner`)||t(`no-banner`)||t(`hide-banner`)||o)return;i().set(`banner`,!0),l(``),l(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+v(u.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-36,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let n=[`Command-Line Interface`];C(Math.max(...n.map(e=>p(e).length))>Math.max(d().columns+30,20)?``:`\n${n.join(`
2
+ `)}\n`,Math.max(d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+v(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(`Completions - Fish Configuration`).length+2))/2),0))+v(u.banner.command.primary(`Completions - Fish Configuration`))+` `.repeat(Math.max(Math.ceil((d().columns-(p(`Completions - Fish Configuration`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),C(v(u.banner.description.primary(`Update the current system's Fish shell configuration to include completions for the command-line interface.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),l(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-35,0)))+` `+v(u.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),l(``),r&&!m()&&await f(e)}async function N(t={},r=`~/.config/fish/config.fish`){if(t.display!==!0){let t=r.includes(`.`)?r:k(r,`.config`,`fish`,`config.fish`);t.startsWith(`~`)&&(t=k(O.homedir(),t.replace(`~`,``)));let i=``;try{i=await A(t,`utf8`)}catch(n){if(typeof n==`object`&&n&&`code`in n&&n.code===`ENOENT`)e(`Configuration file ${v(t)} does not exist. It will be created when the completion script is written.`);else return{error:n}}await j(t,`${i}\n\n### Begin - Command Line Interface Fish Completions ###\n\n${D} \n\n### End - Command Line Interface Fish Completions ###`),n(`Command Line Interface shell completions have been applied to Fish configuration file at ${v(t)}. Please restart your terminal or run ${S(`source ${t}`)} for the changes to take effect.`)}else l(` ------------------------------------------------- `),l(``),l(`### Begin - Command Line Interface Fish Completions ###`),l(``),E.split(`
3
+ `).map(e=>l(e)),l(``),l(`### End - Command Line Interface Fish Completions ###`),l(``),l(` ------------------------------------------------- `),l(``),y(`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/fish/config.fish)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function P(e=a()){let t={...h()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await M(),await w(),l(``),(_||g||s.LOG_LEVEL===`debug`)&&(l(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),l(``),x(`Command path: completions / fish / config
7
+
8
+ Options:
9
+ `)),t.help?T():c(`completions/fish/config`,[`completions`,`fish`,`config`],[],N)}export{P as handler};
@@ -0,0 +1,9 @@
1
+ import{B as e,E as t,F as n,G as r,H as i,I as a,J as o,K as s,M as c,O as l,P as u,R as d,T as f,V as p,W as m,X as h,Z as g,a as _,g as v,o as y,u as b,w as x}from"./prompts-BO1_kAkC.mjs";import{t as S}from"./upgrade-D7LbxJ-i.mjs";import{n as C,t as w}from"./shared-C7IWiq-2.mjs";import{t as T}from"./script-DNHmJ5AE.mjs";import{writeFile as E}from"node:fs/promises";async function D(t=500){if(r().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||a)return;r().set(`banner`,!0),c(``),c(y.banner.outline.primary(`┏`)+y.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+y.banner.outline.primary(`━`)+` `+_(l.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-36,0)))+y.banner.outline.primary(`┓`),{consoleFn:console.log});let i=[`Command-Line Interface`];x(Math.max(...i.map(e=>f(e).length))>Math.max(u().columns+30,20)?``:`\n${i.join(`
2
+ `)}\n`,Math.max(u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+_(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(`Completions - Fish Script`).length+2))/2),0))+_(l.banner.command.primary(`Completions - Fish Script`))+` `.repeat(Math.max(Math.ceil((u().columns-(f(`Completions - Fish Script`).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),x(_(l.banner.description.primary(`Generate a Fish completion script for the command-line interface.`)),Math.max(60>u().columns/2?u().columns-6:u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(u().columns-2,0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),c(y.banner.outline.primary(`┗`)+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-35,0)))+` `+_(l.banner.footer.primary(`https://stormsoftware.com`))+` `+y.banner.outline.primary(`━`.repeat(6))+y.banner.outline.primary(`┛`),{consoleFn:console.log}),c(``),n&&!p()&&await d(t)}async function O(e={},n=`./cli-completions.fish`){if(e.display!==!0){let e=n.includes(`.`)?`${n}.fish`:n;await E(e,`# Fish script to add completions for Command Line Interface\n\n${w}`),t(`Command Line Interface Fish completion script has been generated at ${_(e)}.`)}else c(` ------------------------------------------------- `),c(``),c(`# Fish completion for Command Line Interface`),c(``),C.split(`
3
+ `).map(e=>c(e)),c(``),c(` ------------------------------------------------- `),c(``),v(`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/fish/config.fish)
6
+ 2) Save the above script to a file and source it from your shell configuration file `)}async function k(e=i()){let t={...m()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await D(),await S(),c(``),(g||h||o.LOG_LEVEL===`debug`)&&(c(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),c(``),b(`Command path: completions / fish / script
7
+
8
+ Options:
9
+ `)),t.help?T():s(`completions/fish/script`,[`completions`,`fish`,`script`],[],O)}export{k as handler};
@@ -0,0 +1,9 @@
1
+ import{A as e,B as t,E as n,F as r,G as i,H as a,I as o,J as s,K as c,M as l,O as u,P as d,R as f,T as p,V as m,W as h,X as g,Z as _,a as v,g as y,o as b,u as x,v as S,w as C}from"./prompts-BO1_kAkC.mjs";import{t as w}from"./upgrade-D7LbxJ-i.mjs";import{t as T}from"./config-DVkCUl-v.mjs";import{n as E,t as D}from"./shared-e9pqDaa3.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(e=500){if(i().get(`banner`)||t(`no-banner`)||t(`hide-banner`)||o)return;i().set(`banner`,!0),l(``),l(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+v(u.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-36,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let n=[`Command-Line Interface`];C(Math.max(...n.map(e=>p(e).length))>Math.max(d().columns+30,20)?``:`\n${n.join(`
2
+ `)}\n`,Math.max(d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+v(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(`Completions - PowerShell Configuration`).length+2))/2),0))+v(u.banner.command.primary(`Completions - PowerShell Configuration`))+` `.repeat(Math.max(Math.ceil((d().columns-(p(`Completions - PowerShell Configuration`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),C(v(u.banner.description.primary(`Update the current system's PowerShell configuration to include completions for the command-line interface.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),l(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-35,0)))+` `+v(u.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),l(``),r&&!m()&&await f(e)}async function N(t={},r=`~/.config/powershell/Microsoft.PowerShell_profile.ps1`){if(t.display!==!0){let t=r.includes(`.`)?r:k(r,`Microsoft.PowerShell_profile.ps1`);t.startsWith(`~`)&&(t=k(O.homedir(),t.replace(`~`,``)));let i=``;try{i=await A(t,`utf8`)}catch(n){if(typeof n==`object`&&n&&`code`in n&&n.code===`ENOENT`)e(`Configuration file ${v(t)} does not exist. It will be created when the completion script is written.`);else return{error:n}}await j(t,`${i}\n\n### Begin - Command Line Interface PowerShell Completions ###\n\n${D} \n\n### End - Command Line Interface PowerShell Completions ###`),n(`Command Line Interface shell completions have been applied to PowerShell configuration file at ${v(t)}. Please restart your terminal or run ${S(`source ${t}`)} for the changes to take effect.`)}else l(` ------------------------------------------------- `),l(``),l(`### Begin - Command Line Interface PowerShell Completions ###`),l(``),E.split(`
3
+ `).map(e=>l(e)),l(``),l(`### End - Command Line Interface PowerShell Completions ###`),l(``),l(` ------------------------------------------------- `),l(``),y(`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=a()){let t={...h()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await M(),await w(),l(``),(_||g||s.LOG_LEVEL===`debug`)&&(l(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),l(``),x(`Command path: completions / powershell / config
7
+
8
+ Options:
9
+ `)),t.help?T():c(`completions/powershell/config`,[`completions`,`powershell`,`config`],[],N)}export{P as handler};
@@ -0,0 +1,9 @@
1
+ import{B as e,E as t,F as n,G as r,H as i,I as a,J as o,K as s,M as c,O as l,P as u,R as d,T as f,V as p,W as m,X as h,Z as g,a as _,g as v,o as y,u as b,w as x}from"./prompts-BO1_kAkC.mjs";import{t as S}from"./upgrade-D7LbxJ-i.mjs";import{n as C,t as w}from"./shared-e9pqDaa3.mjs";import{t as T}from"./script-Dj5dsyLK.mjs";import{writeFile as E}from"node:fs/promises";async function D(t=500){if(r().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||a)return;r().set(`banner`,!0),c(``),c(y.banner.outline.primary(`┏`)+y.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+y.banner.outline.primary(`━`)+` `+_(l.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-36,0)))+y.banner.outline.primary(`┓`),{consoleFn:console.log});let i=[`Command-Line Interface`];x(Math.max(...i.map(e=>f(e).length))>Math.max(u().columns+30,20)?``:`\n${i.join(`
2
+ `)}\n`,Math.max(u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+_(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(`Completions - PowerShell Script`).length+2))/2),0))+_(l.banner.command.primary(`Completions - PowerShell Script`))+` `.repeat(Math.max(Math.ceil((u().columns-(f(`Completions - PowerShell Script`).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),x(_(l.banner.description.primary(`Generate a PowerShell completion script for the command-line interface.`)),Math.max(60>u().columns/2?u().columns-6:u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(u().columns-2,0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),c(y.banner.outline.primary(`┗`)+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-35,0)))+` `+_(l.banner.footer.primary(`https://stormsoftware.com`))+` `+y.banner.outline.primary(`━`.repeat(6))+y.banner.outline.primary(`┛`),{consoleFn:console.log}),c(``),n&&!p()&&await d(t)}async function O(e={},n=`./cli-completions.ps1`){if(e.display!==!0){let e=n.includes(`.`)?`${n}.ps1`:n;await E(e,`# PowerShell script to add completions for Command Line Interface\n\n${w}`),t(`Command Line Interface PowerShell completion script has been generated at ${_(e)}.`)}else c(` ------------------------------------------------- `),c(``),c(`# PowerShell completions for Command Line Interface`),c(``),C.split(`
3
+ `).map(e=>c(e)),c(``),c(` ------------------------------------------------- `),c(``),v(`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 k(e=i()){let t={...m()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await D(),await S(),c(``),(g||h||o.LOG_LEVEL===`debug`)&&(c(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),c(``),b(`Command path: completions / powershell / script
7
+
8
+ Options:
9
+ `)),t.help?T():s(`completions/powershell/script`,[`completions`,`powershell`,`script`],[],O)}export{k as handler};
@@ -0,0 +1,9 @@
1
+ import{A as e,B as t,E as n,F as r,G as i,H as a,I as o,J as s,K as c,M as l,O as u,P as d,R as f,T as p,V as m,W as h,X as g,Z as _,a as v,g as y,o as b,u as x,v as S,w as C}from"./prompts-BO1_kAkC.mjs";import{t as w}from"./upgrade-D7LbxJ-i.mjs";import{n as T,t as E}from"./shared-Dhxn0TVd.mjs";import{t as D}from"./config-CmSSUBEW.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(e=500){if(i().get(`banner`)||t(`no-banner`)||t(`hide-banner`)||o)return;i().set(`banner`,!0),l(``),l(b.banner.outline.primary(`┏`)+b.banner.outline.primary(`━`.repeat(6))+` `+u.banner.header.primary(`⬤`)+` `+b.banner.outline.primary(`━`)+` `+v(u.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-36,0)))+b.banner.outline.primary(`┓`),{consoleFn:console.log});let n=[`Command-Line Interface`];C(Math.max(...n.map(e=>p(e).length))>Math.max(d().columns+30,20)?``:`\n${n.join(`
2
+ `)}\n`,Math.max(d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+v(u.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(`Completions - Zsh Configuration`).length+2))/2),0))+v(u.banner.command.primary(`Completions - Zsh Configuration`))+` `.repeat(Math.max(Math.ceil((d().columns-(p(`Completions - Zsh Configuration`).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),C(v(u.banner.description.primary(`Update the current system's Zsh shell configuration to include completions for the command-line interface.`)),Math.max(60>d().columns/2?d().columns-6:d().columns-30,20)).forEach(e=>{l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((d().columns-(p(e).length+2))/2),0))+u.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((d().columns-(p(e).length+2))/2),0))+b.banner.outline.primary(`┃`),{consoleFn:console.log})}),l(b.banner.outline.primary(`┃`)+` `.repeat(Math.max(d().columns-2,0))+b.banner.outline.primary(`┃`),{consoleFn:console.log}),l(b.banner.outline.primary(`┗`)+b.banner.outline.primary(`━`.repeat(Math.max(d().columns-35,0)))+` `+v(u.banner.footer.primary(`https://stormsoftware.com`))+` `+b.banner.outline.primary(`━`.repeat(6))+b.banner.outline.primary(`┛`),{consoleFn:console.log}),l(``),r&&!m()&&await f(e)}async function N(t={},r=`~/.zshrc`){if(t.display!==!0){let t=r.includes(`.`)?r:k(r,`.zshrc`);t.startsWith(`~`)&&(t=k(O.homedir(),t.replace(`~`,``)));let i=``;try{i=await A(t,`utf8`)}catch(n){if(typeof n==`object`&&n&&`code`in n&&n.code===`ENOENT`)e(`Configuration file ${v(t)} does not exist. It will be created when the completion script is written.`);else return{error:n}}await j(t,`${i}\n\n### Begin - Command Line Interface Shell Completions ###\n\n${E} \n\n### End - Command Line Interface Zsh Completions ###`),n(`Command Line Interface shell completions have been applied to Zsh configuration file at ${v(t)}. Please restart your terminal or run ${S(`source ${t}`)} for the changes to take effect.`)}else l(` ------------------------------------------------- `),l(``),l(`### Begin - Command Line Interface Zsh Completions ###`),l(``),T.split(`
3
+ `).map(e=>l(e)),l(``),l(`### End - Command Line Interface Zsh Completions ###`),l(``),l(` ------------------------------------------------- `),l(``),y(`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 P(e=a()){let t={...h()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await M(),await w(),l(``),(_||g||s.LOG_LEVEL===`debug`)&&(l(u.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),l(``),x(`Command path: completions / zsh / config
7
+
8
+ Options:
9
+ `)),t.help?D():c(`completions/zsh/config`,[`completions`,`zsh`,`config`],[],N)}export{P as handler};
@@ -0,0 +1,9 @@
1
+ import{B as e,E as t,F as n,G as r,H as i,I as a,J as o,K as s,M as c,O as l,P as u,R as d,T as f,V as p,W as m,X as h,Z as g,a as _,g as v,o as y,u as b,w as x}from"./prompts-BO1_kAkC.mjs";import{t as S}from"./upgrade-D7LbxJ-i.mjs";import{t as C}from"./script-DLuJ6_sY.mjs";import{n as w,t as T}from"./shared-Dhxn0TVd.mjs";import{writeFile as E}from"node:fs/promises";async function D(t=500){if(r().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||a)return;r().set(`banner`,!0),c(``),c(y.banner.outline.primary(`┏`)+y.banner.outline.primary(`━`.repeat(6))+` `+l.banner.header.primary(`⬤`)+` `+y.banner.outline.primary(`━`)+` `+_(l.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-36,0)))+y.banner.outline.primary(`┓`),{consoleFn:console.log});let i=[`Command-Line Interface`];x(Math.max(...i.map(e=>f(e).length))>Math.max(u().columns+30,20)?``:`\n${i.join(`
2
+ `)}\n`,Math.max(u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+_(l.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(`Completions - Zsh Script`).length+2))/2),0))+_(l.banner.command.primary(`Completions - Zsh Script`))+` `.repeat(Math.max(Math.ceil((u().columns-(f(`Completions - Zsh Script`).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),x(_(l.banner.description.primary(`Generate a Zsh completion script for the command-line interface.`)),Math.max(60>u().columns/2?u().columns-6:u().columns-30,20)).forEach(e=>{c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((u().columns-(f(e).length+2))/2),0))+l.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((u().columns-(f(e).length+2))/2),0))+y.banner.outline.primary(`┃`),{consoleFn:console.log})}),c(y.banner.outline.primary(`┃`)+` `.repeat(Math.max(u().columns-2,0))+y.banner.outline.primary(`┃`),{consoleFn:console.log}),c(y.banner.outline.primary(`┗`)+y.banner.outline.primary(`━`.repeat(Math.max(u().columns-35,0)))+` `+_(l.banner.footer.primary(`https://stormsoftware.com`))+` `+y.banner.outline.primary(`━`.repeat(6))+y.banner.outline.primary(`┛`),{consoleFn:console.log}),c(``),n&&!p()&&await d(t)}async function O(e={},n=`cli-completions.zsh`){if(e.display!==!0){let e=n.includes(`.`)?`${n}.zsh`:n;await E(e,`# Zsh script to add completions for Command Line Interface\n\n${T}`),t(`Command Line Interface Zsh completion script has been generated at ${_(e)}.`)}else c(` ------------------------------------------------- `),c(``),c(`#compdef cli `),c(`#compdef _cli cli`),c(``),c(`# Zsh completion for Command Line Interface`),c(``),w.split(`
3
+ `).map(e=>c(e)),c(``),c(` ------------------------------------------------- `),c(``),v(`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 k(e=i()){let t={...m()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await D(),await S(),c(``),(g||h||o.LOG_LEVEL===`debug`)&&(c(l.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),c(``),b(`Command path: completions / zsh / script
7
+
8
+ Options:
9
+ `)),t.help?C():s(`completions/zsh/script`,[`completions`,`zsh`,`script`],[],O)}export{k as handler};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`completions`)} ${t.usage.command(`fish`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`completions`)} ${t.usage.command(`bash`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`completions`)} ${t.usage.command(`zsh`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`completions`)} ${t.usage.command(`powershell`)} ${t.usage.command(`config`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`create`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
@@ -0,0 +1 @@
1
+ import{createPowerlines as e}from"powerlines/engine";var t=`0.2.40`;async function n(n){let r=await e(n);return r.context.info(`🔌 Powerlines Engine v${t||`1.0.0`} is running...`),r}export{n as t};
package/bin/create.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{t as b}from"./upgrade-D7LbxJ-i.mjs";import{t as x}from"./create-powerlines-DeMZsc3_.mjs";import{t as S}from"./create-NSNAgFJY.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Create Project`).length+2))/2),0))+g(c.banner.command.primary(`Create Project`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Create Project`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Create a new Powerlines project.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).create(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: create
3
+
4
+ Options:
5
+ `)),t.help?S():o(`create`,[`create`],[],w)}export{T as handler};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`deploy`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
package/bin/deploy.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{t as b}from"./upgrade-D7LbxJ-i.mjs";import{t as x}from"./create-powerlines-DeMZsc3_.mjs";import{t as S}from"./deploy-ULfMjQyY.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Deploy`).length+2))/2),0))+g(c.banner.command.primary(`Deploy`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Deploy`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Deploys the project and its generated assets/artifacts.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).deploy(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: deploy
3
+
4
+ Options:
5
+ `)),t.help?S():o(`deploy`,[`deploy`],[],w)}export{T as handler};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`docs`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
package/bin/docs.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{t as b}from"./upgrade-D7LbxJ-i.mjs";import{t as x}from"./create-powerlines-DeMZsc3_.mjs";import{t as S}from"./docs-BchaiW6S.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Generate Documentation`).length+2))/2),0))+g(c.banner.command.primary(`Generate Documentation`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Generate Documentation`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Generate documentation for the project's source code.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).docs(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: docs
3
+
4
+ Options:
5
+ `)),t.help?S():o(`docs`,[`docs`],[],w)}export{T as handler};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`gc`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
package/bin/gc.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{t as b}from"./upgrade-D7LbxJ-i.mjs";import{t as x}from"./create-powerlines-DeMZsc3_.mjs";import{t as S}from"./gc-D7LfDJqD.mjs";import{removeDirectory as C}from"@stryke/fs";async function w(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Garbage Collection`).length+2))/2),0))+g(c.banner.command.primary(`Garbage Collection`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Garbage Collection`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Perform garbage collection to clean up unnecessary system files based on the specified options. This can help free up disk space and improve system performance.
3
+
4
+ Note: The actual types of environment paths available for cleanup may vary based on the project's configuration and the underlying system's operating system.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function T(e={},t=`all`){let n=await x({root:process.cwd(),...e}),r=[];(t===`all`||t===`data`)&&r.push(n.context.envPaths.data),(t===`all`||t===`cache`)&&r.push(n.context.envPaths.cache),(t===`all`||t===`logs`)&&r.push(n.context.envPaths.log),(t===`all`||t===`temp`)&&r.push(n.context.envPaths.temp),await Promise.all(r.map(async e=>{await C(e)}))}async function E(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await w(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: gc
5
+
6
+ Options:
7
+ `)),t.help?S():o(`gc`,[`gc`],[],T)}export{E as handler};
package/bin/help.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{a as b,i as x,n as S,o as C,r as w,t as T}from"./zsh-CT9O9pWB.mjs";import{t as E}from"./types-Cj1dBpbF.mjs";import{t as D}from"./upgrade-D7LbxJ-i.mjs";import{t as O}from"./prepare-BIckwpx0.mjs";import{t as k}from"./lint-DgwBwH7Y.mjs";import{t as A}from"./gc-D7LfDJqD.mjs";import{t as j}from"./docs-BchaiW6S.mjs";import{t as M}from"./deploy-ULfMjQyY.mjs";import{t as N}from"./create-NSNAgFJY.mjs";import{t as P}from"./clean-BK0v29iM.mjs";import{t as F}from"./build-DLpROs1Y.mjs";import{t as I}from"./changelog-BRROp0c_.mjs";import{t as L}from"./config-CY1Qq9ZH.mjs";import{t as R}from"./script-DKzNu_a1.mjs";import{t as z}from"./config-CHoghPrR.mjs";import{t as B}from"./script-DNHmJ5AE.mjs";import{t as V}from"./config-DVkCUl-v.mjs";import{t as H}from"./script-Dj5dsyLK.mjs";import{t as U}from"./script-DLuJ6_sY.mjs";import{t as W}from"./config-CmSSUBEW.mjs";import{t as G}from"./upgrade-DoVBmRQU.mjs";async function K(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Help`).length+2))/2),0))+g(c.banner.command.primary(`Help`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Help`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Display command usage details and other useful information to the user.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}function q(){s(``),s(g(c.heading.secondary(`Usage:`))),s(c.body.secondary(`${c.usage.bin(`$_ cli`)} ${c.usage.command(`help`)} ${c.usage.options(`[options]`)}`),{padding:0}),s(``)}async function J(e=[]){e.join(`/`).toLowerCase()===`build`?F():e.join(`/`).toLowerCase()===`changelog`?I():e.join(`/`).toLowerCase()===`clean`?P():e.join(`/`).toLowerCase()===`completions`?b():e.join(`/`).toLowerCase()===`completions/bash`?x():e.join(`/`).toLowerCase()===`completions/bash/config`?L():e.join(`/`).toLowerCase()===`completions/bash/script`?R():e.join(`/`).toLowerCase()===`completions/fish`?w():e.join(`/`).toLowerCase()===`completions/fish/config`?z():e.join(`/`).toLowerCase()===`completions/fish/script`?B():e.join(`/`).toLowerCase()===`completions/powershell`?S():e.join(`/`).toLowerCase()===`completions/powershell/config`?V():e.join(`/`).toLowerCase()===`completions/powershell/script`?H():e.join(`/`).toLowerCase()===`completions/zsh`?T():e.join(`/`).toLowerCase()===`completions/zsh/config`?W():e.join(`/`).toLowerCase()===`completions/zsh/script`?U():e.join(`/`).toLowerCase()===`create`?N():e.join(`/`).toLowerCase()===`deploy`?M():e.join(`/`).toLowerCase()===`docs`?j():e.join(`/`).toLowerCase()===`gc`?A():e.join(`/`).toLowerCase()===`help`?q():e.join(`/`).toLowerCase()===`lint`?k():e.join(`/`).toLowerCase()===`prepare`?O():e.join(`/`).toLowerCase()===`types`?E():e.join(`/`).toLowerCase()===`upgrade`?G():C()}async function Y(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await K(),await D(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: help
3
+
4
+ Options:
5
+ `)),t.help?q():o(`help`,[`help`],[],J)}export{Y as handler};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`lint`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
package/bin/lint.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{t as b}from"./upgrade-D7LbxJ-i.mjs";import{t as x}from"./create-powerlines-DeMZsc3_.mjs";import{t as S}from"./lint-DgwBwH7Y.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Lint Source Code`).length+2))/2),0))+g(c.banner.command.primary(`Lint Source Code`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Lint Source Code`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Lint the project's source code for style and syntax errors.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).lint(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: lint
3
+
4
+ Options:
5
+ `)),t.help?S():o(`lint`,[`lint`],[],w)}export{T as handler};
@@ -0,0 +1 @@
1
+ import{M as e,O as t,a as n}from"./prompts-BO1_kAkC.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`prepare`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
@@ -0,0 +1,5 @@
1
+ import{B as e,F as t,G as n,H as r,I as i,J as a,K as o,M as s,O as c,P as l,R as u,T as d,V as f,W as p,X as m,Z as h,a as g,o as _,u as v,w as y}from"./prompts-BO1_kAkC.mjs";import{t as b}from"./upgrade-D7LbxJ-i.mjs";import{t as x}from"./create-powerlines-DeMZsc3_.mjs";import{t as S}from"./prepare-BIckwpx0.mjs";async function C(r=500){if(n().get(`banner`)||e(`no-banner`)||e(`hide-banner`)||i)return;n().set(`banner`,!0),s(``),s(_.banner.outline.primary(`┏`)+_.banner.outline.primary(`━`.repeat(6))+` `+c.banner.header.primary(`⬤`)+` `+_.banner.outline.primary(`━`)+` `+g(c.banner.header.primary(`Powerlines CLI v0.2.40`))+` `+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-36,0)))+_.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`Command-Line Interface`];y(Math.max(...a.map(e=>d(e).length))>Math.max(l().columns+30,20)?``:`\n${a.join(`
2
+ `)}\n`,Math.max(l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+g(c.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(`Prepare Artifacts`).length+2))/2),0))+g(c.banner.command.primary(`Prepare Artifacts`))+` `.repeat(Math.max(Math.ceil((l().columns-(d(`Prepare Artifacts`).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),y(g(c.banner.description.primary(`Generate the project's required build and deployment artifacts.`)),Math.max(60>l().columns/2?l().columns-6:l().columns-30,20)).forEach(e=>{s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((l().columns-(d(e).length+2))/2),0))+c.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((l().columns-(d(e).length+2))/2),0))+_.banner.outline.primary(`┃`),{consoleFn:console.log})}),s(_.banner.outline.primary(`┃`)+` `.repeat(Math.max(l().columns-2,0))+_.banner.outline.primary(`┃`),{consoleFn:console.log}),s(_.banner.outline.primary(`┗`)+_.banner.outline.primary(`━`.repeat(Math.max(l().columns-35,0)))+` `+g(c.banner.footer.primary(`https://stormsoftware.com`))+` `+_.banner.outline.primary(`━`.repeat(6))+_.banner.outline.primary(`┛`),{consoleFn:console.log}),s(``),t&&!f()&&await u(r)}async function w(e){await(await x(e)).prepare(e)}async function T(e=r()){let t={...p()};for(let t=0;t<e.slice(0).length;t++)e[t].length>3&&e[t].startsWith(`--`)?`${e[t].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:e[t].length>2&&e[t].startsWith(`-`)?`${e[t].slice(1).replaceAll(`-`,``)}`:e[t];return await C(),await b(),s(``),(h||m||a.LOG_LEVEL===`debug`)&&(s(c.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`)),s(``),v(`Command path: prepare
3
+
4
+ Options:
5
+ `)),t.help?S():o(`prepare`,[`prepare`],[],w)}export{T as handler};