{ "commands": { "export": { "aliases": [], "args": {}, "description": "Export files from Accent and write them to your local filesystem", "examples": [ "$ accent export", "$ accent export --order-by=key --version=build.myapp.com:0.12.345" ], "flags": { "config": { "char": "c", "description": "Path to the config file", "name": "config", "default": "accent.json", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "order-by": { "description": "Order of the keys", "name": "order-by", "default": "index", "hasDynamicHelp": false, "multiple": false, "options": [ "index", "key" ], "type": "option" }, "version": { "description": "Fetch a specific version", "name": "version", "default": "", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "export", "pluginAlias": "accent-cli", "pluginName": "accent-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "lib", "commands", "export.js" ] }, "format": { "aliases": [], "args": {}, "description": "Format local files from server. Exit code is 1 if there are errors.", "examples": [ "$ accent format" ], "flags": { "order-by": { "description": "Order of the keys", "name": "order-by", "default": "index", "hasDynamicHelp": false, "multiple": false, "options": [ "index", "key", "-index", "-key" ], "type": "option" }, "config": { "char": "c", "description": "Path to the config file", "name": "config", "default": "accent.json", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "format", "pluginAlias": "accent-cli", "pluginName": "accent-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "lib", "commands", "format.js" ] }, "jipt": { "aliases": [], "args": { "pseudoLanguageName": { "description": "The pseudo language for in-place-translation-editing", "name": "pseudoLanguageName", "required": true } }, "description": "Export jipt files from Accent and write them to your local filesystem", "examples": [ "$ accent jipt" ], "flags": { "config": { "char": "c", "description": "Path to the config file", "name": "config", "default": "accent.json", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "path": { "description": "Directory to run the CLI from, like cd. Config and files resolve from here", "name": "path", "default": ".", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "jipt", "pluginAlias": "accent-cli", "pluginName": "accent-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "lib", "commands", "jipt.js" ] }, "lint": { "aliases": [], "args": {}, "description": "Lint local files and display errors if any. Exit code is 1 if there are errors.", "examples": [ "$ accent lint" ], "flags": { "config": { "char": "c", "description": "Path to the config file", "name": "config", "default": "accent.json", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "path": { "description": "Directory to run the CLI from, like cd. Config and files resolve from here", "name": "path", "default": ".", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "lint", "pluginAlias": "accent-cli", "pluginName": "accent-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "lib", "commands", "lint.js" ] }, "stats": { "aliases": [], "args": {}, "description": "Fetch stats from the API and display them beautifully", "examples": [ "$ accent stats" ], "flags": { "version": { "description": "View stats for a specific version", "name": "version", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "check-reviewed": { "description": "Exit 1 when reviewed percentage is not 100%", "name": "check-reviewed", "allowNo": false, "type": "boolean" }, "check-translated": { "description": "Exit 1 when translated percentage is not 100%", "name": "check-translated", "allowNo": false, "type": "boolean" }, "config": { "char": "c", "description": "Path to the config file", "name": "config", "default": "accent.json", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "stats", "pluginAlias": "accent-cli", "pluginName": "accent-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "lib", "commands", "stats.js" ] }, "sync": { "aliases": [], "args": {}, "description": "Sync files in Accent and write them to your local filesystem", "examples": [ "$ accent sync", "$ accent sync --dry-run --sync-type=force", "$ accent sync --add-translations --merge-type=smart --order-key=key --version=v0.23" ], "flags": { "add-translations": { "description": "Add translations in Accent to help translators if you already have translated strings locally", "name": "add-translations", "allowNo": false, "type": "boolean" }, "no-local-write": { "description": "Do not write to the local files _after_ the sync. Warning: This option could lead to a mismatch between the source of truth (your code repository) and Accent", "name": "no-local-write", "allowNo": false, "type": "boolean" }, "dry-run": { "description": "Do not commit the changes in Accent", "name": "dry-run", "allowNo": false, "type": "boolean" }, "merge-type": { "description": "Algorithm to use on existing strings when adding translation", "name": "merge-type", "default": "passive", "hasDynamicHelp": false, "multiple": false, "options": [ "smart", "passive", "force" ], "type": "option" }, "order-by": { "description": "Will be used in the export call as the order of the keys", "name": "order-by", "default": "index", "hasDynamicHelp": false, "multiple": false, "options": [ "index", "key" ], "type": "option" }, "sync-type": { "description": "Algorithm to use on existing strings when syncing the main language", "name": "sync-type", "default": "smart", "hasDynamicHelp": false, "multiple": false, "options": [ "smart", "passive" ], "type": "option" }, "version": { "description": "Sync a specific version, the tag needs to exists in Accent first", "name": "version", "default": "", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "config": { "char": "c", "description": "Path to the config file", "name": "config", "default": "accent.json", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "path": { "description": "Directory to run the CLI from, like cd. Config and files resolve from here", "name": "path", "default": ".", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "sync", "pluginAlias": "accent-cli", "pluginName": "accent-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "lib", "commands", "sync.js" ] } }, "version": "0.19.0" }