Skip to content

CLI FOMod validation script based on pyfomod

Notifications You must be signed in to change notification settings

loicreynier/fomod-validator-cli

Repository files navigation

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.

About

CLI FOMod validation script based on pyfomod

Topics

Resources

Stars

Watchers

Forks