Generate an open source license in your project.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Rename binary and use simple array append operator Nov 14, 2012
features Improve help output. Oct 4, 2014
lib Bump to version 1.0.0 Mar 2, 2017
spec
templates
.gitignore Ignore .rbenv-gemsets file Nov 14, 2012
CHANGELOG.md Bump to version 1.0.0 Mar 2, 2017
Gemfile Remove rspec and cucumber from gemfile. Apr 30, 2011
LICENSE Use bsd generator to generate our LICENSE. May 6, 2011
README.md Remove Credits from README Mar 2, 2017
Rakefile Default rake task is to run all specs and features. May 6, 2011
license-generator.gemspec Make SIGINTs nicer. May 29, 2013

README.md

OSS License Generator

Generate an open source license for your projects.

Installation

gem install license-generator

Usage:

licgen <license> [<author1>, [<author2> ...]]

Too see the available license templates:

licgen list

Available licenses

They are provided in the gem as templates.

Please add some!

There are a lot. See http://www.opensource.org/licenses/alphabetical.

Simply fork, add an ERB template to the templates directory, and send me a pull request.

Since it's ERB you can use ruby to include things like the current date. You can also prompt the user for input like this:

<%= option(:name) %>

Since author name will be needed for almost all templates, a special template variable is provided:

<%= authors %>

If authors are not specified on the command line, it will prompt the user.