Skip to content

while-loop/licy

Repository files navigation

licy

GoDoc Widget

licy is a tool to generate LICENSE files from the command line.

A list of supported licenses can be found here.

Installation

Go

$ go get github.com/while-loop/licy

wget

$ wget -O $GOPATH/bin/licy https://github.com/while-loop/licy/releases/download/v0.0.2/licy-GOOS-GOARCH && chmod +x $GOPATH/bin/licy

Source

$ make install     # will install licy to $GOPATH/bin

Example

Generate and populated an MIT license file (LICENSE) with the current year and given organization name

$ licy gen mit "Anthony Alves"

Commands

  • licy list
    • view all available licenses
  • licy help
    • view available commands
  • licy info [-v] <license>
    • get info about a license. Get full license with -v option
  • licy gen [-o FILE] [-y YEAR] [-p PROJECT_NAME] <license> <org>
    • generate a license file with populated fields

License

licy is licensed under the MIT License. See LICENSE for details.

Author

Anthony Alves