A tiny CLI app that allows you to add open-source licenses to your project interactively
Copypasting license content everytime you start a new project is repetitive and boring, since you even need to check if there any copyright information you need to change (It's a lot!).
pLICENSE (Project license) is a simple, fast and powerful CLI tool for adding open-source licenses to your project.
Grab the latest binary for your OS from Releases.
Extract and move it into your $PATH:
tar -xzf plicense_linux_x86_64.tar.gz
sudo mv plicense /usr/local/bin/brew tap dd3vahmad/homebrew-tap
brew install plicense
brew install dd3vahmad/tap/plicense
curl -fsSL https://raw.githubusercontent.com/dd3vahmad/plicense/master/install.sh | bash
go install github.com/dd3vahmad/plicense@latest
plicense -> About plicense
plicense help
plicense --help -> To get help
plicense -h
plicense version
plicense --version -> To check plicense version
plicense -v
plicense update
plicense add
plicense remove
run this command only in the root of your project (where the LICENSE file is)
plicense view
You can use these commands in combinations too.
plicense config --name="Your name"
plicense config --default=<license_key>
plicense config --show
plicense config -s