fluau_strings 0.1.0
fluau_strings: ^0.1.0 copied to clipboard
CLI for fluau plugin ARB → Luau `strings.d.luau` stubs. Pure Dart — safe for `dart pub global activate` without the Flutter SDK.
fluau_strings #
Pure-Dart CLI that turns plugin ARB files into Luau stubs for the fluau strings global.
dart pub global activate fluau_strings
cd path/to/my_plugin
fluau_strings stubs
Defaults #
| Input | Default | Flag |
|---|---|---|
| Plugin root | cwd | positional / --plugin |
| ARB directory | strings/ (fallback l10n/) |
--arb-dir |
| Locale | plugin.yaml → locales.default, else en |
--locale |
| Output | _types/strings.d.luau |
--out |
Commit the generated stub so consumers get IDE autocomplete without running the tool.
Runtime loading and MessageFormat injection are handled by the Flutter fluau package — this CLI only emits Luau types.