easy_localization_cleaner 0.0.4
easy_localization_cleaner: ^0.0.4 copied to clipboard
A Dart CLI tool designed to clean up unused localization keys from JSON/Arb files used with the easy_localization package.
0.0.4 #
- Fixed an issue where the
--json-indent=\t
command was not correctly interpreted as a tab character.- Now supports both
--json-indent=\t
and--json-indent=t
for specifying tab indentation.
- Now supports both
- Improved the
--json-indent
option to handle edge cases and ensure proper fallback to default values.
0.0.3 #
- Added support for the
--json-indent
(-j
) command to specify JSON indentation format.- Use
\t
for tabs or a number (e.g.,4
) for spaces. - Default indentation is 2 spaces.
- Use
- Updated the
removeUnusedKeysFromJson
method to dynamically handle JSON indentation based on the provided command-line argument. - Updated the README with examples and documentation for the
--json-indent
command.
0.0.2 #
- Added support for short commands (e.g.,
-c
for--current-path
,-g
for--generated-class-key
). - Improved handling of
LocaleKeys.key
in theKeyUsageVisitor
to support direct usage without method invocations. - Fixed lint issues by ensuring all lines are within the 80-character limit.
0.0.1 #
- Initial version.