es_fluent_cli/core/action.rs
1use crate::core::FluentParseMode;
2
3/// The action to perform during generation.
4#[derive(Clone, Debug)]
5pub enum GenerationAction {
6 /// Generate FTL files with the specified mode.
7 Generate {
8 mode: FluentParseMode,
9 dry_run: bool,
10 },
11 /// Clean orphan keys from FTL files.
12 Clean { all_locales: bool, dry_run: bool },
13}