Главная
Study mode:
on
1
Introduction
2
Multi-contributor CLI
3
Cobra
4
Cobra-CLI
5
Ready to build!
6
Structuring for extensibility
7
Moving new commands
8
Here is the trick...
9
Mistakes are good
10
Structured subcommand
11
Building some functionality
12
First working command
13
Disk usage command
14
Recap
15
Viper configuration
16
Implementing viper in an existing project
17
Conclusion
Description:
Discover the definitive guide to building robust and extensible Golang-based Command Line Interfaces (CLIs) in this comprehensive 30-minute tutorial video. Learn how to create a CLI that multiple teams can contribute to, starting from theory and progressing to practical implementation. Follow along as the instructor demonstrates the creation of a successful CLI used by hundreds of engineers. Explore topics such as multi-contributor CLI development, Cobra and Cobra-CLI usage, structuring for extensibility, building functionality, and implementing Viper configuration. Gain insights into common mistakes and best practices while working with example code. Access the source code on GitHub for further study and experimentation.

How to Write Beautiful Golang CLI

Cloud Native Skunkworks
Add to list
0:00 / 0:00