/fomod-validator-cli

CLI FOMod validation script based on pyfomod

Primary LanguagePython

FOMod Validator CLI

Simple FOMod validator CLI app based on pyfomod.

Usage

fomod-validator <fomod-root>

<fomod-root> is the directory containing the fomod directory. In the following example the <fomod-root> is the data directory:

data
└── fomod
   ├── info.xml
   └── moduleconfig.xml

About

This is a simple CLI wrapper around pyfomod.parse("...").validate() which exits with status 1 if warning are found and print them. This is intended to be used as pre-commit hook in Git repositories.

In other words, is a CLI (and simplified) version of fomod-validator.