Skip to content

Cli and multiple input files #883

Answered by cdietrich
cdietrich asked this question in Q&A
Discussion options

You must be logged in to vote

To answer this myself

        services.shared.workspace.LangiumDocuments.all.forEach(d => {
            const domainmodel = d.parseResult.value as Domainmodel
            const generatedDirPath = generateJava(domainmodel, d.uri.toString(), opts.destination);
            if (!opts.quiet) {
                console.log(chalk.green(`Java classes generated successfully: ${chalk.yellow(generatedDirPath)}`));
            }
        })

worked fine

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@cdietrich
Comment options

cdietrich Jan 25, 2023
Collaborator Author

@msujew
Comment options

@cdietrich
Comment options

cdietrich Jan 25, 2023
Collaborator Author

@cdietrich
Comment options

cdietrich Feb 2, 2023
Collaborator Author

Comment options

cdietrich
Feb 2, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by cdietrich
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