Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
526 changes: 526 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions src/commands/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ export class GenerateCommand extends BaseCommand {
)
.option('--profile', 'Enable profile generation')
.option('--with-debug-comment', 'Enable debug comments in generated code')
.option(
'--include-profile-constraints',
'Include FHIR profile constraints from type-schema (requires type-schema >= 0.0.16)',
)
.option(
'--include-field-docs',
'Include field documentation from type-schema (requires type-schema >= 0.0.16)',
)
.option(
'--cashed-type-schema <path>',
'A path to an existing type-schema ndjson file (used if type-schema fails to generate)',
Expand Down Expand Up @@ -135,6 +143,8 @@ export class GenerateCommand extends BaseCommand {
options.fhirSchema,
cacheDir,
cachePath,
options.includeProfileConstraints,
options.includeFieldDocs,
);
} catch {
logger.warn(
Expand Down
Loading