-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Is your feature request related to a problem? Please describe.
initializing a turbine app fails with unhelpful messages if you are missing some pre-requisites (such as python, turbine-py, git etc...).
An example of this would be running meroxa apps init myapp --lang go without having Go installed fails with the message:
Error: template: pattern matches no files: `template\.gitignore` and some broken terminal formatting.
Similar unhelpful errors are produced with initializing other languages without sdk/runtimes or if you don't have Git installed.
Describe the solution you'd like
Before actually trying to initialize the turbine app, we should check for pre-requisites and return helpful messages on what's missing. At a minimum we should verify that Git is installed and require that the language specific turbine lib returns a message describing the failure.
Describe alternatives you've considered
Introduce a separate command (previously discussed something like meroxa doctor) and on error output that the user should run that command to troubleshoot.
Additional context
Additionally running the commands with --debug doesn't produce any additional logs.
