Shell scripts are awesome, as we know. Now, we have nice shell scripts that self document. But if you’re anything like me, then you have lots of them in your ~/bin
or wherever you put them. One reason for that is that each script can do one thing and one thing only. Wouldn’t it be nice if we could group different functionalities in the same file?
Shell scripts are awesome. They are so useful to automate repetitive and boring work. The hardest thing about them is documentation though. How often have you written one, put it in the bin
directory and forgot all about it? How cool would it be to have a help message for them?
“Hello, friend?” That’s lame. Maybe I should give you a name… But that’s a slippery slope. You’re only in my head. We have to remember that… Shit. It’s actually happened. I’m talking to an imaginary person.
— Mr. Robot S01E01