l10nization_cli 0.0.1 copy "l10nization_cli: ^0.0.1" to clipboard
l10nization_cli: ^0.0.1 copied to clipboard

A Command-Line Interface to find unused l10n translations from an arb file.

L10nization_cli #

License: MIT

A Command-Line Interface to find unused l10n translations from an arb file.

๐Ÿšจ It's not stable, it is possible to have false positives or false negatives. ๐Ÿšจ


Getting Started ๐Ÿš€ #

If the CLI application is available on pub, activate globally via:

dart pub global activate l10nization_cli

Usage #

# Check unused translations
l10nization_cli check-unused --root <folder-of-app>

Running locally #

dart pub global activate --source=path . && l10nization_cli check-unused --root example

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

dart pub global activate coverage
dart test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use lcov.

# Generate Coverage Report
genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
open coverage/index.html

Generated by the Very Good CLI ๐Ÿค–

8
likes
0
points
143
downloads

Publisher

verified publisherlsaudon.fr

Weekly Downloads

A Command-Line Interface to find unused l10n translations from an arb file.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, cli_completion, file, glob, mason_logger, path, pub_updater, yaml

More

Packages that depend on l10nization_cli