m1m3-50 / license

Generate LICENSE file you want

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license

GitHub release MIT License Go Documentation

license is a simple command line tool to generate LICENSE file you want to use. It fetches one from Github API. You can also choose LICENSE like choosealicense.com.

Demo

You can select a LICENSE from avairable list,

You can just provide key name,

If you feel difficulty to choose LICENSE, you can do it like choosealicense.com,

Usage

To generate LICENSE file, you just provide KEY name of LICENSE you want,

$ license [option] [KEY]

To check available LICENSE file and its KEY, you can see all of them by -list option,

$ license -list

If you don't provide specific KEY, license will ask you to select one from list.

To choose LICENSE like choosealicense.com,

$ license -choose

To see more usage, use -help option

Install

Binaries for your platform are provided, install it from Release page.

If you use OSX and homebrew for your package manager, you can use formula for this project,

$ brew tap tcnksm/license
$ brew install license

Contribution

  1. Fork (https://github.com/tcnksm/license/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

To install latest version of license, use go get:

$ go get -d github.com/tcnksm/license

Author

Taichi Nakashima

About

Generate LICENSE file you want

License:MIT License


Languages

Language:Go 87.8%Language:Shell 10.9%Language:Makefile 1.4%