Golang Tutorial: Build A Beautiful CLI Todo App With Support for Piping
ฝัง
- เผยแพร่เมื่อ 8 ก.ย. 2024
- We learned how to build a beautiful command line application in the Go programming language in this short screencast.
We cover essential topics like working with command line arguments in Go. How to pipe output of another program to your Go application.
Here are some important links
The full code is at github.com/joe...
The ASCII Table Library is at github.com/ale...
Please support me by subscribing to my channel. Thank you.
You sound like God himself is speaking from the skies and guiding me on building a todo app with go
And how do you know god sound XD
Wow such great content! I really hate how the algorithm only pushes the same old content and same channels over and over. It's hard to fool the algorithm to introduce quality channels. Thanks for the videos.
Thanks for the video. You have a nice deep voice!
Thank you for this amazing app! I enhanced it a little bit and started using it to track my daily todos..
Great Stuff !!
thanks for this tutorial, im going to practice this
Thanks.
You, sir, are amazing and I’ve subscribe!
Learning how to build a CLI with Snape's voice
good job, thank You!
thanks for sharing
Brilliant!
Excellent.
Is there any go application which doesn't use external library or package ? Go advertises that we shouldn't use external library. Just curious.
Yes, you can build your own table library but it would be a a lot of work.
They don't say that you *shouldn't* use external libraries, but they are not required quite so much as in other languages. Concurrency, networking, http services, JSON encoding, testing, etc. are all in the standard libraries. Most basic application functions can be built without any external packages.
Well done sir, able CTO
Wow really great video for practice with Go. Thank you joseph
Very useful thankyou
Which theme are you using?
Thanks
Cool.
yt algorithm recommended your channel. that for me is a huge deal and I love what you'r doing.
this is great content; but poor delivery.
You said the content is great. Then, what's the problem?
Slow?
-- watch at 1.25x
Too small letters?
--- watch in your TV through comcast.
problem solved
this is awesome. it helped me create my first ever cli program. I plan on making a cli interface for all my planned go projects and this is foundation for prototyping and testing until I learn a gui framework/language. looking to far ahead ... I'd like to pass in a flag with optional or multiple info to place in a struct.
todo -add name='project A, tscode=spec001.
any advise on how to do that?
Thank you for the feedback. Check out this package for handling advanced flags and many more github.com/spf13/cobra
@@abahjoseph thanks!
which editor ?
I would try to rewrite this in rust if I have the time
can you please explain how to setup vscode for makefile from scratch i am not able to make it
Please note: If you are on Windows, kindly ignore the make command. You can use the regular "go build" or "go run" commands.
If your code editor is Visual Studio Code, you can access Make using the built-in terminal. Go to the Menu bar -> Terminal -> New Terminal.
@@abahjoseph thankyou it's working
Weldone boss but when can we have the rest part of it?
A Todo app with REST API?
what theme are you using, on the Jetbrains editor please ?
So sorry, this was my old laptop, and I can`t remember exactly the name of the theme. I mostly use the Atom* themes.
@@abahjoseph i found it its material ui theme
+1 for JetBrains font.
What IDE are you using?
it's GoLand IDE by JetBrains
Can I do this in python?
What's tye name of this theme?
What editor you are using ?
VSCode
@@abahjoseph This cannot be VSCode, looks more like GoLand