2021-01-21 08:51:50 +00:00
|
|
|
# license
|
|
|
|
|
2021-01-21 08:53:05 +00:00
|
|
|
[![Go](https://github.com/haunt98/license/workflows/Go/badge.svg?branch=main)](https://github.com/actions/setup-go)
|
|
|
|
|
2021-01-21 08:51:50 +00:00
|
|
|
Generate `LICENSE` file automatically.
|
|
|
|
|
|
|
|
Support:
|
|
|
|
|
|
|
|
- [MIT](https://choosealicense.com/licenses/mit/)
|
|
|
|
|
2021-03-16 08:25:40 +00:00
|
|
|
## Install
|
|
|
|
|
|
|
|
With Go version `>= 1.16`:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
go install github.com/haunt98/license@latest
|
|
|
|
```
|
|
|
|
|
|
|
|
With Go version `< 1.16`:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
GO111module=on go get github.com/license/changeloguru
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
2021-01-21 08:51:50 +00:00
|
|
|
|
|
|
|
```sh
|
2021-03-16 08:25:40 +00:00
|
|
|
license --name MIT --output .
|
2021-01-21 08:51:50 +00:00
|
|
|
```
|