license

command module
v0.0.0-...-070a8a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2017 License: MIT Imports: 22 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL