This is a cli template for golang project
- Clone the repository:
git clone https://github.com/LordPax/cli-template.git
cd cli-template
- Build the project:
go mod download
go build
./install.sh
- Execute the script to generate config
Will generate a config file at ~/.config/cli-template/config
./cli-template