This Makes Golang CLI Development So MUCH Better

  Рет қаралды 20,595

Melkey

Melkey

Күн бұрын

🚀Are you a beginner in the world of Go (Golang) programming and want to build powerful and efficient command-line applications? Look no further! In this beginner-friendly tutorial, we'll introduce you to the Cobra package, a fantastic tool that will empower you to create command-line interfaces effortlessly.
In this video, we'll take you on a step-by-step journey through the fundamentals of using Cobra in your Go applications, making it easier than ever for you to start building your own CLI tools.
Cobra Repo: github.com/spf13/cobra
Twitch
I stream live on Twitch every weekend
Twitch : / melkey
Join the amazing community on Discord
Discord: / discord
I post memes and host Twitter Tech Spaces
Twitter: / melkeydev
SUBSCRIBE OR GET LAID OFF
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
#coding #neovim #typescript #programming #vim #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #rustlang #rust #twitch #twitchstreamer #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment #gymbro #gym #programmerhumor #programming #coding

Пікірлер: 43
@MelkeyDev
@MelkeyDev 8 ай бұрын
Let me know what you build with Go using the Cobra package! Drop a like! It means the world
@dantech2011
@dantech2011 8 ай бұрын
Please make more videos about Cobra! Thanks @MelKeyDev
@Green_44_
@Green_44_ 8 ай бұрын
The book “Powerful Command-Line Applications in Go” covers this really well
@MelkeyDev
@MelkeyDev 8 ай бұрын
Oh - woah. I need a link to this
@fuzzy-02
@fuzzy-02 3 ай бұрын
Thank you for the recommendation of this book
@brotherthegrest
@brotherthegrest 8 ай бұрын
Melkey just keeps making go better
@MelkeyDev
@MelkeyDev 8 ай бұрын
It's all the PHP i snort
@brotherthegrest
@brotherthegrest 8 ай бұрын
@@MelkeyDev nose covered in syntax highlighting
@ryanleemartin7758
@ryanleemartin7758 6 ай бұрын
If it's good enough the kube, it's good enough for me! Good stuff!
@user-ky1fv4ul2c
@user-ky1fv4ul2c 3 ай бұрын
Thank you so much!
@im_m7md126
@im_m7md126 8 ай бұрын
Nice video Melkey, I thought this video was about charm, keep up your amazing work
@MelkeyDev
@MelkeyDev 8 ай бұрын
Thanks, will do!
@cryptoaddict6715
@cryptoaddict6715 8 ай бұрын
Thank you!
@inigoarejula2147
@inigoarejula2147 8 ай бұрын
I know about cobra when contributing for fedora toolbox, this package is just perfect 😊
@MelkeyDev
@MelkeyDev 8 ай бұрын
OOOO that's interesting
@_sudipidus_
@_sudipidus_ 5 ай бұрын
spf13 is a legend cobra,viper,hugo I love hugo and use it for my blog
@MelkeyDev
@MelkeyDev 4 ай бұрын
Honestly - legendary status
@azharmahmood7616
@azharmahmood7616 8 ай бұрын
I would like to call it Gobra. 😊
@MelkeyDev
@MelkeyDev 8 ай бұрын
Gobra is amazing lmao
@emil_l889
@emil_l889 8 ай бұрын
COBRA!!! 🐍
@OldKing11100
@OldKing11100 8 ай бұрын
I was needing to convert a bulk of my bash scripts to Rust, because some monsters prefer to use Mac or Windows. Cobra and cross compilation in Go looks much easier than what I was about to attempt in Rust. I guess putting off learning Rust for a while longer won't hurt.
@MelkeyDev
@MelkeyDev 8 ай бұрын
Cobra is amazing. Definitely recommend it. Stay tuned for a video I will make in the coming weeks where we make the CLI"s even better
@pss_crs
@pss_crs 8 ай бұрын
cobra is back bone of kubectl, docker cli, gh, hugo and many other big projects
@thewhiteoaktree
@thewhiteoaktree 8 ай бұрын
Hey man, awesome video. Is this compatible with PHP 5.2.14, or only PHP 8? I'm still on a legacy version that I need to upgrade. Thanks for the tip, great video!
@MelkeyDev
@MelkeyDev 8 ай бұрын
It is not - since this is only a Go lang lib!
@DrewryPope
@DrewryPope 8 ай бұрын
i like charm!
@fuzzy-02
@fuzzy-02 3 ай бұрын
Any tutorial how to do it with no 3rd party packages? Just go
@matteac_rs
@matteac_rs 8 ай бұрын
Clap clap clap (rust reference)
@ruslangabitov5202
@ruslangabitov5202 8 ай бұрын
Cobra is a great tool, but you didn't show it in the video. The app you've presented could be easily created with the standard flag package (even Viper isn't needed for this). Cobra shines when you use commands with your app, not just flags.
@MelkeyDev
@MelkeyDev 8 ай бұрын
Good point! I will go into more detail with Bubble Tea + Cobra in my next video
@Endurancecoach00
@Endurancecoach00 8 ай бұрын
Gogang
@MelkeyDev
@MelkeyDev 8 ай бұрын
Go bro Go gang
@stonehat
@stonehat 8 ай бұрын
2:16 cobra cli init edit 😅
@karim6514
@karim6514 8 ай бұрын
First 🥳
@MelkeyDev
@MelkeyDev 8 ай бұрын
LFGGGG
@bonsohazard
@bonsohazard 8 ай бұрын
Your pink gopher thingy looks like it needs some downers cause it partied too hard for 3 days and can't fall asleep now.
@headlights-go-up
@headlights-go-up 8 ай бұрын
I hope you realize how much wrath you will receive for this from the Rustaceans.
@MelkeyDev
@MelkeyDev 8 ай бұрын
I want all the SMOKE
@TheToothPaste1
@TheToothPaste1 8 ай бұрын
Cobra good, Python bad
@MelkeyDev
@MelkeyDev 8 ай бұрын
Yeah Python is POOPY
@SeanCallahan52
@SeanCallahan52 8 ай бұрын
Python is great for a lot of things but TERRIBLE for CLI applications in particular. There are some special exceptions to the rule like sqlmap but that’s about it.
@emil_l889
@emil_l889 8 ай бұрын
Got a cli for everything thanks to cobra😤😤😤 new phone? Na new CLI😤😤😤🫡🫡🫡
This is Why You NEED to Use This Golang CLI Framework
15:22
This Is The BEST Way To Structure Your GO Projects
11:08
Melkey
Рет қаралды 64 М.
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 20 МЛН
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 113 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
How to write beautiful Golang CLI
30:21
Cloud Native Skunkworks
Рет қаралды 44 М.
Golang Context Explained - How To Use With Timeout
8:22
Melkey
Рет қаралды 17 М.
What Makes A Good Cli Tool | Prime Explains
4:26
ThePrimeTime
Рет қаралды 58 М.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 257 М.
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 103 М.
Building a CLI application with Golang
12:31
cdruc
Рет қаралды 33 М.
What can you build in Golang?!
11:10
Golang Dojo
Рет қаралды 159 М.
I'm Coming Around To Go...
21:33
Theo - t3․gg
Рет қаралды 102 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,4 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,8 МЛН
Blue Mobile 📲 Best For Long Audio Call 📞 💙
0:41
Tech Official
Рет қаралды 1 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,2 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 287 М.