clig

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: MIT

README ΒΆ

clig / clib

Build Status GoDoc license

  • πŸ— 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

Directories ΒΆ

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL