Skip to content

Crafting the ideal license for your Git repository in seconds!

License

Notifications You must be signed in to change notification settings

wzykubek/licensmith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Licensmith

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.

Go Reference


Usage

For example if you want to generate an ISC LICENSE file with the current year and your name, run the following command:

licensmith add ISC

By 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 list

To display a license summary, use:

licensmith show ISC

Installation

Licensmith can be installed using various methods.

From Source

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.
make

On Linux distributions you can also install it to /usr/local with ease.

sudo make install

Arch Linux

Package is available in Arch User Repository.

Using AUR helper

# paru
paru -S licensmith

# yay
yay -S licensmith

Manually

git clone https://github.com/wzykubek/licensmith
cd licensmith
makepkg -si

Go Registry

You can install this package using go install. Ensure $GOPATH/bin is in your $PATH variable.

go install go.wzykubek.xyz/licensmith@latest

License

This project is licensed under ISC license.

About

Crafting the ideal license for your Git repository in seconds!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published