feat: Install script help

Closes https://github.com/espressif/esp-idf/issues/11231
This commit is contained in:
radim.karnis
2023-04-27 14:50:47 +02:00
parent cba923788e
commit 9e035894cd
5 changed files with 79 additions and 2 deletions

View File

@@ -1,6 +1,16 @@
#!/usr/bin/env pwsh
param(
[Switch]$h
)
$IDF_PATH = $PSScriptRoot
if($h){
python "$IDF_PATH/tools/install_util.py" print_help ps1
Exit
}
$TARGETS = (python "$IDF_PATH/tools/install_util.py" extract targets "$args")
Write-Output "Installing ESP-IDF tools"