| 30 | shell_color_reset = "\033[m" |
| 31 | |
| 32 | def print_help(): |
| 33 | print("Usage: python tactility.py [action] [options]") |
| 34 | print("") |
| 35 | print("Actions:") |
| 36 | print(" build [platform] Build the app. Optionally specify a platform.") |
| 37 | print(" Supported platforms are lower case. Example: esp32s3") |
| 38 | print(" Supported platforms are read from manifest.properties") |
| 39 | print(" clean Clean the build folders") |
| 40 | print(" clearcache Clear the SDK cache") |
| 41 | print(" updateself Update this tool") |
| 42 | print(" run [ip] Run the application") |
| 43 | print(" install [ip] Install the application") |
| 44 | print(" uninstall [ip] Uninstall the application") |
| 45 | print(" bir [ip] [platform] Build, install then run. Optionally specify a platform.") |
| 46 | print(" brrr [ip] [platform] Functionally the same as \"bir\", but \"app goes brrr\" meme variant.") |
| 47 | print("") |
| 48 | print("Options:") |
| 49 | print(" --help Show this commandline info") |
| 50 | print(" --local-sdk Use SDK specified by environment variable TACTILITY_SDK_PATH with platform subfolders matching target platforms.") |
| 51 | print(" --skip-build Run everything except the idf.py/CMake commands") |
| 52 | print(" --verbose Show extra console output") |
| 53 | |
| 54 | # region Core |
| 55 | |