DEV Community

Itachi Uchiha
Itachi Uchiha

Posted on

I Generated a License Generator Plugin for Git

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/
Enter fullscreen mode Exit fullscreen mode

Direct Installation

Just copy and paste this one-line command:

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

Or, if you are a Mac user:

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

Usage

Select license

git generate-license -s
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

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.