Skip to content
/ polyrule Public

🛠️ One file to rule them all - Compile validator rules into multiple languages

License

Notifications You must be signed in to change notification settings

ermos/polyrule

Repository files navigation

🛠️ Polyrule

One file to rule them all - Compile validator rules into multiple languages

Polyrule is a versatile command-line interface tool that streamlines the process of creating validation rules for data across multiple programming languages. With Polyrule, you can easily define and manage a wide range of validation rules, from simple data type checks to complex business logic rules, in a single place !

Go Reference Latest tag Go Report Card Maintainability

📦 Installation

Linux

curl -sL https://github.com/ermos/polyrule/releases/latest/download/polyrule_Linux_$(uname -m).tar.gz | tar -xvz --wildcards 'polyrule' \
&& sudo mv polyrule /usr/local/bin/

Mac

curl -sL https://github.com/ermos/polyrule/releases/latest/download/polyrule_macOS_all.tar.gz | tar -xvz --wildcards 'polyrule' \
&& sudo mv polyrule /usr/local/bin/

Windows

Download the right archive from the latest release page.

Alternative

From go install :

go install github.com/ermos/polyrule@latest

From source :

git clone [email protected]:ermos/polyrule.git
make build/bin

📚 Documentation

You can find the documentation here.

🤝 Contributing

Contributions to polyrule are always welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you want to contribute code, please fork the repository and submit a pull request.

About

🛠️ One file to rule them all - Compile validator rules into multiple languages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages