Crate entity_graph

Source
Expand description

entity-graph — CLI for the Prometheus entity-graph ecosystem.

Subcommands: init – writes a starter schema.json in SDL source format generate – reads an SDL JSON schema (source or IR format) and emits TypeScript entity types + a transport-registration stub

Modules§

commands 🔒
Subcommand modules for entity-graph.
ir 🔒
Intermediate representation (IR) types mirrored from @prometheus-ags/entity-graph-sdl.
sdl_parser 🔒
Parse the human-editable SDL source format (written by init) into an EntityGraphIR. This mirrors the behaviour of parseSdl() in @prometheus-ags/entity-graph-sdl.
templates 🔒
Tera template strings embedded at compile time.

Structs§

Cli 🔒
entity-graph CLI — scaffold schemas and generate TypeScript bindings.

Enums§

Commands 🔒

Functions§

main 🔒