Skip to content

Latest commit

ย 

History

History
58 lines (42 loc) ยท 1.95 KB

File metadata and controls

58 lines (42 loc) ยท 1.95 KB

๐Ÿ› ๏ธ 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 git@github.com: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.