mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-02 17:32:09 +00:00
Add param block to enable auto-completion of arguments from the command line
This commit is contained in:
parent
8ee2a9b6b1
commit
763d0d7acb
@ -17,6 +17,13 @@
|
|||||||
Run in PowerShell > .\windev.ps1 <arguments>
|
Run in PowerShell > .\windev.ps1 <arguments>
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
# Define the arguments for the WinUtil script; enables argument auto-completion.
|
||||||
|
param (
|
||||||
|
[switch]$Debug,
|
||||||
|
[string]$Config,
|
||||||
|
[switch]$Run
|
||||||
|
)
|
||||||
|
|
||||||
# Speed up download-related tasks by suppressing the output of Write-Progress.
|
# Speed up download-related tasks by suppressing the output of Write-Progress.
|
||||||
$ProgressPreference = "SilentlyContinue"
|
$ProgressPreference = "SilentlyContinue"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user