Add param block to enable auto-completion of arguments from the command line

This commit is contained in:
Cryostrixx 2024-09-25 11:42:02 -07:00
parent 8ee2a9b6b1
commit 763d0d7acb
No known key found for this signature in database
GPG Key ID: 2FC11420AFB82801

View File

@ -17,6 +17,13 @@
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.
$ProgressPreference = "SilentlyContinue"