A Go based command line interface starter app (CLI)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mocks
.gitignore
Makefile
README.md
VERSION
farble.go
farble_test.go
glide.lock
glide.yaml
main.go
main_test.go
test_helper_test.go

README.md

Go CLI Starter

This is a Go based command line interface starter app (CLI).

Included:

  • Dependency management: Glide
  • Testing/Mocking: gocheck, testify/mock, mockery for generation.
  • CLI Opts: flag (stdlib) or kingpin for POSIX.
  • Packaging: cross-compilation and release packaging

Tools:

  • Lint with metalinter
  • Coverage with go-carpet

Quick Start

Clone this project:

$ git clone https://github.com/jondot/go-cli-starter
$ cd go-cli-starter

Setup:

$ make setup
$ make install

Explore:

$ make lint
$ make test
$ make coverage
$ make mocks
$ make watch

Make it your own:

$ make eject

Contributing

Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).

Copyright

Copyright (c) 2014 Dotan Nahum @jondot. See MIT-LICENSE for further details.