wingu / fluffy-po-robot
POEditor.com 的命令行工具
0.10.2
2023-05-10 11:04 UTC
Requires
- php: ^8.2
- ext-ctype: *
- ext-dom: *
- ext-iconv: *
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.5.1
- symfony/console: ^6.2.10
- symfony/filesystem: ^6.2.10
- symfony/finder: ^6.2.7
- symfony/runtime: ^6.2.8
- symfony/translation: ^6.2.8
- symfony/yaml: ^6.2.10
- thecodingmachine/safe: ^2.5
Requires (Dev)
- doctrine/coding-standard: ^12.0.0
- mikey179/vfsstream: ^1.6.11
- phpstan/phpstan: ^1.10.14
- phpstan/phpstan-deprecation-rules: ^1.1.3
- phpstan/phpstan-phpunit: ^1.3.11
- phpstan/phpstan-strict-rules: ^1.5.1
- phpunit/phpunit: ^9.6.7
- symfony/var-dumper: ^6.2.10
README
运行客户端
查看可用命令
docker run --rm --interactive --tty \
--user 1000:1000 \
--volume $PWD:/app \
wingu/fluffy list
配置
运行
docker run --rm --interactive --tty \
--user 1000:1000 \
--volume $PWD:/app \
wingu/fluffy init
以交互模式初始化配置文件。
示例配置文件(poeditor.yaml
)
api_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX project_id: 123456 base_path: relative/path/to/translations reference_language: en languages: en: en de: de ro: ro files: - source: validators.en.yaml context: validators translation: "%original_path%/validators.%language_code%.%file_extension%"