Forward installer parameters as named arguments

This commit is contained in:
Manuel Thalmann 2024-11-02 18:14:54 +01:00
parent a2f27209b5
commit e1de6b78c6
7 changed files with 53 additions and 29 deletions
scripts/Common/Software/git

View file

@ -8,8 +8,9 @@ begin
pwsh "$base" Configure
end
function userConfig -S -V base -a name
runPSUserConfig "$base" $name
function userConfig -S -V base
argparse -i "user=" -- $argv
runPSUserConfig "$base" $_flag_user
end
runInstaller $argv