https://github.com/mwiater/golangcliscaffold
Learn how to create your first Golang CLI tool with Cobra and Viper. This step-by-step guide will show you how to bootstrap your project, add commands and flags, and create a usable CLI tool. By the end of this article, you'll have a working CLI tool that you can use to automate your tasks.
https://github.com/mwiater/golangcliscaffold
cli cobra flags golang viper
Last synced: 5 months ago
JSON representation
Learn how to create your first Golang CLI tool with Cobra and Viper. This step-by-step guide will show you how to bootstrap your project, add commands and flags, and create a usable CLI tool. By the end of this article, you'll have a working CLI tool that you can use to automate your tasks.
- Host: GitHub
- URL: https://github.com/mwiater/golangcliscaffold
- Owner: mwiater
- License: mit
- Created: 2023-07-14T23:35:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-03T23:28:44.000Z (almost 2 years ago)
- Last Synced: 2024-11-14T04:37:09.017Z (7 months ago)
- Topics: cli, cobra, flags, golang, viper
- Language: Go
- Homepage: https://betterprogramming.pub/step-by-step-using-cobra-and-viper-to-create-your-first-golang-cli-tool-8050d7675093
- Size: 67.4 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 1