microsoft / fhir-codegen

Tools for code generation based on the FHIR specification.
MIT License
102 stars 46 forks source link

Command line code generation gives no output #142

Open wardweistra opened 10 months ago

wardweistra commented 10 months ago

The section https://github.com/microsoft/fhir-codegen#fhir-codegen-cli tells me:

To run this project from a command line: dotnet run --project src/fhir-codegen-cli/fhir-codegen-cli.csproj -- [options]

However, running dotnet run --project src/FhirCodeGenBlazor/FhirCodeGenBlazor.csproj -- -p hl7.fhir.r4.core#4.0.1 --language TypeScript --output-path ~/R4.ts does not seem to generate any file.

As reported on https://chat.fhir.org/#narrow/stream/179171-dotnet/topic/Microsoft.20fhir-codegen-cli/near/383004416

wardweistra commented 10 months ago

Gino stated

As for the command line arguments, the UI will ignore them.

Is this not how I'm supposed to run command line arguments?

GinoCanessa commented 10 months ago

The command line arguments are for the CLI application, not the web-UI. I will add a task to update the documentation, as well as look into what arguments make sense for the UI.