CLI Module
Typer CLI for CDIF profile code generation, inspection, and validation.
- dartfx.cdif.cli.codegen_cmd(cdif_root=None, output_dir=None)[source]
Regenerate CDIF Pydantic + RDF models from upstream JSON Schemas and vocabularies.
- Parameters:
cdif_root (Annotated[Path | None, <typer.models.OptionInfo object at 0x717ece6d3f80>])
output_dir (Annotated[Path | None, <typer.models.OptionInfo object at 0x717ece6d3ef0>])
- Return type:
None
- dartfx.cdif.cli.profiles_cmd()[source]
List registered CDIF profiles, model classes, and canonical URIs.
- Return type:
None
- dartfx.cdif.cli.validate_cmd(path, profile=None, rdf_format=None)[source]
Load a CDIF metadata file into its Pydantic model and run conformance checks.
- Parameters:
path (Annotated[Path, <typer.models.ArgumentInfo object at 0x717ece6c9520>])
profile (Annotated[str | None, <typer.models.OptionInfo object at 0x717ece6cadb0>])
rdf_format (Annotated[str | None, <typer.models.OptionInfo object at 0x717ece6cb500>])
- Return type:
None