Simple FOMod validator CLI app based on pyfomod
.
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
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
.