In Windows, I enjoy the ability to toggle the "LAN" NIC between a known static IP and DHCP from the command line interface (CLI) via .bat files:
netsh interface ip set address name="LAN" static 192.168.1.88 255.255.255.0 192.168.1.20 1 netsh interface ip set address "LAN" dhcp
What would be the OSX CLI equivalent? When configuring network devices, I find myself frequently toggling between DHCP <==> Static IP configurations on the CLI.
There seem to be plenty of examples of performing this task via the GUI, however, this does not lend itself to frequent toggling between DHCP and a target static IP.
The ability to toggle between states from the CLI is convenient. It may be the pinnacle-of-convenience to invoke a toggle-script to a Safari \ Firefox button.