Build a CLI Application using Golang and Cobra Library — Cobra Tutorial
Learn how to build a command-line tool with Go lang and the Cobra package in this quick and easy tutorial.
GitHub Link: https://github.com/shabbirdwd53/uzo
Cobra Library:- https://github.com/spf13/cobra
Cobra Usage Guide: https://github.com/spf13/cobra/blob/master/user_guide.md
Cobra Generator: https://github.com/spf13/cobra/blob/master/cobra/README.md
📚Course Contents 📚
⌚ (00:00) Intro
⌚ (00:16) What is CLI App?
⌚ (01:39) Demo of the Application
⌚ (05:39) Creating the Application
⌚ (09:12) Adding the Root Command
⌚ (14:24) Adding the Sub Command
⌚ (16:24) Enhancing the Sub Command
⌚ (18:56) Implementing Logic
⌚ (18:56) Implementing Logic
⌚ (33:00) Implementing flags in commands
RECOMMENDED COURSES
———————————————————————————————————
â–º Microservices using SpringBoot | Full Example – https://youtu.be/BnknNTN8icw
â–º Spring Data JPA Tutorial | Full In-depth Course – https://youtu.be/XszpXoII9Sg
â–º Spring Boot Tutorial | Full In-depth Course – https://youtu.be/c3gKseNAs9w
â–º Kubernetes Tutorial for Beginners | Full In-depth Course in 3 Hours – https://youtu.be/lXqqhyCPWC0
â–º Deploy Springboot Microservices to Kubernetes Cluster – https://youtu.be/VAmntTPebKE
â–º Automate Microservices deployment with Github Actions – https://youtu.be/snZtITKxUBM
â–º Go / Golang Full Course for Beginners – https://youtu.be/1NF2LtWbA1g
â–º Node JS Full Course for Beginners: Learn in 2 Hours – https://youtu.be/ZWhoAwTyXFs
â–º Express.js Tutorial – Beginner | 2021 – https://youtu.be/ZfzGquJLCAA
â–º Redis CLI Tutorial | Complete Course – https://youtu.be/0wqZd3zwh7Y
Follow us on :
——————————————————–
Website: http://www.dailycodebuffer.com/
Facebook: https://www.facebook.com/dailycodebuffer
Twitter: https://twitter.com/DailyCodeBuffer
Instagram: https://www.instagram.com/dailycodebuffer
GitHub: https://github.com/dailycodebuffer
My Laptop :
——————————————————
ASUS ROG Zephyrus G14, 14″ – https://amzn.to/3tMb1I6
ASUS ROG Zephyrus G14, 14″ (US) – https://amzn.to/3xa6X6m
Audio Gear :
——————————————————
Maono AU-A04 Condenser Microphone : https://amzn.to/32FOpwI
Maono AU-A04 Condenser Microphone (US) :https://amzn.to/3awzUj7
Secondary Audio :
——————————————————
Maono AU-100 Condenser Clip On Lavalier Microphone : https://amzn.to/3sGIbYd
Recommended Books:
——————————————————
Mastering Spring Boot 2.0 (Kindle): https://amzn.to/3tHJV4L
Mastering Spring Boot 2.0 (US) : https://amzn.to/3tHNUy5
Building Microservices(Kindle) : https://amzn.to/3gsA1jL
Building Microservices(US) : https://amzn.to/3dDnfNn
Spring Boot in Action : https://amzn.to/2Qo6YTM
Spring Boot in Action (US) : https://amzn.to/32DkeX9
Spring Microservices in Action : https://amzn.to/3gsA3rT
Spring Microservices in Action(US): https://amzn.to/32G3Hl7
Music:
——————————————————-
Hear the Noise (Sting): https://www.youtube.com/audiolibrary/music?nv=1
“Sound effects obtained from https://www.zapsplat.com“
#go #golang #cobra #DailyCodeBuffer
Comments are closed.