An open API service indexing awesome lists of open source software.

https://github.com/2bad/mimir


https://github.com/2bad/mimir

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Mimir

Translation and validation toolkit.

- [Usage](#usage)
- [Commands](#commands)

# Usage

```sh-session
$ 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 ] [-r ] [-f ]
...
```

# Commands

- [`mimir validate`](#mimir-validate)

## `mimir validate`

Validate translation files

```
USAGE
$ mimir validate [-p ] [-l ] [-r ] [-k ] [-i ] [-o ] [-f ]

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

DESCRIPTION
Validate translation files

EXAMPLES
$ mimir validate
```