Since this is a community of developers, thought I'd share something I wrote recently on the UX of shell scripting: https://codeburst.io/13-tips-tricks...

Thoughts are welcome!

  • 2
    📌 Subscribing to the comments
  • 5
    Good read. Good tips. I am raged when the script doesn't "Print a new line to bid farewell".
  • 2
    Regarding help: I have somehow grown used to cli programs having a "help" command that does the same as the "--help" flag. Like "git help" for example. It's useful to get help on subcommands ("git help push").
    Also, installed executables can (and should) include man pages, so those aren't only for pre-installed binaries.
  • 1
    Great tips. I totally didn't pay much attention to this, but 3 heavily used scripts in my company could use that.
Add Comment