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
- Host: GitHub
- URL: https://github.com/loicreynier/fomod-validator-cli
- Owner: loicreynier
- Created: 2024-03-21T14:05:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-31T15:49:31.000Z (about 1 year ago)
- Last Synced: 2025-01-28T04:28:58.182Z (4 months ago)
- Topics: cli-app, fomod
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-modding - FOMOD Validator CLI - CLI interface for FOMOD Validtor. (Modding Utilities / Mod Organizer 2 Plugins & Tools)
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