WithLithum / Grimoire

A framework for validating Brigadier commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grimoire

Grimoire is a .NET-based framework for validating Brigadier commands.

It works by defining the overall "archetype" of parameters and commands beforehand, and validate each nodes of the command based on the archetype. Where validating with Brigadier itself requires a one-to-one definition in Brigadier which defining commands in it is a great complexity.

Usage

Grimoire already defines a basic command type archetype and archetypes for all parameter types supported by Brigadier on its own.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Licence

This project is licensed under the GNU General Public License, either version 3 or (at your opinion) any later version. See a copy of the license here.

There are also other open source projects used in this project. See the acknowledgements.

About

A framework for validating Brigadier commands

License:GNU General Public License v3.0


Languages

Language:C# 100.0%