https://github.com/izumin5210/clig
boilerplate generator and utilities for CLI tools in Go
https://github.com/izumin5210/clig
boilerplate cli golang
Last synced: about 1 year ago
JSON representation
boilerplate generator and utilities for CLI tools in Go
- Host: GitHub
- URL: https://github.com/izumin5210/clig
- Owner: izumin5210
- License: mit
- Created: 2018-12-02T00:55:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T10:16:57.000Z (almost 7 years ago)
- Last Synced: 2025-03-29T06:21:49.220Z (over 1 year ago)
- Topics: boilerplate, cli, golang
- Language: Go
- Homepage: https://godoc.org/github.com/izumin5210/clig/pkg/cli
- Size: 77.1 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clig / clib
[](https://travis-ci.com/izumin5210/clig)
[](https://godoc.org/github.com/izumin5210/clig/pkg/cli)
[](./LICENSE)
- :building_construction: `clig` is a boilerplate generator for CLI tools in Go
- :wrench: [`pkg/clib`](https://godoc.org/github.com/izumin5210/clig/pkg/clib) is a utility package to create CLI tools efficiently
## Usage
```console
# initialize a new project
$ clig init awesomecli
$ cd awesomecli
$ tree -I 'bin|vendor'
.
├── Gopkg.lock
├── Gopkg.toml
├── Makefile
├── cmd
│ └── awesomecli
│ └── main.go
├── pkg
│ └── awesomecli
│ ├── cmd
│ │ └── cmd.go
│ ├── config.go
│ └── context.go
└── tools.go
```
## Installation
To install clig, you can use `go get`:
```console
$ go get github.com/izumin5210/clig/cmd/clig
```
## Author
- Masayuki Izumi ([@izumin5210](https://github.com/izumin5210))
## License
licensed under the MIT License. See [LICENSE](./LICENSE)