good first issue⌨️ cli✨ enhancement
倉庫指標
- Star
- (5,385 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Community Note
Please vote by adding a 👍 reaction to the issue to help us prioritize. If you are interested to work on this issue, please leave a comment.
Feature Spec
Add an option to the CLI for choosing how errors are formatted, such as in a "short" format (that does not show code snippets" or a "json" format. Naming suggestions welcome
Use Cases
When users do not want to fully detailed diagnostics and renderings of their code snippets, or they want to parse Wing errors programmatically.
Implementation Notes
The library used by the CLI for rendering error messages supports a few rendering styles, and the wing compiler also is capable of producing errors as JSON as well (though the format is ad-hoc at the moment).
Component
CLI