A template powered by cookiecutter for building a command-line interface in Golang using the cli framework. If you know me professionally - you know I love writing scripts/cli/programs to automate my development and operational workflow. I find myself copying a bunch of stuff from different projects - so this template reflects the typical cli project I would create. Buyer Beware - alot of the choice I make in this project is personal preference!
See this repo for an example project generated from the most recent version of the template.
If you don't have cookiecutter installed. You'll need to install that first using Python's pip command (note: Python >= 3.6 is required)
$ pip install cookiecutter
alternatively you can install cookiecutter via brew
$ brew install cookiecutter
After the cookiecutter dependancy is available in your path - you can run the following:
$ cookiecutter https://github.com/srizzling/cookiecutter-golang-cli.git
You will be asked about your basic info (name, project name, app name, etc.). This info will be used in your new project.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)