Skip to content

2BAD/mimir

Repository files navigation

Mimir

Translation and validation toolkit.

Usage

$ npm install -g @2bad/mimir
$ mimir --version
@2bad/mimir/1.0.0 wsl-x64 node-v20.7.0
$ mimir validate --help
Validate translation files

USAGE
  $ mimir validate [-p <value>] [-r <value>] [-f <value>]
...

Commands

mimir validate

Validate translation files

USAGE
  $ mimir validate [-p <value>] [-l <value>] [-r <value>] [-k <value>] [-i <value>] [-o <value>] [-f <value>]

FLAGS
  -f, --format=<value>      [default: json] This option specifies the output format for the console.
  -i, --ignoreKeys=<value>  This option specifies the keys to be ignored.
  -k, --keys=<value>        This option specifies the keys to be scanned.
  -l, --locales=<value>     This option specifies the locales to be used.
  -o, --outputFile=<value>  This option specifies the name of the file where report should be saved
  -p, --path=<value>        [default: process.cwd()] path to translation folder
  -r, --rules=<value>       This option specifies the rules to be used.

DESCRIPTION
  Validate translation files

EXAMPLES
  $ mimir validate