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

https://github.com/loicreynier/fomod-validator-cli

CLI FOMod validation script based on pyfomod
https://github.com/loicreynier/fomod-validator-cli

cli-app fomod

Last synced: 2 months ago
JSON representation

CLI FOMod validation script based on pyfomod

Awesome Lists containing this project

README

        

# FOMod Validator CLI

Simple [FOMod] validator CLI app based on [`pyfomod`][pyfomod].

## Usage

```bash
fomod-validator
```

`` is the directory containing the `fomod` directory.
In the following example the `` is the `data` directory:

```text
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`][fomod-validator].

[FOMod]: https://fomod-docs.readthedocs.io
[pyfomod]: https://pyfomod.readthedocs.io
[fomod-validator]: https://github.com/GandaG/fomod-validator