Skip to content

Latest commit

 

History

History

templates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Golang CLI Boilerplate 🛠️

Add your CLI description here


Software License Powered By: GoReleaser


Getting Started 🚦

Add your content here


Usage 🎬

Add your content here For a list of commands, run golang-cli-boilerplate --help.

golang-cli-boilerplate --help

Features 🧩

  • Out-of-the-box environment variable management 🌳
  • add your content here

Linters 🧹

This CLI includes a MakeFile and a TaskFile with the necessary (best practices) configuration to build and lint your CLI. Both tools include the same capability, so you can choose the one you prefer. In order to enforce precommit hooks, run:

# Using the TaskFile
task pre-commit-init

# Or, using the MakeFile
make pre-commit-init

🔧 Installing

The binaries are managed by GoReleaser, Homebrew and Release please. For a more detailed set of instructions, see the installation file. If you're a Linux/MacOS user, you can install it using Homebrew:

brew tap Excoriate/homebrew-tap
brew install golang-cli-boilerplate

NOTE: The brew method requires a valid GITHUB_TOKEN environment variable with enough permissions to read and write into the tap repository.


📚 Documentation

Add your content here.


Tooling 🧑‍🔧

This template is equipped with an array of tools to maintain a high standard of code quality and accelerate the development process:

NOTE: For pre-commit, ensure you're running task pre-commmit-init to add the pre-configured hooks into your git hooks. This will ensure that the code is linted and formatted before committing it. Also, there are other linters included (yaml, docker, shell, md, etc.).


Roadmap 🗓️

Add your content here

Contributing

Please read our contributing guide. All issues, pull requests and GitHub stars are welcome! Happy coding! 💻

Community

Find me in: