DEV Community

loading...

I Generated a License Generator Plugin for Git

aligoren profile image Ali GOREN ・1 min read

Hi. I generated a license generator plugin for Git. All contributions are welcome

You can find it on GitHub: https://github.com/foss-dev/git-license-generator

Installation

There are two ways to install this plugin

Manual Installation

git clone https://github.com/foss-dev/git-license-generator

cd git-license-generator

sudo mv git-licenses/* /usr/local/bin/
sudo mv git-generate-license /usr/local/bin/

Direct Installation

Just copy and paste this one-line command:

$ bash -c  "$(wget -qO- https://git.io/fj2J9)" 

Or, if you are a Mac user:

$ bash -c  "$(curl -sLo- https://git.io/fj2J9)"

Usage

Select license

git generate-license -s

Discussion

pic
Editor guide
Collapse
juancarlospaco profile image
Juan Carlos

WTFPL and Unlicense are NOT FOSS, are proprietary, maybe a warning would be good.

BSD is not a v2 or v3, those are Clauses, 2 clauses or 3 clauses, etc.

There are more Clauses a BSD can have, theres like 50, from 0 to 3 is the most common.

Peer Production License is missing (PPL): tldrlegal.com/license/peer-product...

This looks very similar to Nim lang nimble init.