RamblingCookieMonster / PSDepend

PowerShell Dependency Handler
MIT License
285 stars 76 forks source link

Allow parameters to be passed to PreScripts and PostScripts #124

Open snicol21 opened 4 years ago

snicol21 commented 4 years ago

I don't believe there is away to pass parameters to PostScripts. Would be nice to be able to

    'Selenium'                             = @{        
        Version     = 'latest'
        Parameters  = @{
            SkipPublisherCheck = $True
        }
        PostScripts = '$DependencyFolder\Dependencies\Selenium\3.0.1\Selenium-Binary-Updater.ps1 -Browser Chrome'
    }