Skip to content

2BAD/mimir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

793d25b · Dec 9, 2024
Nov 2, 2023
Sep 28, 2023
Nov 21, 2023
Sep 11, 2023
Oct 6, 2023
Oct 5, 2023
Sep 11, 2023
Sep 11, 2023
Oct 27, 2023
Dec 9, 2024
Nov 21, 2023
Sep 11, 2023
Oct 6, 2023
Sep 11, 2023

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