1
0
licensmith/README.md

1.0 KiB

Licensmith

Effortlessly craft the perfect LICENSE for your Git repo in seconds with a single command!

Usage

This command will generate ISC LICENSE file in your current directory, including current year, and your name read from Git configuration:

licensmith add ISC

By default, Licensmith read your local repository looking for user details (name and e-mail), as a fallback it uses global configuration.

You can also specify different values using:

licensmith add ISC --name "John Doe" --email "jdoe@example.com"

To list available templates run:

licensmith list

Installation

There are different ways to get Licensmith:

  1. Use prebuilt binaries:

  2. Install from source: see compilation section

Compilation

git clone https://github.com/wzykubek/licensmith
cd licensmith
go build -v ./...