How to build command line tools on shifting sands
▻https://hackernoon.com/how-to-build-command-line-tools-on-shifting-sands-af11ffcd9da9?source=rs
The shifting tides of code and hype, deprecate and bit rot all the things. So, how do we build things that last? I recently built two command line tools and put careful thought into maximising their longevity. In this post I’ll share some of those thoughts.Search hard for existing solutions“Someone must have done something about this issue,” I thought while I searched frantically. But really, I was not able to find a command line tool that would convert a mysql connection string to connection parameters that could be fed to either the mysql or mysqldump commands.# This is what I wanted to write in the terminal, but could not. $ mysqldump mysql://username:pw@examplesite.com:3306/dbnameAll the tools I found required you to manually decipher the connection string and break it up into (...)
#command-line-tools #command-line #shifting-sands #nodejs #javascript