inngest
inngest copied to clipboard
`inngest init` with bad `--language` flag silently fails
Describe the bug
Running inngest init
with an incorrect --language
flag (e.g. --language foo
) will return successfully but not scaffold any steps.
To Reproduce Steps to reproduce the behavior:
-
inngest init --language foo
- Answer any remaining questions
- Observe that the created function has no files inside
./steps/step-1
Expected behavior
An error is thrown, or the CLI detects that the language doesn't exist and re-asks the question.
System info
- inngest-cli version: v0.5.10
- OS: MacOS