powerlines 0.47.126 → 0.47.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/bin.mjs +7 -7
- package/bin/build-BIaIu9Y5.mjs +1 -0
- package/bin/build.mjs +2 -5
- package/bin/changelog-E-js0BZb.mjs +1 -0
- package/bin/changelog.mjs +243 -246
- package/bin/clean-BiN7vXZE.mjs +1 -0
- package/bin/clean.mjs +2 -5
- package/bin/completions-bash-config.mjs +5 -7
- package/bin/completions-bash-script.mjs +5 -7
- package/bin/completions-fish-config.mjs +5 -7
- package/bin/completions-fish-script.mjs +5 -7
- package/bin/completions-powershell-config.mjs +5 -7
- package/bin/completions-powershell-script.mjs +5 -7
- package/bin/completions-zsh-config.mjs +5 -7
- package/bin/completions-zsh-script.mjs +5 -7
- package/bin/config-8bmAaNQ2.mjs +1 -0
- package/bin/config-BYunqLZD.mjs +1 -0
- package/bin/config-Dlyzcim5.mjs +1 -0
- package/bin/config-RZsaJtzu.mjs +1 -0
- package/bin/create-BoPKM4sQ.mjs +1 -0
- package/bin/create.mjs +3 -5
- package/bin/deploy-Dpv_gBUF.mjs +1 -0
- package/bin/deploy.mjs +2 -5
- package/bin/docs-B3Vy9nmT.mjs +1 -0
- package/bin/docs.mjs +2 -5
- package/bin/gc-yhl6Wc1U.mjs +1 -0
- package/bin/gc.mjs +3 -7
- package/bin/help.mjs +3 -5
- package/bin/lint-C82qnP4x.mjs +1 -0
- package/bin/lint.mjs +2 -5
- package/bin/prepare-x9Bix5FR.mjs +1 -0
- package/bin/prepare.mjs +2 -5
- package/bin/prompts-DEjU8qNL.mjs +26 -0
- package/bin/script-Bx-gKDHc.mjs +1 -0
- package/bin/script-CXB3vetH.mjs +1 -0
- package/bin/script-CYWDQkcZ.mjs +1 -0
- package/bin/script-l5WTGeVn.mjs +1 -0
- package/bin/{shared-D6Uc3liR.mjs → shared-C3VdzOJx.mjs} +5 -5
- package/bin/{shared-BiFPKQIb.mjs → shared-D6KGuDvi.mjs} +69 -69
- package/bin/{shared-CLQvIZ7z.mjs → shared-R0IeF6M6.mjs} +34 -34
- package/bin/{shared-ClfTGQiY.mjs → shared-rXffwFNh.mjs} +29 -29
- package/bin/types-BnaNJFgJ.mjs +1 -0
- package/bin/types.mjs +2 -5
- package/bin/update-275UZsT_.mjs +1 -0
- package/bin/update-DcBNIEnv.mjs +1 -0
- package/bin/update.mjs +2 -0
- package/bin/zsh-Bf6VX2tW.mjs +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +8 -8
- package/bin/build-CJIAgNA5.mjs +0 -1
- package/bin/changelog-d-cmenYB.mjs +0 -1
- package/bin/clean-dutxbMO3.mjs +0 -1
- package/bin/config-B0hTZO6E.mjs +0 -1
- package/bin/config-BJFVoVkf.mjs +0 -1
- package/bin/config-BaNVYrnl.mjs +0 -1
- package/bin/config-Bf2LnULJ.mjs +0 -1
- package/bin/create-DYKxyvzg.mjs +0 -1
- package/bin/deploy-BMhOgvx4.mjs +0 -1
- package/bin/docs-CAUeTrLz.mjs +0 -1
- package/bin/gc-DZjHvUuc.mjs +0 -1
- package/bin/lint-DdDmoyDN.mjs +0 -1
- package/bin/prepare-Yz_6EWzB.mjs +0 -1
- package/bin/prompts-BnlPjHFR.mjs +0 -26
- package/bin/script-B97oHT_M.mjs +0 -1
- package/bin/script-Bn4yCHJR.mjs +0 -1
- package/bin/script-DGDOPq0P.mjs +0 -1
- package/bin/script-Di-8LIT0.mjs +0 -1
- package/bin/types-BhiTsmcq.mjs +0 -1
- package/bin/upgrade-aCJAI3aA.mjs +0 -1
- package/bin/upgrade-yP6Jdrm0.mjs +0 -1
- package/bin/upgrade.mjs +0 -5
- package/bin/zsh-Cve0Syog.mjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{C as e,
|
|
1
|
+
import{C as e,P as t,S as n,T as r,a as i,c as a,d as o,h as s,l as c,m as l,p as u,w as d}from"./prompts-DEjU8qNL.mjs";const f=`# powershell completion for Powerlines
|
|
2
2
|
|
|
3
3
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
4
|
-
function
|
|
4
|
+
function __powerlines_debug {
|
|
5
5
|
if ($env:BASH_COMP_DEBUG_FILE) {
|
|
6
6
|
"$args" | Out-File -Append -FilePath "$env:BASH_COMP_DEBUG_FILE"
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
filter
|
|
10
|
+
filter __powerlines_escapeStringWithSpecialChars {
|
|
11
11
|
$_ -replace 's|#|@|$|;|,|''|{|}|(|)|"|||<|>|&','\`$&'
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
[scriptblock]$
|
|
14
|
+
[scriptblock]$__powerlinesCompleterBlock = {
|
|
15
15
|
param(
|
|
16
16
|
$WordToComplete,
|
|
17
17
|
$CommandAst,
|
|
@@ -22,9 +22,9 @@ param(
|
|
|
22
22
|
$Command = $CommandAst.CommandElements
|
|
23
23
|
$Command = "$Command"
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
__powerlines_debug ""
|
|
26
|
+
__powerlines_debug "========= starting completion logic =========="
|
|
27
|
+
__powerlines_debug "WordToComplete: $WordToComplete Command: $Command CursorPosition: $CursorPosition"
|
|
28
28
|
|
|
29
29
|
# The user could have moved the cursor backwards on the command-line.
|
|
30
30
|
# We need to trigger completion from the $CursorPosition location, so we need
|
|
@@ -34,7 +34,7 @@ __cli_debug "WordToComplete: $WordToComplete Command: $Command CursorPosition: $
|
|
|
34
34
|
if ($Command.Length -gt $CursorPosition) {
|
|
35
35
|
$Command = $Command.Substring(0, $CursorPosition)
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
__powerlines_debug "Truncated command: $Command"
|
|
38
38
|
|
|
39
39
|
$ShellCompDirectiveError=1
|
|
40
40
|
$ShellCompDirectiveNoSpace=2
|
|
@@ -48,10 +48,10 @@ $ShellCompDirectiveKeepOrder=32
|
|
|
48
48
|
$Program, $Arguments = $Command.Split(" ", 2)
|
|
49
49
|
|
|
50
50
|
$QuotedArgs = ($Arguments -split ' ' | ForEach-Object { "'" + ($_ -replace "'", "''") + "'" }) -join ' '
|
|
51
|
-
|
|
51
|
+
__powerlines_debug "QuotedArgs: $QuotedArgs"
|
|
52
52
|
|
|
53
53
|
$RequestComp = "& /nix/store/8spcnffxayf4h9v8w075j01bxxgv5c8j-nodejs-slim-26.3.0/bin/node /home/runner/work/powerlines/powerlines/node_modules/.pnpm/nx@22.7.5_@swc-node+register@1.11.1_@swc+core@1.15.40_@swc+helpers@0.5.23__@swc+types@0_559e3db9ab82faa3b71ca2061041f3f6/node_modules/nx/dist/bin/run-executor.js complete '--' $QuotedArgs"
|
|
54
|
-
|
|
54
|
+
__powerlines_debug "RequestComp: $RequestComp"
|
|
55
55
|
|
|
56
56
|
# we cannot use $WordToComplete because it
|
|
57
57
|
# has the wrong values if the cursor was moved
|
|
@@ -59,13 +59,13 @@ __cli_debug "RequestComp: $RequestComp"
|
|
|
59
59
|
if ($WordToComplete -ne "" ) {
|
|
60
60
|
$WordToComplete = $Arguments.Split(" ")[-1]
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
__powerlines_debug "New WordToComplete: $WordToComplete"
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
# Check for flag with equal sign
|
|
66
66
|
$IsEqualFlag = ($WordToComplete -Like "--*=*" )
|
|
67
67
|
if ( $IsEqualFlag ) {
|
|
68
|
-
|
|
68
|
+
__powerlines_debug "Completing equal sign flag"
|
|
69
69
|
# Remove the flag part
|
|
70
70
|
$Flag, $WordToComplete = $WordToComplete.Split("=", 2)
|
|
71
71
|
}
|
|
@@ -73,7 +73,7 @@ if ( $IsEqualFlag ) {
|
|
|
73
73
|
if ( $WordToComplete -eq "" -And ( -Not $IsEqualFlag )) {
|
|
74
74
|
# If the last parameter is complete (there is a space following it)
|
|
75
75
|
# We add an extra empty parameter so we can indicate this to the go method.
|
|
76
|
-
|
|
76
|
+
__powerlines_debug "Adding extra empty parameter"
|
|
77
77
|
# PowerShell 7.2+ changed the way how the arguments are passed to executables,
|
|
78
78
|
# so for pre-7.2 or when Legacy argument passing is enabled we need to use
|
|
79
79
|
if ($PSVersionTable.PsVersion -lt [version]'7.2.0' -or
|
|
@@ -86,7 +86,7 @@ if ( $WordToComplete -eq "" -And ( -Not $IsEqualFlag )) {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
__powerlines_debug "Calling $RequestComp"
|
|
90
90
|
# First disable ActiveHelp which is not supported for Powershell
|
|
91
91
|
$env:ActiveHelp = 0
|
|
92
92
|
|
|
@@ -100,14 +100,14 @@ if ($Directive -eq "") {
|
|
|
100
100
|
# There is no directive specified
|
|
101
101
|
$Directive = 0
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
__powerlines_debug "The completion directive is: $Directive"
|
|
104
104
|
|
|
105
105
|
# remove directive (last element) from out
|
|
106
106
|
$Out = $Out | Where-Object { $_ -ne $Out[-1] }
|
|
107
|
-
|
|
107
|
+
__powerlines_debug "The completions are: $Out"
|
|
108
108
|
if (($Directive -band $ShellCompDirectiveError) -ne 0 ) {
|
|
109
109
|
# Error code. No completion.
|
|
110
|
-
|
|
110
|
+
__powerlines_debug "Received error from custom completion go code"
|
|
111
111
|
return
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -115,7 +115,7 @@ $Longest = 0
|
|
|
115
115
|
[Array]$Values = $Out | ForEach-Object {
|
|
116
116
|
# Split the output in name and description
|
|
117
117
|
$Name, $Description = $_.Split("\`t", 2)
|
|
118
|
-
|
|
118
|
+
__powerlines_debug "Name: $Name Description: $Description"
|
|
119
119
|
|
|
120
120
|
# Look for the longest completion so that we can format things nicely
|
|
121
121
|
if ($Longest -lt $Name.Length) {
|
|
@@ -134,13 +134,13 @@ $Longest = 0
|
|
|
134
134
|
$Space = " "
|
|
135
135
|
if (($Directive -band $ShellCompDirectiveNoSpace) -ne 0 ) {
|
|
136
136
|
# remove the space here
|
|
137
|
-
|
|
137
|
+
__powerlines_debug "ShellCompDirectiveNoSpace is called"
|
|
138
138
|
$Space = ""
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
if ((($Directive -band $ShellCompDirectiveFilterFileExt) -ne 0 ) -or
|
|
142
142
|
(($Directive -band $ShellCompDirectiveFilterDirs) -ne 0 )) {
|
|
143
|
-
|
|
143
|
+
__powerlines_debug "ShellCompDirectiveFilterFileExt ShellCompDirectiveFilterDirs are not supported"
|
|
144
144
|
|
|
145
145
|
# return here to prevent the completion of the extensions
|
|
146
146
|
return
|
|
@@ -152,7 +152,7 @@ $Values = $Values | Where-Object {
|
|
|
152
152
|
|
|
153
153
|
# Join the flag back if we have an equal sign flag
|
|
154
154
|
if ( $IsEqualFlag ) {
|
|
155
|
-
|
|
155
|
+
__powerlines_debug "Join the equal sign flag back to the completion value"
|
|
156
156
|
$_.Name = $Flag + "=" + $_.Name
|
|
157
157
|
}
|
|
158
158
|
}
|
|
@@ -163,7 +163,7 @@ if (($Directive -band $ShellCompDirectiveKeepOrder) -eq 0 ) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
if (($Directive -band $ShellCompDirectiveNoFileComp) -ne 0 ) {
|
|
166
|
-
|
|
166
|
+
__powerlines_debug "ShellCompDirectiveNoFileComp is called"
|
|
167
167
|
|
|
168
168
|
if ($Values.Length -eq 0) {
|
|
169
169
|
# Just print an empty string here so the
|
|
@@ -177,7 +177,7 @@ if (($Directive -band $ShellCompDirectiveNoFileComp) -ne 0 ) {
|
|
|
177
177
|
|
|
178
178
|
# Get the current mode
|
|
179
179
|
$Mode = (Get-PSReadLineKeyHandler | Where-Object { $_.Key -eq "Tab" }).Function
|
|
180
|
-
|
|
180
|
+
__powerlines_debug "Mode: $Mode"
|
|
181
181
|
|
|
182
182
|
$Values | ForEach-Object {
|
|
183
183
|
|
|
@@ -202,10 +202,10 @@ $Values | ForEach-Object {
|
|
|
202
202
|
"Complete" {
|
|
203
203
|
|
|
204
204
|
if ($Values.Length -eq 1) {
|
|
205
|
-
|
|
205
|
+
__powerlines_debug "Only one completion left"
|
|
206
206
|
|
|
207
207
|
# insert space after value
|
|
208
|
-
[System.Management.Automation.CompletionResult]::new($($comp.Name |
|
|
208
|
+
[System.Management.Automation.CompletionResult]::new($($comp.Name | __powerlines_escapeStringWithSpecialChars) + $Space, "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
|
|
209
209
|
|
|
210
210
|
} else {
|
|
211
211
|
# Add the proper number of spaces to align the descriptions
|
|
@@ -229,7 +229,7 @@ $Values | ForEach-Object {
|
|
|
229
229
|
# insert space after value
|
|
230
230
|
# MenuComplete will automatically show the ToolTip of
|
|
231
231
|
# the highlighted value at the bottom of the suggestions.
|
|
232
|
-
[System.Management.Automation.CompletionResult]::new($($comp.Name |
|
|
232
|
+
[System.Management.Automation.CompletionResult]::new($($comp.Name | __powerlines_escapeStringWithSpecialChars) + $Space, "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
# TabCompleteNext and in case we get something unknown
|
|
@@ -237,13 +237,13 @@ $Values | ForEach-Object {
|
|
|
237
237
|
# Like MenuComplete but we don't want to add a space here because
|
|
238
238
|
# the user need to press space anyway to get the completion.
|
|
239
239
|
# Description will not be shown because that's not possible with TabCompleteNext
|
|
240
|
-
[System.Management.Automation.CompletionResult]::new($($comp.Name |
|
|
240
|
+
[System.Management.Automation.CompletionResult]::new($($comp.Name | __powerlines_escapeStringWithSpecialChars), "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
Register-ArgumentCompleter -CommandName '
|
|
246
|
+
Register-ArgumentCompleter -CommandName 'powerlines' -ScriptBlock $__powerlinesCompleterBlock
|
|
247
247
|
`,p=f.split(`
|
|
248
|
-
`).map(f=>f.trim()?f.trim().startsWith(`#`)?`${
|
|
248
|
+
`).map(f=>f.trim()?f.trim().startsWith(`#`)?`${o(f)}`:t(f).replaceAll(/(?<=\$(\{|\()).*(?=(\}\)))/g,l(`$&`)).replaceAll(/\".*\"/g,a(`$&`)).replaceAll(/(\[|\]|\(|\)|\||<|>|\$\(|\$?\{|\}|\+|=|;|::new|::OutputEncoding|::UTF8)/g,i(u(`$&`))).replaceAll(/(switch|complete)\s+/g,l(`$&`)).replaceAll(/(?<=(switch|complete)\s+)\w/g,i(s(`$&`))).replaceAll(/(Get-PSReadLineKeyHandler|Where-Object|ExperimentalFeature|Console|ScriptBlock|Array|ForEach-Object|Register-ArgumentCompleter|System.Management.Automation.CompletionResult|$\w+)\s+/g,d(`$&`)).replaceAll(/(?<=(Get-PSReadLineKeyHandler|Where-Object|ExperimentalFeature|Console|ScriptBlock|Array|ForEach-Object|Register-ArgumentCompleter|System.Management.Automation.CompletionResult|$\w+)\s+)\w/g,i(r(`$&`))).replaceAll(/while\s+/g,a(`$&`)).replaceAll(/(?<=while\s+)\w/g,i(c(`$&`))).replaceAll(/(if|fi|else|elif|then|done)\s+/g,l(`$&`)).replaceAll(/\$?__\w/g,i(e(`$&`))).replaceAll(/(?<=\s)(-\w|--\w[\w-]*)(?=\s|$)/g,i(n(`$&`))):``).join(`
|
|
249
249
|
`);export{p as n,f as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,F as t,a as n,k as r,x as i}from"./prompts-DEjU8qNL.mjs";function a(){t(``),t(n(e.heading.secondary(`Usage:`))),t(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`types`)} ${e.usage.options(`[options]`)}`),{padding:0}),t(``),t(n(e.heading.secondary(`Options:`))),r([[{value:e.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force colored terminal output (env: POWERLINES_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force disable colored terminal output (env: POWERLINES_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: POWERLINES_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: POWERLINES_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.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: POWERLINES_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force disable colored terminal output (env: POWERLINES_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: POWERLINES_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to generate types for.`),align:`left`,border:`none`}],[{value:e.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Enable verbose output (env: POWERLINES_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: POWERLINES_YES, default: false).`),align:`left`,border:`none`}]]),t(``),t(e.body.tertiary(`More information can be found in the Generate Typescript Declarations command documentation at ${i(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/types`)}${e.body.tertiary(`.`)}`),{padding:0}),t(``)}export{a as t};
|
package/bin/types.mjs
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`)}\n`,Math.max(
|
|
3
|
-
|
|
4
|
-
Options:
|
|
5
|
-
`)),t.help?S():o(`types`,[`types`],[],w)}export{T as handler};
|
|
1
|
+
import{$ as e,A as t,D as n,E as r,F as i,G as a,J as o,L as s,R as c,U as l,V as u,W as d,Y as f,Z as p,a as m,et as h,o as g,q as _,z as v}from"./prompts-DEjU8qNL.mjs";import{t as y}from"./types-BnaNJFgJ.mjs";import{t as b}from"./update-DcBNIEnv.mjs";import{t as x}from"./create-powerlines-DvusHjN3.mjs";async function S(e=500){if(o().get(`banner`)||l(`no-banner`)||l(`hide-banner`)||v)return;o().set(`banner`,!0),i(``),i(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+t.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+m(t.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(s().columns-38,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`█████▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄▄`,`██▄▄█▀ ██▀██ ██ ▄ ██ ██▄▄ ██▄█▄ ██ ██ ███▄██ ██▄▄ ███▄▄`,`██ ▀███▀ ▀█▀█▀ ██▄▄▄ ██ ██ ██▄▄▄ ██ ██ ▀██ ██▄▄▄ ▄▄██▀`];r(Math.max(...a.map(e=>n(e).length))>Math.max(s().columns+30,20)?`Powerlines`:`\n${a.join(`
|
|
2
|
+
`)}\n`,Math.max(s().columns-30,20)).forEach(e=>{i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((s().columns-(n(e).length+2))/2),0))+m(t.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((s().columns-(n(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((s().columns-(n(`Generate Typescript Declarations`).length+2))/2),0))+m(t.banner.command.primary(`Generate Typescript Declarations`))+` `.repeat(Math.max(Math.ceil((s().columns-(n(`Generate Typescript Declarations`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(m(t.banner.description.primary(`Generate a Typescript declaration (dts) file for the project.`)),Math.max(60>s().columns/2?s().columns-6:s().columns-30,20)).forEach(e=>{i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((s().columns-(n(e).length+2))/2),0))+t.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((s().columns-(n(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(s().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),i(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(s().columns-35,0)))+` `+m(t.banner.footer.primary(`https://stormsoftware.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),i(``),c&&!d()&&await u(e)}async function C(e){await(await x(e)).types(e)}async function w(n=a()){let r={..._()};for(let e=0;e<n.slice(0).length;e++){let t=n[e].length>3&&n[e].startsWith(`--`)?`--${n[e].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:n[e].length>2&&n[e].startsWith(`-`)?`-${n[e].slice(1).replaceAll(`-`,``)}`:n[e];(t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`root=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`root`||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`root=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`root`)&&(/^--?(root)=/.test(`-`+t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.root=t.replace(/^--?(root)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):n.length>e+1&&(r.root=n[++e].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}return await S(),await b(),d()||(i(``),(h||e||p.LOG_LEVEL===`debug`)&&i(t.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),r.help?y():f(`types`,[`types`],[r],C)}export{w as handler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,F as t,a as n,k as r,x as i,y as a}from"./prompts-DEjU8qNL.mjs";function o(){t(`${n(e.heading.secondary(`Tags: `))} ${e.tags.utility?e.tags.utility(a(` Utility `)):e.tags.$default(a(` Utility `))}`,{padding:0}),t(``),t(n(e.heading.secondary(`Usage:`))),t(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`update`)} ${e.usage.options(`[options]`)}`),{padding:0}),t(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`upgrade`)} ${e.usage.options(`[options]`)}`),{padding:0}),t(``),t(n(e.heading.secondary(`Options:`))),r([[{value:e.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force colored terminal output (env: POWERLINES_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force disable colored terminal output (env: POWERLINES_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: POWERLINES_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: POWERLINES_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--latest`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Whether to update to the latest version (default: true).`),align:`left`,border:`none`}],[{value:e.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.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: POWERLINES_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force disable colored terminal output (env: POWERLINES_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: POWERLINES_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Enable verbose output (env: POWERLINES_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--version <version>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`A specific application version to update to (default: "latest").`),align:`left`,border:`none`}],[{value:e.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: POWERLINES_YES, default: false).`),align:`left`,border:`none`}]]),t(``),t(e.body.tertiary(`More information can be found in the Update command documentation at ${i(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/update`)}${e.body.tertiary(`.`)}`),{padding:0}),t(``)}export{o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,F as t,H as n,Q as r,R as i,Z as a,_ as o,g as s,i as c,m as l,nt as u,s as d,tt as f,u as p,v as m,w as h}from"./prompts-DEjU8qNL.mjs";import g from"node:os";import{join as _,resolve as v}from"node:path";import{existsSync as y}from"node:fs";import b from"node:process";import{mkdir as x,readFile as S,writeFile as C}from"node:fs/promises";const w=g.homedir(),T=g.tmpdir();async function E(e={}){let t=e.cwd??b.cwd(),n=v(t,`..`);for(;n!==t&&t!==w&&t!==T;){let r=_(t,`package.json`);if(y(r))if(e.isDependencyRequired){let e=JSON.parse(await S(r,`utf8`));if(Object.keys(e.dependencies||{}).concat(Object.keys(e.devDependencies||{})).concat(Object.keys(e.peerDependencies||{})).concat(Object.keys(e.optionalDependencies||{})).some(e=>e===`@powerlines/cli`||e.startsWith(`@powerlines/cli@`)))return r}else return r;else t=n,n=v(t,`..`)}}function D(e={}){let t=e.cwd??b.cwd(),n=v(t,`..`);for(;n!==t&&t!==w&&t!==T;){let e=[`package-lock.json`,`npm-shrinkwrap.json`,`yarn.lock`,`pnpm-lock.yaml`,`pnpm-workspace.yaml`,`deno.lock`,`deno.json`,`deno.jsonc`,`bun.lock`,`bun.lockb`].find(e=>y(_(t,e)));if(e)return e;t=n,n=v(t,`..`)}}async function O(e={}){let t=b.env.npm_config_user_agent??``,n=b.env.npm_execpath??``;if(t.startsWith(`yarn`)||n.includes(`yarn`))return`yarn`;if(t.startsWith(`pnpm`)||n.includes(`pnpm`))return`pnpm`;if(t.startsWith(`bun`)||n.includes(`bun`)||b.versions.bun)return`bun`;{let t=D(e);if(t===`yarn.lock`)return`yarn`;if(t===`deno.lock`||t===`deno.json`||t===`deno.jsonc`)return`deno`;if(t===`pnpm-lock.yaml`||t===`pnpm-workspace.yaml`)return`pnpm`;if(t===`bun.lock`||t===`bun.lockb`)return`bun`;{let t=await E(e);if(t&&y(t)){let e=JSON.parse(await S(t,`utf8`));if(e.devEngines?.packageManager?.name&&typeof e.devEngines.packageManager.name==`string`&&[`npm`,`yarn`,`pnpm`,`deno`,`bun`].includes(e.devEngines.packageManager.name))return e.devEngines.packageManager.name;let n={...e.dependencies,...e.devDependencies,...e.peerDependencies,...e.optionalDependencies};if(Object.keys(n).some(e=>e===`yarn`||e.startsWith(`yarn@`)||e===`yarnpkg`||e.startsWith(`yarnpkg@`)))return`yarn`;if(Object.keys(n).some(e=>e===`bun`||e.startsWith(`bun@`)))return`bun`;if(Object.keys(n).some(e=>e===`pnpm`||e.startsWith(`pnpm@`)))return`pnpm`;if(Object.keys(n).some(e=>e===`deno`||e.startsWith(`deno@`)))return`deno`}return`npm`}}}async function k(e){let t=await fetch(`https://registry.npmjs.com/-/v1/search?text=${e}&size=1`).then(e=>e.json());if(t.objects&&t.objects.length>0&&t.objects[0].package&&t.objects[0].package.name===e)return t.objects[0].package}async function A(e=`@powerlines/cli`){return(await k(e))?.version}async function j(e,t=b.cwd()){let n=await A(`@powerlines/cli`)||`latest`;return e===`yarn`?[`upgrade`,`@powerlines/cli@${n}`]:e===`pnpm`?[`update`,`@powerlines/cli@${n}`]:e===`deno`?[`outdated`,`--update`,`@powerlines/cli@${n}`]:e===`bun`?[`update`,`--save`,`@powerlines/cli@${n}`]:[`update`,`--save`,`--bin-links`,`@powerlines/cli@${n}`]}async function M(e={}){let t=await O(e),r=await j(t,e.cwd),i=``;await n(`${t}${f&&t!==`bun`?`.cmd`:``}`,[r.join(` `)],{...e,env:{...e.env,...t===`pnpm`?{npm_config_strict_peer_dependencies:!1}:null},stdout:t=>{e.stdout?.(t),i+=t},stderr:t=>{e.stderr?.(t)}})}async function N(e={}){if(!e.force&&!await P())return{latestVersion:`0.47.125`,currentVersion:`0.47.125`,isUpToDate:!0,isError:!1};try{let e=await k(`@powerlines/cli`);return{latestVersion:e?.version||`0.47.125`,currentVersion:`0.47.125`,isUpToDate:e?e.version===`0.47.125`:!0,package:e,isError:!1}}catch(e){return{isError:!0,error:e instanceof Error?e:Error(String(e))}}}async function P(){if(!i||r||a.SKIP_UPDATE_CHECK)return!1;let e=_(u.data,`update-check.json`);if(y(e)){let t=JSON.parse(await S(e,`utf8`));if(!t.timestamp)return await F(),!0;if(new Date().getTime()-t.timestamp<1296e5)return!1}else return await F(),!0}async function F(){y(u.data)||await x(u.data,{recursive:!0}),await C(_(u.data,`update-check.json`),JSON.stringify({timestamp:new Date().getTime()}),`utf8`)}async function I(){if(await P()){let n=d({message:`Checking for updates...`}).start(),r=await N({force:!0});if(r?.isError)n.error(`An error occurred while checking for Powerlines application updates. Please try again later - if the problem persists, please contact support.`),p(r.error);else if(r?.isUpToDate)n.success(`Currently running the latest version of Powerlines.`),t(``);else{n.stop(),o(`A new version of Powerlines is available: ${h(`v${r.currentVersion}`)} ${e.body.tertiary(`➜`)} ${l(`v${r.latestVersion}`)}${r.package?.date?e.body.tertiary(` (updated on ${r.package?.date})`):``}`);try{await M(),n.success(`Update successful! Please restart the application to apply the update.`),t(``),s(`The changelog for this release can be viewed by running the ${m(`powerlines changelog`)} command.`),t(``),t(`Press any key to exit the application...`),await c();return}catch(e){n.error(`An error occurred while updating Powerlines to v${r.latestVersion}. Please try again later - if the problem persists, please contact support.`),p(e)}}}}export{I as t};
|
package/bin/update.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$ as e,A as t,D as n,E as r,F as i,G as a,J as o,L as s,R as c,U as l,V as u,W as d,Y as f,Z as p,a as m,et as h,o as g,q as _,z as v}from"./prompts-DEjU8qNL.mjs";import{t as y}from"./update-DcBNIEnv.mjs";import{t as b}from"./update-275UZsT_.mjs";async function x(e=500){if(o().get(`banner`)||l(`no-banner`)||l(`hide-banner`)||v)return;o().set(`banner`,!0),i(``),i(g.banner.outline.primary(`┏`)+g.banner.outline.primary(`━`.repeat(6))+` `+t.banner.header.primary(`⬤`)+` `+g.banner.outline.primary(`━`)+` `+m(t.banner.header.primary(`Powerlines CLI v0.47.125`))+` `+g.banner.outline.primary(`━`.repeat(Math.max(s().columns-38,0)))+g.banner.outline.primary(`┓`),{consoleFn:console.log});let a=[`█████▄ ▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄ ▄▄▄▄`,`██▄▄█▀ ██▀██ ██ ▄ ██ ██▄▄ ██▄█▄ ██ ██ ███▄██ ██▄▄ ███▄▄`,`██ ▀███▀ ▀█▀█▀ ██▄▄▄ ██ ██ ██▄▄▄ ██ ██ ▀██ ██▄▄▄ ▄▄██▀`];r(Math.max(...a.map(e=>n(e).length))>Math.max(s().columns+30,20)?`Powerlines`:`\n${a.join(`
|
|
2
|
+
`)}\n`,Math.max(s().columns-30,20)).forEach(e=>{i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((s().columns-(n(e).length+2))/2),0))+m(t.banner.title.primary(e))+` `.repeat(Math.max(Math.ceil((s().columns-(n(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((s().columns-(n(`Update`).length+2))/2),0))+m(t.banner.command.primary(`Update`))+` `.repeat(Math.max(Math.ceil((s().columns-(n(`Update`).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),r(m(t.banner.description.primary(`A command for checking and updating the version of the Powerlines command-line interface application.`)),Math.max(60>s().columns/2?s().columns-6:s().columns-30,20)).forEach(e=>{i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(Math.floor((s().columns-(n(e).length+2))/2),0))+t.banner.description.primary(e)+` `.repeat(Math.max(Math.ceil((s().columns-(n(e).length+2))/2),0))+g.banner.outline.primary(`┃`),{consoleFn:console.log})}),i(g.banner.outline.primary(`┃`)+` `.repeat(Math.max(s().columns-2,0))+g.banner.outline.primary(`┃`),{consoleFn:console.log}),i(g.banner.outline.primary(`┗`)+g.banner.outline.primary(`━`.repeat(Math.max(s().columns-35,0)))+` `+m(t.banner.footer.primary(`https://stormsoftware.com`))+` `+g.banner.outline.primary(`━`.repeat(6))+g.banner.outline.primary(`┛`),{consoleFn:console.log}),i(``),c&&!d()&&await u(e)}async function S(e){}async function C(n=a()){let r={..._(),latest:!0,version:`latest`};for(let e=0;e<n.slice(0).length;e++){let t=n[e].length>3&&n[e].startsWith(`--`)?`--${n[e].slice(2).replaceAll(`-`,``).toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)}`:n[e].length>2&&n[e].startsWith(`-`)?`-${n[e].slice(1).replaceAll(`-`,``)}`:n[e];if(t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`latest=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`latest`||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`latest=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`latest`)if(/^--?(latest)=/.test(`-`+t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))){let e=t.replace(/^--?(latest)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``).toLowerCase();r.latest=!!e&&e.toLowerCase()!==`false`&&e.toLowerCase()!==`f`&&e.toLowerCase()!==`no`&&e!==`n`&&e.toLowerCase()!==`0`&&e.toLowerCase()!==`off`&&e!==`disable`&&e.toLowerCase()!==`disabled`&&e.toLowerCase()!==`never`&&(Number.isNaN(Number.parseFloat(e))||Number.parseFloat(e)>0)}else r.latest=!0;else (t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`version=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`version`||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``).startsWith(`version=`)||t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``)===`version`)&&(/^--?(version)=/.test(`-`+t.toLowerCase().replaceAll(`-`,``).replaceAll(`_`,``))?r.version=t.replace(/^--?(version)=/,``).trim().replace(/^("|')/,``).replace(/("|')$/,``):n.length>e+1&&(r.version=n[++e].trim().replace(/^("|')/,``).replace(/("|')$/,``)))}return await x(),await y(),d()||(i(``),(h||e||p.LOG_LEVEL===`debug`)&&i(t.body.tertiary(`Debug mode is enabled. Additional debug information may be logged to the console.`))),r.help?b():f(`update`,[`update`],[r],S)}export{C as handler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,B as t,E as n,F as r,a as i,g as a,j as o,k as s,v as c,x as l,y as u}from"./prompts-DEjU8qNL.mjs";function d(){r(i(e.heading.secondary(`Common Options:`))),s([[{value:e.body.primary(`--color, --colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force colored terminal output (env: POWERLINES_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force disable colored terminal output (env: POWERLINES_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-?, -h, --help`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Show help information (default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-i, --interact, --interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Enable interactive mode - will be set to false if running in a CI pipeline (env: POWERLINES_INTERACTIVE, default: true).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: POWERLINES_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--hide-banner, --no-banner`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.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: POWERLINES_NO_BANNER, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-color, --no-colors`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Force disable colored terminal output (env: POWERLINES_NO_COLOR, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`--no-interactive, --non-interactive`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Disable interactive mode - will be set to true if running in a CI pipeline (env: POWERLINES_NON_INTERACTIVE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-V, --verbose`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Enable verbose output (env: POWERLINES_VERBOSE, default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-v, --version`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Show the version of the application (default: false).`),align:`left`,border:`none`}],[{value:e.body.primary(`-y, --yes`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Skip all prompts by answering yes to all of them - will be set to true if running in a CI pipeline (env: POWERLINES_YES, default: false).`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`The following commands are available through the Powerlines command-line interface:`)),r(``),r(e.heading.primary((t?` 🏗 `:``)+`${o(`Build`)}`)),r(``),r(e.body.tertiary(n(`Builds the project for production deployment.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`build`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to build.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🗑 `:``)+`${o(`Clean`)}`)),r(``),r(e.body.tertiary(n(`Cleans the project by removing build artifacts and temporary files.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`clean`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to clean.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` ⬚ `:``)+`${o(`Create Project`)}`)),r(``),r(e.body.tertiary(n(`Create a new Powerlines project.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`create`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to create.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🛪 `:``)+`${o(`Deploy`)}`)),r(``),r(e.body.tertiary(n(`Deploys the project and its generated assets/artifacts.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`deploy`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`deployment`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to deploy.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🕮 `:``)+`${o(`Generate Documentation`)}`)),r(``),r(e.body.tertiary(n(`Generate documentation for the project's source code.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`docs`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to generate documentation for.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🗶 `:``)+`${o(`Garbage Collection`)}`)),r(``),r(e.body.tertiary(n(`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. Please 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.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`gc`)} ${e.usage.args(`<data|cache|logs|temp|all>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`gc`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<data|cache|logs|temp|all>`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`garbage-collection`)} ${e.usage.args(`<data|cache|logs|temp|all>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`garbage-collection`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<data|cache|logs|temp|all>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--type <data|cache|logs|temp|all>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The type of environment paths to clean up.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🗹 `:``)+`${o(`Lint Source Code`)}`)),r(``),r(e.body.tertiary(n(`Lint the project's source code for style and syntax errors.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`lint`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to lint.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖉 `:``)+`${o(`Prepare Artifacts`)}`)),r(``),r(e.body.tertiary(n(`Generate the project's required build and deployment artifacts.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`prepare`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to prepare.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖹 `:``)+`${o(`Generate Typescript Declarations`)}`)),r(``),r(e.body.tertiary(n(`Generate a Typescript declaration (dts) file for the project.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`types`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--root <root>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`The root directory of the project to generate types for.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🗃 `:``)+`${o(`Changelog`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Display the Powerlines changelog.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`changelog`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Commands for generating shell completion scripts for Powerlines.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.dynamic(`<command>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Commands:`)),{padding:0}),s([[{value:e.body.primary(`bash`),align:`right`,border:`none`},{value:e.body.tertiary(`Commands to setup bash completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`fish`),align:`right`,border:`none`},{value:e.body.tertiary(`Commands to setup Fish completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`powershell`),align:`right`,border:`none`},{value:e.body.tertiary(`Commands to setup PowerShell completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`zsh`),align:`right`,border:`none`},{value:e.body.tertiary(`Commands to setup Zsh completions for the Powerlines command-line interface.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🛈 `:``)+`${o(`Help`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Display command usage details and other useful information to the user.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`help`)} ${e.usage.args(`<commands...>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`help`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<commands...>`)}`),{padding:0}),r(``),r(e.heading.primary((t?` 🖒 `:``)+`${o(`Update`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`A command for checking and updating the version of the Powerlines command-line interface application.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`update`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`upgrade`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--latest`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Whether to update to the latest version (default: true).`),align:`left`,border:`none`}],[{value:e.body.primary(`--version <version>`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`A specific application version to update to (default: "latest").`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`More information can be found in the Powerlines documentation at ${l(`https://docs.stormsoftware.com/projects/powerlines/reference/cli`)}${e.body.tertiary(`.`)}`),{padding:0}),r(``),a(`Running a specific command with the help flag (via: ${c(`powerlines <specific command> --help`)}) or the help command with the specific command as arguments (via: ${c(`powerlines help <specific command>`)}) will provide additional information that is specific to that command.`),r(``)}function f(){r(`${i(e.heading.secondary(`Tags: `))} ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`,{padding:0}),r(i(e.heading.secondary(`Common Options:`))),s([]),r(``),r(e.body.tertiary(`The following commands are available through the Powerlines command-line interface:`)),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Bash`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Commands to setup bash completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`bash`)} ${e.usage.dynamic(`<command>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Commands:`)),{padding:0}),s([[{value:e.body.primary(`config`),align:`right`,border:`none`},{value:e.body.tertiary(`Update the current system's bash shell configuration to include completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`script`),align:`right`,border:`none`},{value:e.body.tertiary(`Generate a bash completion script for the Powerlines command-line interface.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Fish`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Commands to setup Fish completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`fish`)} ${e.usage.dynamic(`<command>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Commands:`)),{padding:0}),s([[{value:e.body.primary(`config`),align:`right`,border:`none`},{value:e.body.tertiary(`Update the current system's Fish shell configuration to include completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`script`),align:`right`,border:`none`},{value:e.body.tertiary(`Generate a Fish completion script for the Powerlines command-line interface.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - PowerShell`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Commands to setup PowerShell completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`powershell`)} ${e.usage.dynamic(`<command>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Commands:`)),{padding:0}),s([[{value:e.body.primary(`config`),align:`right`,border:`none`},{value:e.body.tertiary(`Update the current system's PowerShell configuration to include completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`script`),align:`right`,border:`none`},{value:e.body.tertiary(`Generate a PowerShell completion script for the Powerlines command-line interface.`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Zsh`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Commands to setup Zsh completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`zsh`)} ${e.usage.dynamic(`<command>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Commands:`)),{padding:0}),s([[{value:e.body.primary(`config`),align:`right`,border:`none`},{value:e.body.tertiary(`Update the current system's Zsh shell configuration to include completions for the Powerlines command-line interface.`),align:`left`,border:`none`}],[{value:e.body.primary(`script`),align:`right`,border:`none`},{value:e.body.tertiary(`Generate a Zsh completion script for the Powerlines command-line interface.`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`More information can be found in the Completions command documentation at ${l(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/completions`)}${e.body.tertiary(`.`)}`),{padding:0}),r(``),a(`Running a specific command with the help flag (via: ${c(`powerlines completions <specific command> --help`)}) or the help command with the specific command as arguments (via: ${c(`powerlines completions help <specific command>`)}) will provide additional information that is specific to that command.`),r(``)}function p(){r(`${i(e.heading.secondary(`Tags: `))} ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`,{padding:0}),r(i(e.heading.secondary(`Common Options:`))),s([]),r(``),r(e.body.tertiary(`The following commands are available through the Powerlines command-line interface:`)),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Bash Configuration`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Update the current system's bash shell configuration to include completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`bash`)} ${e.usage.command(`config`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`bash`)} ${e.usage.command(`config`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Bash Script`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Generate a bash completion script for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`bash`)} ${e.usage.command(`script`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`bash`)} ${e.usage.command(`script`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`More information can be found in the Completions - Bash command documentation at ${l(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/completions/bash`)}${e.body.tertiary(`.`)}`),{padding:0}),r(``),a(`Running a specific command with the help flag (via: ${c(`powerlines completions bash <specific command> --help`)}) or the help command with the specific command as arguments (via: ${c(`powerlines completions bash help <specific command>`)}) will provide additional information that is specific to that command.`),r(``)}function m(){r(`${i(e.heading.secondary(`Tags: `))} ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`,{padding:0}),r(i(e.heading.secondary(`Common Options:`))),s([]),r(``),r(e.body.tertiary(`The following commands are available through the Powerlines command-line interface:`)),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Fish Configuration`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Update the current system's Fish shell configuration to include completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`fish`)} ${e.usage.command(`config`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`fish`)} ${e.usage.command(`config`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Fish Script`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Generate a Fish completion script for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`fish`)} ${e.usage.command(`script`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`fish`)} ${e.usage.command(`script`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`More information can be found in the Completions - Fish command documentation at ${l(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/completions/fish`)}${e.body.tertiary(`.`)}`),{padding:0}),r(``),a(`Running a specific command with the help flag (via: ${c(`powerlines completions fish <specific command> --help`)}) or the help command with the specific command as arguments (via: ${c(`powerlines completions fish help <specific command>`)}) will provide additional information that is specific to that command.`),r(``)}function h(){r(`${i(e.heading.secondary(`Tags: `))} ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`,{padding:0}),r(i(e.heading.secondary(`Common Options:`))),s([]),r(``),r(e.body.tertiary(`The following commands are available through the Powerlines command-line interface:`)),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - PowerShell Configuration`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Update the current system's PowerShell configuration to include completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`powershell`)} ${e.usage.command(`config`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`powershell`)} ${e.usage.command(`config`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - PowerShell Script`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Generate a PowerShell completion script for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`powershell`)} ${e.usage.command(`script`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`powershell`)} ${e.usage.command(`script`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`More information can be found in the Completions - PowerShell command documentation at ${l(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/completions/powershell`)}${e.body.tertiary(`.`)}`),{padding:0}),r(``),a(`Running a specific command with the help flag (via: ${c(`powerlines completions powershell <specific command> --help`)}) or the help command with the specific command as arguments (via: ${c(`powerlines completions powershell help <specific command>`)}) will provide additional information that is specific to that command.`),r(``)}function g(){r(`${i(e.heading.secondary(`Tags: `))} ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`,{padding:0}),r(i(e.heading.secondary(`Common Options:`))),s([]),r(``),r(e.body.tertiary(`The following commands are available through the Powerlines command-line interface:`)),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Zsh Configuration`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Update the current system's Zsh shell configuration to include completions for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`zsh`)} ${e.usage.command(`config`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`zsh`)} ${e.usage.command(`config`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.heading.primary((t?` 🖵 `:``)+`${o(`Completions - Zsh Script`)} - ${e.tags.utility?e.tags.utility(u(` Utility `)):e.tags.$default(u(` Utility `))}`)),r(``),r(e.body.tertiary(n(`Generate a Zsh completion script for the Powerlines command-line interface.`))),r(``),r(i(e.heading.secondary(`Usage:`)),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`zsh`)} ${e.usage.command(`script`)} ${e.usage.args(`<path>`)} ${e.usage.options(`[options]`)}`),{padding:0}),r(e.body.secondary(`${e.usage.bin(`>_ powerlines`)} ${e.usage.command(`completions`)} ${e.usage.command(`zsh`)} ${e.usage.command(`script`)} ${e.usage.options(`[options]`)} ${e.usage.args(`<path>`)}`),{padding:0}),r(``),r(i(e.heading.secondary(`Options:`)),{padding:0}),s([[{value:e.body.primary(`--display`),align:`right`,border:`none`,maxWidth:`1/3`},{value:e.body.tertiary(`Should the generated completion script be written to console output instead of an actual file on disk? (default: true).`),align:`left`,border:`none`}]]),r(``),r(e.body.tertiary(`More information can be found in the Completions - Zsh command documentation at ${l(`https://docs.stormsoftware.com/projects/powerlines/reference/cli/completions/zsh`)}${e.body.tertiary(`.`)}`),{padding:0}),r(``),a(`Running a specific command with the help flag (via: ${c(`powerlines completions zsh <specific command> --help`)}) or the help command with the specific command as arguments (via: ${c(`powerlines completions zsh help <specific command>`)}) will provide additional information that is specific to that command.`),r(``)}export{f as a,p as i,h as n,d as o,m as r,g as t};
|
package/dist/package.cjs
CHANGED
package/dist/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerlines",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.128",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The \"framework framework\" that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
|
|
6
6
|
"keywords": [
|
|
@@ -173,10 +173,10 @@
|
|
|
173
173
|
"files": ["dist", "bin", "files"],
|
|
174
174
|
"dependencies": {
|
|
175
175
|
"@babel/types": "8.0.0-rc.6",
|
|
176
|
-
"@powerlines/core": "^0.48.
|
|
177
|
-
"@powerlines/engine": "^0.49.
|
|
178
|
-
"@powerlines/schema": "^0.11.
|
|
179
|
-
"@powerlines/unplugin": "^0.0.
|
|
176
|
+
"@powerlines/core": "^0.48.50",
|
|
177
|
+
"@powerlines/engine": "^0.49.52",
|
|
178
|
+
"@powerlines/schema": "^0.11.110",
|
|
179
|
+
"@powerlines/unplugin": "^0.0.98",
|
|
180
180
|
"@storm-software/config": "^1.137.72",
|
|
181
181
|
"@storm-software/config-tools": "^1.190.40",
|
|
182
182
|
"@stryke/convert": "^0.7.15",
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
"devDependencies": {
|
|
189
189
|
"@storm-software/testing-tools": "^1.119.193",
|
|
190
190
|
"@stryke/types": "^0.12.12",
|
|
191
|
-
"@types/node": "^25.9.
|
|
191
|
+
"@types/node": "^25.9.2",
|
|
192
192
|
"typescript": "^6.0.3",
|
|
193
|
-
"undici-types": "^7.27.
|
|
193
|
+
"undici-types": "^7.27.2"
|
|
194
194
|
},
|
|
195
195
|
"publishConfig": { "access": "public" },
|
|
196
|
-
"gitHead": "
|
|
196
|
+
"gitHead": "c5d53659563ee53a4d919ab56b16cd18b0c9090b"
|
|
197
197
|
}
|
package/bin/build-CJIAgNA5.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`build`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`changelog`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
|
package/bin/clean-dutxbMO3.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.mjs";function r(){e(``),e(n(t.heading.secondary(`Usage:`))),e(t.body.secondary(`${t.usage.bin(`$_ cli`)} ${t.usage.command(`clean`)} ${t.usage.options(`[options]`)}`),{padding:0}),e(``)}export{r as t};
|
package/bin/config-B0hTZO6E.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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};
|
package/bin/config-BJFVoVkf.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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};
|
package/bin/config-BaNVYrnl.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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};
|
package/bin/config-Bf2LnULJ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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};
|
package/bin/create-DYKxyvzg.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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};
|
package/bin/deploy-BMhOgvx4.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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/docs-CAUeTrLz.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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/gc-DZjHvUuc.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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/lint-DdDmoyDN.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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/prepare-Yz_6EWzB.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,O as t,a as n}from"./prompts-BnlPjHFR.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};
|