ANN: dirhelp - a CLI tool to help new linux users learn the Filesystem Hierarchy Standard

82 views
Skip to first unread message

Jon Renner

unread,
May 20, 2013, 10:09:30 AM5/20/13
to golan...@googlegroups.com
https://github.com/jrenner/linux-directory-help

It's hard for me to think of things to write with Go, but this was a fun little project.  I think Go is nice for little CLI tools like this.  Compiling to native code means no VM or interpreter requirements for users, and I was able to cross-compile the various bins from my linux/amd64 system.  Thanks to Dave Cheney for his cross compile script.

Jon Renner

unread,
May 20, 2013, 10:10:13 AM5/20/13
to golan...@googlegroups.com
Forgot to mention: any criticisms or tips are welcome.  I don't write much Go.

Monnand

unread,
May 21, 2013, 12:53:20 AM5/21/13
to golan...@googlegroups.com
On 05/20/2013 10:10 AM, Jon Renner wrote:
> Forgot to mention: any criticisms or tips are welcome. I don't write
> much Go.

A minor issue: it may be better to make it go-get-friendly.

Now, if I execute

go get github.com/jrenner/linux-directory-help

I get the executable named linux-directory-help. Instead, users may want
to get an executable named, say, dirhelp as shown in README.md.

If you want to do that, you may either change the project's name to
dirhelp or add a sub directory under this project named dirhelp and put
all go code there.

But this is an interesting program and I like it.

Regards,
-Monnand
Reply all
Reply to author
Forward
0 new messages