Skip to content

Commit 594b68c

Browse files
committed
Update the launch script
1 parent 080462b commit 594b68c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

invoke.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env pwsh
2+
param ([Parameter(Position = 0)] [string] $Command = "Default")
23
Set-StrictMode -Version Latest
34
$ErrorActionPreference = "Stop"
45
$PSNativeCommandUseErrorActionPreference = $true
5-
. $PSScriptRoot/tool/$($args.Count -eq 0 ? "Default" : $args[0]).ps1
6+
. $PSScriptRoot/tool/$Command.ps1

0 commit comments

Comments
 (0)