6 releases
0.2.5 | Apr 20, 2024 |
---|---|
0.2.4 | Apr 14, 2024 |
#253 in GUI
509 downloads per month
32KB
763 lines
This crate is part of the zng
project.
Command-line tool that scraps l10n text from Zng apps code. See documentation for more details.
Installation
cargo install zng-l10n-scraper
Usage
# zng-l10n-scraper --help
Command-line tool that scraps l10n text from Zng apps code.
Usage: zng-l10n-scraper [OPTIONS] --input <INPUT> --output <OUTPUT>
Options:
-i, --input <INPUT> Rust files glob
-o, --output <OUTPUT> Lang dir
-m, --macros <MACROS> Custom macro names, comma separated [default: ]
--pseudo <PSEUDO> Pseudo Base name, empty to disable [default: pseudo]
--pseudo-m <PSEUDO_M> Pseudo Mirrored name, empty to disable [default: pseudo-mirr]
--pseudo-w <PSEUDO_W> Pseudo Wide name, empty to disable [default: pseudo-wide]
-h, --help Print help
-V, --version Print version
Dependencies
~4.5–6.5MB
~117K SLoC