Good naming, consistency, clear communication, and discoverability. These are things that do not only apply to command line programs, but to general development as well.
PHP
Build an Agent-Friendly CLI Tool in PHP and Run It Anywhere With CPX
This tutorial shows how to build a PHP CLI tool that returns JSON, package it for Composer, and run it from anywhere with CPX. It also explains why CPX is a nicer alternative to globally Read more…