zng/crates/zng-l10n-scraper
Samuel Guerra 0f3f5f1a63 Release 0.3.4. 2024-04-20 18:32:41 -03:00
..
src Reorganize project (#111) 2024-04-17 13:19:59 -03:00
Cargo.toml Release 0.3.4. 2024-04-20 18:32:41 -03:00
README.md Reorganize project (#111) 2024-04-17 13:19:59 -03:00

README.md

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