All too often, we select apps on the basis of features. Support for performing repetitive tasks efficiently and without error is much more important.
A command which is seriously pernickety about its parameters, and sends all its output to the standard error stream. Such fun.
I was surprised to discover that few books on Swift explain how to use its structured documentation system. No wonder we don’t document our code properly.
It’s time to clean up my code and factor out functions for re-use. This turns out to be straightforward.
Staple functions for scripts, it is vital that they are readily accessible from Swift if it is to be used for scripting.
How to run a shell command with root privileges from with Swift. The roundabout way.
It can be valuable to know how to restart, run a command, and open an app using Terminal, AppleScript, and different methods in the Finder.