https://github.com/2bad/mimir
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/2bad/mimir
- Owner: 2BAD
- Created: 2023-09-25T20:44:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-12T20:26:41.000Z (about 1 year ago)
- Last Synced: 2025-05-12T21:39:18.868Z (about 1 year ago)
- Language: TypeScript
- Size: 672 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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
```