Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasa9084/git-license
make LICENSE file in command line.
https://github.com/nasa9084/git-license
command command-line-tool git git-subcommand github-api go golang
Last synced: 11 days ago
JSON representation
make LICENSE file in command line.
- Host: GitHub
- URL: https://github.com/nasa9084/git-license
- Owner: nasa9084
- License: mit
- Created: 2017-12-27T05:29:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T10:59:10.000Z (about 4 years ago)
- Last Synced: 2024-10-05T00:40:52.530Z (about 1 month ago)
- Topics: command, command-line-tool, git, git-subcommand, github-api, go, golang
- Language: Go
- Homepage:
- Size: 2.28 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
git-license
===========Get LICENSE from [GitHub Licenses API](https://developer.github.com/v3/licenses/).
## Installation
### go get
`go get github.com/nasa9084/git-license`
### download binary
Download from [releases page](https://github.com/nasa9084/git-license/releases) and put the binary into your PATH.
### build your own
requirement: go module is enabled
``` shell
$ git clone https://github.com/nasa9084/git-license.git
$ cd git-license
$ go build .
```and copy or move `git-license` binary into your PATH.
## How to use
Basically:
``` shell
$ git license --username YOUR_USER_NAME LICENSE_NAME
```such as: `git license --username nasa9084 mit`.
You can see the list of license names with:
``` shell
$ git license -l
```### Show HELP
``` shell
$ git license --help
```