Skip to content
forked from tcnksm/license

Generate LICENSE file you want

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.go
Notifications You must be signed in to change notification settings

tSU-RooT/license

 
 

Repository files navigation

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

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.go

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 87.7%
  • Shell 10.8%
  • Makefile 1.5%