Expand description
§es-fluent-cli-helpers
Internal Crate: Runtime library for the es-fluent runner crate.
The es-fluent CLI works by generating a temporary “runner crate” to inspect your project’s types. This library is injected into that runner crate to perform the actual extraction and generation work, including namespace validation when configured in i18n.toml.
Structs§
- EsFluent
Generator - Builder for generating FTL files from registered types.
- Expected
Key - Expected key information from inventory.
- Generator
Args - Command line arguments for the generator.
- Inventory
Data - The inventory data output.
Enums§
- Fluent
Parse Mode - The mode to use when parsing Fluent files.
Functions§
- run
- Main entry point for the monolithic binary.
- run_
check - Run the inventory check process for a crate.
- run_
clean_ with_ options - Run the FTL clean process with explicit options (no CLI parsing).
- run_
generate - Run the FTL generation process for a crate.
- run_
generate_ with_ options - Run the FTL generation process with explicit options (no CLI parsing).
- write_
inventory_ for_ crate - Collects inventory data for a crate and writes it to
inventory.json.
Type Aliases§
- Generator
Error - Type alias for compatibility