1
0
licensmith/README.md

37 lines
1011 B
Markdown

# Licensmith
Effortlessly craft the perfect LICENSE for your Git repo in seconds with a single command!
## Usage
This command will generate ISC `LICENSE` file in your current directory, including current year, and your name read from Git configuration:
```bash
licensmith --license ISC
```
By default, Licensmith read your local repository looking for user details (name and e-mail), as a fallback it uses global configuration.
You can also specify different values using:
```bash
licensmith --license ISC --name "John Doe" --email "jdoe@example.com"
```
To list available templates run:
```bash
licensmith --list
```
## Installation
There are different ways to get Licensmith:
1. Use prebuilt binaries:
- [Releases](/wzykubek/licensmith/releases): Stable versions
- [Actions](/wzykubek/licensmith/actions): Development versions
2. Install from source: [see *Compilation*](#compilation)
## Compilation
```bash
git clone https://github.com/wzykubek/licensmith
cd licensmith
go build -v ./...
```