2021-01-21 08:51:50 +00:00
|
|
|
# license
|
|
|
|
|
2021-12-02 07:18:49 +00:00
|
|
|
[![Go](https://github.com/haunt98/license/workflows/Go/badge.svg?branch=main)](https://github.com/haunt98/license/actions)
|
2021-03-16 08:35:31 +00:00
|
|
|
[![Go Reference](https://pkg.go.dev/badge/github.com/haunt98/license.svg)](https://pkg.go.dev/github.com/haunt98/license)
|
2021-01-21 08:53:05 +00:00
|
|
|
|
2022-08-16 07:26:07 +00:00
|
|
|
Generate license file (`LICENSE`, `COPYING`, ...) automatically.
|
2021-01-21 08:51:50 +00:00
|
|
|
|
|
|
|
Support:
|
|
|
|
|
|
|
|
- [MIT](https://choosealicense.com/licenses/mit/)
|
2022-08-16 07:26:07 +00:00
|
|
|
- [GNU GPLv3](https://choosealicense.com/licenses/gpl-3.0/)
|
2022-11-01 15:59:51 +00:00
|
|
|
- [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)
|
2021-01-21 08:51:50 +00:00
|
|
|
|
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-04-16 17:45:03 +00:00
|
|
|
license generate
|
2021-01-21 08:51:50 +00:00
|
|
|
```
|