Expand description
Utility functions shared across CLI commands.
Modules§
Functions§
- count_
ftl_ resources - Counts the number of FTL resources (message keys) for a specific crate.
- discover_
crates - Discovers all crates in a workspace (or single crate) that have i18n.toml. This is a convenience wrapper around discover_workspace that returns just the crates.
- discover_
workspace - Discovers workspace information including root, target dir, and all crates with i18n.toml. This is used by the monolithic temp crate approach for efficient inventory collection.
- filter_
crates_ by_ package - Filter crates by package name if specified.
- get_
all_ locales - Get all locale directories from an assets directory.
- partition_
by_ lib_ rs - Partition crates into valid (has lib.rs) and skipped (missing lib.rs).