Licensmith, a streamlined tool, allows you to create an LICENSE file for your Git repository
with ease, using just one command. This tool is designed to save you time and effort.
For example if you want to generate an ISC LICENSE file with the current year and your name,
run the following command:
licensmith add ISCBy default, Licensmith read user details from your local Git repository (name and email). As a fallback it uses global Git configuration.
You can customize this process by providing specific values using the following command:
licensmith add ISC --name "John Doe" --email "jdoe@example.com"To view available templates, run the following command:
licensmith listTo display a license summary, use:
licensmith show ISCLicensmith can be installed using various methods.
This is universal method to build a binary for any system and architecture. You need to have Go installed.
git clone https://github.com/wzykubek/licensmith
cd licensmith
# This command will create dist directory with compiled binary and generated shell completions.
makeOn Linux distributions you can also install it to /usr/local with ease.
sudo make installPackage is available in Arch User Repository.
# paru
paru -S licensmith
# yay
yay -S licensmithgit clone https://github.com/wzykubek/licensmith
cd licensmith
makepkg -siYou can install this package using go install.
Ensure $GOPATH/bin is in your $PATH variable.
go install go.wzykubek.xyz/licensmith@latestThis project is licensed under ISC license.