Skip to main content

Technical Decisions

CLI (Command-Line Interface)

A CLI is text commands rather than buttons. It looks archaic and it is how serious work gets automated, which is the reason it has not been replaced.

Definition

A command-line interface is a text prompt where instructions are typed rather than clicked. The terminal window developers spend a great deal of time in.

What It Actually Means

To anyone outside software it looks like a step backwards. It survives because of one property that graphical interfaces do not have.

Why It Has Not Been Replaced

Anything you can type, you can automate.

A sequence of clicks is a sequence somebody has to perform, in order, every time, correctly. The same sequence as typed commands can be saved in a file and run identically forever, by a person or by a machine at three in the morning.

That single property is the foundation of nearly all reliable software practice. Automated deployment, continuous integration, scheduled jobs, environment setup and backups are all sequences of commands that run without a person. None of it is achievable through an interface designed for clicking.

The secondary benefits follow from the same thing: commands are precise, they can be reviewed before they run, and the record of what was executed is exact.

Why It Matters To You

Two commercial consequences.

Manual steps are where errors come from. A process performed by hand is performed differently under pressure. One that runs as a script does not. When a supplier describes a release as a checklist somebody follows, that is a description of a process that will eventually be performed wrong at the worst moment.

Undocumented commands are a dependency on a person. The opposite failure: knowledge that lives in one developer’s command history rather than in a script anybody can run. Both problems are the same problem, which is that the process has not been written down in a form that executes.

So the useful question is whether the important sequences exist as scripts in version control or only as things somebody remembers.

What To Ask

  • Is deployment scripted, or performed by hand? The most revealing version of this question.
  • Could somebody else run it? If the answer requires one specific person, that is a continuity risk.
  • Where do the scripts live? They should be in the repository alongside the code, not on a laptop.
  • How is the environment set up? A documented script beats instructions in a wiki, which beats knowledge in someone’s head.

You Will Not Need To Use It

This is not something a business owner needs to learn, and there is no advantage in pretending otherwise.

What is worth knowing is what it signals. A team that automates through scripts is one whose processes can be repeated and handed over. A team performing important operations by hand, in an interface, without a record, has processes that depend on individuals and degrade under pressure.

That distinction is visible from the outside by asking how deployment happens, and it tells you more about how a system will be maintained than most technical questions would.

More terms are in the glossary.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

What happens next

  1. 1 We reply A real person reads your answers and gets back to you, usually within a few hours.
  2. 2 Questions or a short call If anything isn't clear, we ask by email or book a short call. Before any call we audit your website and make the quick fixes it finds, free.
  3. 3 Your fixed quote A clear, fixed price in writing, within 48 hours of any call. There is no obligation to go ahead.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.