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
+8
View File
@@ -10,6 +10,14 @@ source "$IDF_PATH"/tools/detect_python.fish
echo "Checking Python compatibility"
"$ESP_PYTHON" "$IDF_PATH"/tools/python_version_checker.py
for option in $argv
switch "$option"
case -h --help
"$ESP_PYTHON" "$IDF_PATH"/tools/install_util.py print_help fish
exit
end
end
set TARGETS ("$ESP_PYTHON" "$IDF_PATH"/tools/install_util.py extract targets $argv) || exit 1
echo "Installing ESP-IDF tools"