#license #generator #generate #file #user #tool

bin+lib license-gen

A cli tool that asks you a bunch of questions and generates a license file

6 releases

0.1.5 Nov 16, 2023
0.1.4 Nov 14, 2023
0.1.2 May 21, 2022

#1819 in Development tools

30 downloads per month

MIT license

16KB
155 lines

license-gen

A license generator made with rust.

The CLI needs an email and a name to generate the license file. It looks for them in a couple of places.

  • Envoironment variable USER
  • Git username form your .gitconfig
  • Author field in package.json

Run it with Nix

nix run github:frectonz/license-gen

Install

cargo install license-gen

Supported licenses

  • Apache-2.0
  • BSD-1-Clause
  • BSD-2-Clause
  • BSD-3-Clause
  • ISC
  • MIT
  • UNLICENSE
  • WTFPL

Demo

asciicast

Dependencies

~5–7MB
~124K SLoC