CLI
Categories:
Arguments
Arguments must be entered before commands.
-c [path]
Path to the JSON/Jsonnet configuration file.
-f [format]
Set log format (human, kv, raw, default: human).
-l [level]
Set minimum log level (none, debug, info, error, default: info).
-n
Disable colored log output.
-p
Disable paging via less.
-x [key=value]
Set config key=value (can be provided multiple times)
Commands
autocomplete
Adds autocomplete for Yaml8n commands into your terminal:
$ source <(yaml8n autocomplete)
generate [path]
Generate code for the outputs specified within the Translations located at path
.
jq
Query JSON from stdin using jq. Supports standard JQ filters, and the -r
flag to render raw values.
translate [path]
Add missing translations for the Translations located at path
using Google Cloud Translation API. See Guides/Add Missing Translations for more information.
validate [path]
Lint and validate the Translations located at path
.
version
Print the current version of Yaml8n.
watch [path]
Watch the Translations located at path
for changes and generate code for the outputs specified within on change.