Skip to content

Scaffolding CLI files #332

Answered by msujew
ballcoach12 asked this question in Q&A
Dec 29, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @ballcoach12,

the yeoman generator basically creates a small sample Langium project, including CLI files and stuff like validation. It's just there to show how one could build CLIs and validators using Langium, but it's not generated using the langium-cli. You can simply delete it, if you don't need a CLI (which is our recommended way of building code generators) or modify it manually to match your model.

The langium-cli only generates 4 files in total, the ast.ts, grammar.ts, module.ts and optionally a textMate grammar json.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ballcoach12
Comment options

Answer selected by ballcoach12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants