Enable `--compile` for `generate fromTemplate` command
Open
area/javascript
good first issue
stale
- Dominant language
- TypeScript
- Stars
- 272
- Forks
- 375
- Avg merge
- 3h 22m
- Merged PRs (30d)
- 8
Description
[This](https://github.com/asyncapi/cli/blob/master/src/commands/generate/fromTemplate.ts#L89) needs to be extended with new flag called: `--compile`
Would be good to also bump to use latest generator: `2.7.1`
It's going to work only with `AsyncAPINewGenerator` that has it enabled.
By default `compile` option in the library is set to `true` and would be great to allow people to pass `--compile=false`. This should speed up generation for templates like `@asyncapi/html-template` that are released with transpiled files and compilation is not needed.
Contributor guide
Assessment
This issue has not been assessed yet.