2 ms·
Right, a CLI is just another UI. Regardless of whether your app has a CLI, GUI, or both normal architecture rules apply. I’m arguing that usually the best desig
by alkonaut 8y ago
Right, a CLI is just another UI. Regardless of whether your app has a CLI, GUI, or both normal architecture rules apply. I’m arguing that usually the best design is a core as a library api with CLI and GUI being two independent applications.
The mistake that is made for some applications in the Unix world is that the CLI app is used as the API, so they are not independent (and the CLI can’t change without breaking guis.