This is just one example of using various command line tools to help solve a real world problem. I wanted a script to quickly toggle between dark and light mode for the terminal tools that I use and ~20 minutes later it was done.

Here’s the process from start to finish.


Live Coding a Shell Script to Toggle Dark Mode for Terminal Tools
1.40 GEEK