Expand description
Nautilus Codegen — library entry point.
Exposes generate_command, validate_command, and helpers so they can be
called from nautilus-cli (the unified binary) as well as from the
standalone nautilus-codegen binary.
Modules§
- backend
- Language-backend abstraction for Nautilus code generation.
- composite_
type_ gen - Composite type code generator (Rust backend).
- enum_
gen - Enum code generator.
- generator
- Code generator for Nautilus models, delegates, and builders.
- js
- JavaScript/TypeScript code generator module.
- python
- Python code generator module.
- type_
helpers - Type mapping helpers for code generation.
- writer
- File writing utilities for generated code.
Structs§
- Generate
Options - Options controlling code generation behaviour.
Functions§
- generate_
command - Parse, validate, and if successful generate client code for the given schema.
- parse_
schema - resolve_
schema_ path - Auto-detect the first
.nautilusfile in the current directory, or returnschemaas-is if explicitly provided. - validate_
command - Parse and validate the schema, printing a summary. Does not generate code.