https://github.com/panjf2000/gen-license-go
gen-license-go is a generator that generate licenses for https://github.com/996icu/996.ICU, implemented in Go.
https://github.com/panjf2000/gen-license-go
Last synced: 4 months ago
JSON representation
gen-license-go is a generator that generate licenses for https://github.com/996icu/996.ICU, implemented in Go.
- Host: GitHub
- URL: https://github.com/panjf2000/gen-license-go
- Owner: panjf2000
- License: other
- Created: 2019-04-04T01:05:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T01:57:43.000Z (over 7 years ago)
- Last Synced: 2025-04-11T03:14:45.750Z (over 1 year ago)
- Language: Go
- Size: 12.9 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gen-licnese-go
[](https://996.icu/#/en_US) [](https://github.com/996icu/996.ICU/blob/master/LICENSE)
gen-license-go is a 996.icu license generator implemented in Go,
this generator is developed to generate various open-source licenses including MIT, Apache, etc.
More importantly, the main purpose of this tool is to incorporate those aforesaid licenses into
a brand new license: 996.icu, defined by [996.icu](https://github.com/996icu/996.ICU).
## Usage
There are three executable files for different operating systems: macOS, Linux and Windows, located in `bin` directory, you can pick the specific bin file based on your OS, then put the `licenses` directory and `gen-license-go` file under the same path.
```sh
# Get the help from this tool:
./gen-license-go -h
# List all supported open-source licenses:
./gen-license-go --list
# Generate a pure open-source license, take MIT for example:
./gen-license-go mit
# Get the help from command 'gen'
./gen-license-go gen -h
# Incorporate a open-source(MIT) license into the 996icu license
# with a specific-language(en-us or zh-cn) template:
./gen-license-go gen mit --996icu en-us
```