Show HN: Dave – CLI Personal assistant written in Go
github.com
github.com
I am comparing go with other scripting languages like python, which has all the libraries to write a CLI itself.
Is there any particular reason....
I think a CLI would be the closest thing for me right now to start with. And I really wanted a way to block websites and add reminder quickly. Since I work as a programmer I always have a terminal open so it made sense for me. In the end, it was just a simple way to start learning Go.
go install
to create a full-contained binary that I could distribute to everyone. People can put the binary somewhere on their PATH, for example: `/usr/local/bin`, and then be able to run it like any other shell command.If you already have python installed then it isn't too much trouble to run a .py file by doing
python mycli.py
But if you have a bin on your PATH you could just run mycli
without having to install Go or any of the dependancies because they're bundled up in the binary.edit: I should add that it is possible to cross-compile with Go, so if someone on my team wasn't on the same OS as me I could support them as well