license-gen

Crates.iolicense-gen
lib.rslicense-gen
version0.1.5
sourcesrc
created_at2022-05-21 05:09:43.257916
updated_at2023-11-16 10:32:33.667175
descriptionA cli tool that asks you a bunch of questions and generates a license file
homepagehttps://github.com/frectonz/license-gen
repository
max_upload_size
id590590
size48,971
Fraol Lemecha (frectonz)

documentation

README

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

Commit count: 0

cargo fmt