clig

boilerplate generator and utilities for CLI tools in Go

MIT License

Stars
10
Committers
1

clig / clib

  • 🏗️ clig is a boilerplate generator for CLI tools in Go
  • 🔧 pkg/clib is a utility package to create CLI tools efficiently

Usage

# 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:

$ go get github.com/izumin5210/clig/cmd/clig

Author

License

licensed under the MIT License. See LICENSE