- OCaml 66%
- Makefile 19.9%
- Dune 14.1%
| .github | ||
| licenses | ||
| src | ||
| test | ||
| .gitignore | ||
| .ocamlformat | ||
| dune-project | ||
| LICENSE | ||
| licenzio.opam | ||
| Makefile | ||
| README.md | ||
Licenzio
Licenzio is a very simple, time-saving CLI tool that makes it easier to add a LICENSE file to your project.
If you're like me, tired of having to search for a license online, copying it, creating the file and pasting it into your new project every time, this simplifies it by putting it just a command away.
Usage
Add a license to your project:
licenzio mit # Adds MIT license
licenzio apache # Adds Apache 2.0 license
licenzio lgpl -o ~/Desktop/my_old_project/ # Adds LGPL v3 license to the specified directory
See all available licenses and options:
licenzio -h
Installation
Note
Licenzio is available for Linux (x86_64 only) and macOS (Apple Silicon, arm64 only). When installing via
brew, the formula will auto-detect the platform.
Via Homebrew
brew install khalidbelk/taps/licenzio
Pre-built binaries (Github Releases)
To install Licenzio, download the latest release binaries:
Linux:
curl -L -o licenzio https://github.com/khalidbelk/licenzio/releases/latest/download/licenzio-linux
chmod +x licenzio
sudo mv licenzio /usr/local/bin/
or macOS (ARM/M series)
curl -L -o licenzio https://github.com/khalidbelk/licenzio/releases/latest/download/licenzio-macos
chmod +x licenzio
sudo mv licenzio /usr/local/bin/
Then verify the installation with:
licenzio --version
Build from source
Alternatively, if you want to build the project, follow these steps:
Requires: OCaml 5.2, opam, and make
- Clone this repository and open it.
git clone git@github.com:khalidbelk/licenzio.git
cd licenzio
- Compile with the Make tool (needs to be already installed in your system)
make install && make
This will produce the licenzio executable.
License
This project is licensed under the MIT License - see the LICENSE file for details.