Skip to content

Commit 8b6d36c

Browse files
committed
Remove deprecated, Update dependencies, Update target
1 parent 378c3d5 commit 8b6d36c

File tree

14 files changed

+186
-375
lines changed

14 files changed

+186
-375
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ A PowerShell module to provide a better and easier way for GitHub Actions to com
1515
### PowerShell
1616

1717
- **Target Version:** >= v7.2.0, &:
18-
- GitHub Actions Runner >= v2.303.0
19-
- NodeJS >= v14.15.0 (only for NodeJS wrapper API)
18+
- GitHub Actions Runner >= v2.308.0
19+
- NodeJS >= v16.13.0 (only for NodeJS wrapper API)
2020
- **Domain/Registry:**
2121
- **[PowerShell Gallery](https://www.powershellgallery.com/packages/hugoalh.GitHubActionsToolkit):**
2222
```ps1

SECURITY.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
1414
| **Versions** | **Status** | **Target - GitHub Actions Runner** | **Target - PowerShell** | **Target - NodeJS (Wrapper API)** | **Target - NPM (Wrapper API)** |
1515
|:-:|:-:|:-:|:-:|:-:|:-:|
16-
| v1.7.X | L | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
17-
| v1.6.X | ✔️ | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
18-
| v1.5.X | ✔️ | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
19-
| v1.4.X | ✔️ | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
16+
| v1.8.X | L | >= v2.308.0 | >= v7.2.0 | >= v16.13.0 | *N/A* |
17+
| v1.7.X | ✔️ | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
18+
| v1.6.X | 👎{🧓} | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
19+
| v1.5.X | 👎{🧓} | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
20+
| v1.4.X | 👎{🧓} | >= v2.303.0 | >= v7.2.0 | >= v14.15.0 | *N/A* |
2021
| v1.3.X | ❌{🐛🧓} | *Unspecified* | >= v7.2.0 | >= v14.15.0 | >= v6.14.8 |
2122
| v1.2.0 \~ v1.3.1 | ❌{🐛🧓} | *Unspecified* | >= v7.2.0 | >= v14.15.0 | *N/A* |
2223
| < v1.2.0 | ❌{🐛🧓} | *Unspecified* | >= v7.2.0 | >= v14.15.0 | >= v6.14.8 |

bundler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ let { code } = await ncc(inputFilePath, {
5050
quiet: false,
5151
sourceMap: false,
5252
sourceMapRegister: false,
53-
target: "es2020",
53+
target: "es2022",
5454
v8cache: false,
5555
watch: false
5656
});

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
RootModule = 'hugoalh.GitHubActionsToolkit.psm1'
44

55
# Version number of this module.
6-
ModuleVersion = '1.7.2'
6+
ModuleVersion = '1.8.0'
77

88
# Supported PSEditions
99
# CompatiblePSEditions = @()
@@ -133,37 +133,9 @@
133133
'Add-StepSummarySubscript',
134134
'Add-StepSummarySuperscript',
135135
'Disable-CommandEcho',
136-
'Disable-CommandEchoing',
137136
'Disable-CommandProcess',
138-
'Disable-CommandProcessing',
139-
'Disable-CommandsEcho',
140-
'Disable-CommandsEchoing',
141-
'Disable-CommandsProcess',
142-
'Disable-CommandsProcessing',
143-
'Disable-EchoCommand',
144-
'Disable-EchoCommands',
145-
'Disable-EchoingCommand',
146-
'Disable-EchoingCommands',
147-
'Disable-ProcessCommand',
148-
'Disable-ProcessCommands',
149-
'Disable-ProcessingCommand',
150-
'Disable-ProcessingCommands',
151137
'Enable-CommandEcho',
152-
'Enable-CommandEchoing',
153138
'Enable-CommandProcess',
154-
'Enable-CommandProcessing',
155-
'Enable-CommandsEcho',
156-
'Enable-CommandsEchoing',
157-
'Enable-CommandsProcess',
158-
'Enable-CommandsProcessing',
159-
'Enable-EchoCommand',
160-
'Enable-EchoCommands',
161-
'Enable-EchoingCommand',
162-
'Enable-EchoingCommands',
163-
'Enable-ProcessCommand',
164-
'Enable-ProcessCommands',
165-
'Enable-ProcessingCommand',
166-
'Enable-ProcessingCommands',
167139
'Enter-Group',
168140
'Exit-Group',
169141
'Expand-ToolCacheArchive',
@@ -192,39 +164,11 @@
192164
'Set-Env',
193165
'Set-Environment',
194166
'Start-CommandEcho',
195-
'Start-CommandEchoing',
196167
'Start-CommandProcess',
197-
'Start-CommandProcessing',
198-
'Start-CommandsEcho',
199-
'Start-CommandsEchoing',
200-
'Start-CommandsProcess',
201-
'Start-CommandsProcessing',
202-
'Start-EchoCommand',
203-
'Start-EchoCommands',
204-
'Start-EchoingCommand',
205-
'Start-EchoingCommands',
206-
'Start-ProcessCommand',
207-
'Start-ProcessCommands',
208-
'Start-ProcessingCommand',
209-
'Start-ProcessingCommands',
210168
'Start-StdOutCommandEcho',
211169
'Start-StdOutCommandProcess',
212170
'Stop-CommandEcho',
213-
'Stop-CommandEchoing',
214171
'Stop-CommandProcess',
215-
'Stop-CommandProcessing',
216-
'Stop-CommandsEcho',
217-
'Stop-CommandsEchoing',
218-
'Stop-CommandsProcess',
219-
'Stop-CommandsProcessing',
220-
'Stop-EchoCommand',
221-
'Stop-EchoCommands',
222-
'Stop-EchoingCommand',
223-
'Stop-EchoingCommands',
224-
'Stop-ProcessCommand',
225-
'Stop-ProcessCommands',
226-
'Stop-ProcessingCommand',
227-
'Stop-ProcessingCommands',
228172
'Stop-StdOutCommandEcho',
229173
'Stop-StdOutCommandProcess',
230174
'Suspend-CommandProcess',

hugoalh.GitHubActionsToolkit/module/command-base.psm1

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,27 @@ GitHub Actions - Clear File Command
1919
.DESCRIPTION
2020
Clear file command.
2121
.PARAMETER FileCommand
22-
File command. (LEGACY: Literal path of the file command.)
22+
File command.
2323
.OUTPUTS
2424
[Void]
2525
#>
2626
Function Clear-FileCommand {
2727
[CmdletBinding(HelpUri = 'https://github.com/hugoalh-studio/ghactions-toolkit-powershell/wiki/api_function_cleargithubactionsfilecommand')]
2828
[OutputType([Void])]
2929
Param (
30-
[Parameter(Mandatory = $True, Position = 0, ValueFromPipelineByPropertyName = $True)][Alias('Command', 'LiteralPath'<# LEGACY #>, 'Path'<# LEGACY #>)][String]$FileCommand
30+
[Parameter(Mandatory = $True, Position = 0, ValueFromPipelineByPropertyName = $True)][Alias('Command')][String]$FileCommand
3131
)
3232
Process {
33-
If (<# LEGACY #>[System.IO.Path]::IsPathFullyQualified($FileCommand)) {
34-
[String]$FileCommandPath = $FileCommand
33+
Try {
34+
[String]$FileCommandPath = Get-Content -LiteralPath "Env:\$($FileCommand.ToUpper())" -ErrorAction 'Stop'
3535
}
36-
Else {
37-
Try {
38-
[String]$FileCommandPath = Get-Content -LiteralPath "Env:\$($FileCommand.ToUpper())" -ErrorAction 'Stop'
39-
}
40-
Catch {
41-
Write-Error -Message "Unable to clear the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not defined!" -Category 'ResourceUnavailable'
42-
Return
43-
}
44-
If (![System.IO.Path]::IsPathFullyQualified($FileCommandPath)) {
45-
Write-Error -Message "Unable to clear the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not contain a valid file path!" -Category 'ResourceUnavailable'
46-
Return
47-
}
36+
Catch {
37+
Write-Error -Message "Unable to clear the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not defined!" -Category 'ResourceUnavailable'
38+
Return
39+
}
40+
If (![System.IO.Path]::IsPathFullyQualified($FileCommandPath)) {
41+
Write-Error -Message "Unable to clear the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not contain a valid file path!" -Category 'ResourceUnavailable'
42+
Return
4843
}
4944
Set-Content -LiteralPath $FileCommandPath -Value '' -Confirm:$False -Encoding 'UTF8NoBOM'
5045
}
@@ -68,26 +63,21 @@ Function Write-FileCommand {
6863
[CmdletBinding(HelpUri = 'https://github.com/hugoalh-studio/ghactions-toolkit-powershell/wiki/api_function_writegithubactionsfilecommand')]
6964
[OutputType([Void])]
7065
Param (
71-
[Parameter(Mandatory = $True, Position = 0, ValueFromPipelineByPropertyName = $True)][Alias('Command', 'LiteralPath'<# LEGACY #>, 'Path'<# LEGACY #>)][String]$FileCommand,
66+
[Parameter(Mandatory = $True, Position = 0, ValueFromPipelineByPropertyName = $True)][Alias('Command')][String]$FileCommand,
7267
[Parameter(Mandatory = $True, Position = 1, ValueFromPipelineByPropertyName = $True)][String]$Name,
7368
[Parameter(Mandatory = $True, Position = 2, ValueFromPipelineByPropertyName = $True)][AllowEmptyString()][AllowNull()][String]$Value
7469
)
7570
Process {
76-
If (<# LEGACY #>[System.IO.Path]::IsPathFullyQualified($FileCommand)) {
77-
[String]$FileCommandPath = $FileCommand
71+
Try {
72+
[String]$FileCommandPath = Get-Content -LiteralPath "Env:\$($FileCommand.ToUpper())" -ErrorAction 'Stop'
7873
}
79-
Else {
80-
Try {
81-
[String]$FileCommandPath = Get-Content -LiteralPath "Env:\$($FileCommand.ToUpper())" -ErrorAction 'Stop'
82-
}
83-
Catch {
84-
Write-Error -Message "Unable to write the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not defined!" -Category 'ResourceUnavailable'
85-
Return
86-
}
87-
If (![System.IO.Path]::IsPathFullyQualified($FileCommandPath)) {
88-
Write-Error -Message "Unable to write the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not contain a valid file path!" -Category 'ResourceUnavailable'
89-
Return
90-
}
74+
Catch {
75+
Write-Error -Message "Unable to write the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not defined!" -Category 'ResourceUnavailable'
76+
Return
77+
}
78+
If (![System.IO.Path]::IsPathFullyQualified($FileCommandPath)) {
79+
Write-Error -Message "Unable to write the GitHub Actions file command: Environment path ``$($FileCommand.ToUpper())`` is not contain a valid file path!" -Category 'ResourceUnavailable'
80+
Return
9181
}
9282
If ($Value -imatch '^.*$') {
9383
Add-Content -LiteralPath $FileCommandPath -Value "$Name=$Value" -Confirm:$False -Encoding 'UTF8NoBOM'

hugoalh.GitHubActionsToolkit/module/command-control.psm1

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,7 @@ Function Disable-StdOutCommandEcho {
4444
Write-GitHubActionsStdOutCommand -StdOutCommand 'echo' -Value 'off'
4545
}
4646
Set-Alias -Name 'Disable-CommandEcho' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'
47-
Set-Alias -Name 'Disable-CommandEchoing' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
48-
Set-Alias -Name 'Disable-CommandsEcho' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
49-
Set-Alias -Name 'Disable-CommandsEchoing' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
50-
Set-Alias -Name 'Disable-EchoCommand' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
51-
Set-Alias -Name 'Disable-EchoCommands' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
52-
Set-Alias -Name 'Disable-EchoingCommand' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
53-
Set-Alias -Name 'Disable-EchoingCommands' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
5447
Set-Alias -Name 'Stop-CommandEcho' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'
55-
Set-Alias -Name 'Stop-CommandEchoing' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
56-
Set-Alias -Name 'Stop-CommandsEcho' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
57-
Set-Alias -Name 'Stop-CommandsEchoing' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
58-
Set-Alias -Name 'Stop-EchoCommand' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
59-
Set-Alias -Name 'Stop-EchoCommands' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
60-
Set-Alias -Name 'Stop-EchoingCommand' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
61-
Set-Alias -Name 'Stop-EchoingCommands' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
6248
Set-Alias -Name 'Stop-StdOutCommandEcho' -Value 'Disable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'
6349
<#
6450
.SYNOPSIS
@@ -87,21 +73,7 @@ Function Disable-StdOutCommandProcess {
8773
Write-Output -InputObject $EndToken
8874
}
8975
Set-Alias -Name 'Disable-CommandProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
90-
Set-Alias -Name 'Disable-CommandProcessing' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
91-
Set-Alias -Name 'Disable-CommandsProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
92-
Set-Alias -Name 'Disable-CommandsProcessing' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
93-
Set-Alias -Name 'Disable-ProcessCommand' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
94-
Set-Alias -Name 'Disable-ProcessCommands' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
95-
Set-Alias -Name 'Disable-ProcessingCommand' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
96-
Set-Alias -Name 'Disable-ProcessingCommands' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
9776
Set-Alias -Name 'Stop-CommandProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
98-
Set-Alias -Name 'Stop-CommandProcessing' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
99-
Set-Alias -Name 'Stop-CommandsProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
100-
Set-Alias -Name 'Stop-CommandsProcessing' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
101-
Set-Alias -Name 'Stop-ProcessCommand' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
102-
Set-Alias -Name 'Stop-ProcessCommands' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
103-
Set-Alias -Name 'Stop-ProcessingCommand' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
104-
Set-Alias -Name 'Stop-ProcessingCommands' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
10577
Set-Alias -Name 'Stop-StdOutCommandProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
10678
Set-Alias -Name 'Suspend-CommandProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
10779
Set-Alias -Name 'Suspend-StdOutCommandProcess' -Value 'Disable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
@@ -120,21 +92,7 @@ Function Enable-StdOutCommandEcho {
12092
Write-GitHubActionsStdOutCommand -StdOutCommand 'echo' -Value 'on'
12193
}
12294
Set-Alias -Name 'Enable-CommandEcho' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'
123-
Set-Alias -Name 'Enable-CommandEchoing' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
124-
Set-Alias -Name 'Enable-CommandsEcho' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
125-
Set-Alias -Name 'Enable-CommandsEchoing' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
126-
Set-Alias -Name 'Enable-EchoCommand' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
127-
Set-Alias -Name 'Enable-EchoCommands' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
128-
Set-Alias -Name 'Enable-EchoingCommand' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
129-
Set-Alias -Name 'Enable-EchoingCommands' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
13095
Set-Alias -Name 'Start-CommandEcho' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'
131-
Set-Alias -Name 'Start-CommandEchoing' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
132-
Set-Alias -Name 'Start-CommandsEcho' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
133-
Set-Alias -Name 'Start-CommandsEchoing' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
134-
Set-Alias -Name 'Start-EchoCommand' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
135-
Set-Alias -Name 'Start-EchoCommands' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
136-
Set-Alias -Name 'Start-EchoingCommand' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
137-
Set-Alias -Name 'Start-EchoingCommands' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
13896
Set-Alias -Name 'Start-StdOutCommandEcho' -Value 'Enable-StdOutCommandEcho' -Option 'ReadOnly' -Scope 'Local'
13997
<#
14098
.SYNOPSIS
@@ -155,23 +113,9 @@ Function Enable-StdOutCommandProcess {
155113
Write-GitHubActionsStdOutCommand -StdOutCommand $EndToken
156114
}
157115
Set-Alias -Name 'Enable-CommandProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
158-
Set-Alias -Name 'Enable-CommandProcessing' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
159-
Set-Alias -Name 'Enable-CommandsProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
160-
Set-Alias -Name 'Enable-CommandsProcessing' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
161-
Set-Alias -Name 'Enable-ProcessCommand' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
162-
Set-Alias -Name 'Enable-ProcessCommands' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
163-
Set-Alias -Name 'Enable-ProcessingCommand' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
164-
Set-Alias -Name 'Enable-ProcessingCommands' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
165116
Set-Alias -Name 'Resume-CommandProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
166117
Set-Alias -Name 'Resume-StdOutCommandProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
167118
Set-Alias -Name 'Start-CommandProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
168-
Set-Alias -Name 'Start-CommandProcessing' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
169-
Set-Alias -Name 'Start-CommandsProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
170-
Set-Alias -Name 'Start-CommandsProcessing' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
171-
Set-Alias -Name 'Start-ProcessCommand' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
172-
Set-Alias -Name 'Start-ProcessCommands' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
173-
Set-Alias -Name 'Start-ProcessingCommand' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
174-
Set-Alias -Name 'Start-ProcessingCommands' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'# Deprecated.
175119
Set-Alias -Name 'Start-StdOutCommandProcess' -Value 'Enable-StdOutCommandProcess' -Option 'ReadOnly' -Scope 'Local'
176120
<#
177121
.SYNOPSIS
@@ -201,73 +145,17 @@ Export-ModuleMember -Function @(
201145
'Enable-StdOutCommandProcess'
202146
) -Alias @(
203147
'Disable-CommandEcho',
204-
'Disable-CommandEchoing',
205148
'Disable-CommandProcess',
206-
'Disable-CommandProcessing',
207-
'Disable-CommandsEcho',
208-
'Disable-CommandsEchoing',
209-
'Disable-CommandsProcess',
210-
'Disable-CommandsProcessing',
211-
'Disable-EchoCommand',
212-
'Disable-EchoCommands',
213-
'Disable-EchoingCommand',
214-
'Disable-EchoingCommands',
215-
'Disable-ProcessCommand',
216-
'Disable-ProcessCommands',
217-
'Disable-ProcessingCommand',
218-
'Disable-ProcessingCommands',
219149
'Enable-CommandEcho',
220-
'Enable-CommandEchoing',
221150
'Enable-CommandProcess',
222-
'Enable-CommandProcessing',
223-
'Enable-CommandsEcho',
224-
'Enable-CommandsEchoing',
225-
'Enable-CommandsProcess',
226-
'Enable-CommandsProcessing',
227-
'Enable-EchoCommand',
228-
'Enable-EchoCommands',
229-
'Enable-EchoingCommand',
230-
'Enable-EchoingCommands',
231-
'Enable-ProcessCommand',
232-
'Enable-ProcessCommands',
233-
'Enable-ProcessingCommand',
234-
'Enable-ProcessingCommands',
235151
'Resume-CommandProcess',
236152
'Resume-StdOutCommandProcess',
237153
'Start-CommandEcho',
238-
'Start-CommandEchoing',
239154
'Start-CommandProcess',
240-
'Start-CommandProcessing',
241-
'Start-CommandsEcho',
242-
'Start-CommandsEchoing',
243-
'Start-CommandsProcess',
244-
'Start-CommandsProcessing',
245-
'Start-EchoCommand',
246-
'Start-EchoCommands',
247-
'Start-EchoingCommand',
248-
'Start-EchoingCommands',
249-
'Start-ProcessCommand',
250-
'Start-ProcessCommands',
251-
'Start-ProcessingCommand',
252-
'Start-ProcessingCommands',
253155
'Start-StdOutCommandEcho',
254156
'Start-StdOutCommandProcess',
255157
'Stop-CommandEcho',
256-
'Stop-CommandEchoing',
257158
'Stop-CommandProcess',
258-
'Stop-CommandProcessing',
259-
'Stop-CommandsEcho',
260-
'Stop-CommandsEchoing',
261-
'Stop-CommandsProcess',
262-
'Stop-CommandsProcessing',
263-
'Stop-EchoCommand',
264-
'Stop-EchoCommands',
265-
'Stop-EchoingCommand',
266-
'Stop-EchoingCommands',
267-
'Stop-ProcessCommand',
268-
'Stop-ProcessCommands',
269-
'Stop-ProcessingCommand',
270-
'Stop-ProcessingCommands',
271159
'Stop-StdOutCommandEcho',
272160
'Stop-StdOutCommandProcess',
273161
'Suspend-CommandProcess',

0 commit comments

Comments
 (0)