https://github.com/while-loop/licy
cli Tool to generate LICENSE files
https://github.com/while-loop/licy
cli command-line go golang license
Last synced: 3 months ago
JSON representation
cli Tool to generate LICENSE files
- Host: GitHub
- URL: https://github.com/while-loop/licy
- Owner: while-loop
- License: mit
- Created: 2018-02-21T00:30:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-21T00:32:30.000Z (about 8 years ago)
- Last Synced: 2024-06-20T01:58:53.978Z (almost 2 years ago)
- Topics: cli, command-line, go, golang, license
- Language: Go
- Homepage:
- Size: 596 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
licy
====
[![GoDoc Widget]][GoDoc]
licy is a tool to generate `LICENSE` files from the command line.
A list of supported licenses can be found [here](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses).
Installation
------------
#### Go
```bash
$ go get github.com/while-loop/licy
```
#### wget
```bash
$ 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
```bash
$ 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
```bash
$ licy gen mit "Anthony Alves"
```
Commands
--------
- `licy list`
- view all available licenses
- `licy help`
- view available commands
- `licy info [-v] `
- get info about a license. Get full license with `-v` option
- `licy gen [-o FILE] [-y YEAR] [-p PROJECT_NAME] `
- generate a license file with populated fields
License
-------
licy is licensed under the MIT License.
See [LICENSE](LICENSE) for details.
Author
------
Anthony Alves
[GoDoc]: https://godoc.org/github.com/while-loop/licy
[GoDoc Widget]: https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square