Files
chia-blockchain/activated.ps1
Kyle AltendorfandGitHub 740282a636 add poetry check ... well, check (#18357)
* add poetry check ...  well, check

* add poetry check to pre-commit

* touchup

* Update activated.sh

* Update activated.ps1
2024-07-29 12:30:05 -07:00

15 lines
346 B
PowerShell

$ErrorActionPreference = "Stop"
$script_directory = Split-Path $MyInvocation.MyCommand.Path -Parent
$env_directory = $args[0]
$command = $args[1]
$parameters = [System.Collections.ArrayList]$args
$parameters.RemoveAt(0)
$parameters.RemoveAt(0)
& $script_directory/$env_directory/Scripts/Activate.ps1
& $command @parameters
exit $LASTEXITCODE