0.0.1-beta.1 ā€¢ Published 2 years ago

weblate-search v0.0.1-beta.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Weblate Search

npm NPM downloads

Weblate search cli tool.

Installation

$ npm i weblate-search -g

Usage

Usage: wls [options] [command]

Options:
  -v, --version     output the current version
  -h, --help        display help for command

Commands:
  config [options]  Initialize command for weblate search
  search [options]  Search weblate translation by string
  help [command]    display help for command

Example call:
  $ wls --help

Initailize

$ wlcs config
? Weblate api root url: http://wlcs.example.com/api/
? Weblate Token: ****************************************
āœ” Initialize config success.

Search

Help:

Usage: wls search [options]

Search weblate translation by string

Options:
  -t, --target <target>        search target string: weblate key or translation string
  -p, --project <project>      weblate project
  -c, --component <component>  weblate component
  -l, --language <language>    language
  -h, --help                   display help for command
$ wls search -p test -c test -l en-US -t 'Click'

License

MIT License

Copyright (c) 2022 yugasun.