3 ms·
> To preempt comments saying CLI is too hard for regular people: no, it isn't; they can learn[0] Hear hear. It all comes together when the regular person take
by jancsika 7y ago
> To preempt comments saying CLI is too hard for regular people: no, it isn't; they can learn[0]
Hear hear.
It all comes together when the regular person takes a little time to learn the following three truths[0]:
* the output of any CLI command may be redirected to the input of any other CLI command
* the output template of 99% of commands give you structured, predictable JSON data/metadata on which to operate
* 99% of CLI commands have the same sane defaults and are required by the spec to have the same option syntax for flags
* CLI is CLI. Generating a random number in the CLI on OSX is just as safe as doing the same on OpenBSD, Raspbian, QNX, etc.
[0] Three because I'm starting from zero