Chapter 1: The machine

Command

Also called Flag, Argument, Option

One line you give the shell: the name of a program, then flags that change how it behaves, then arguments saying what to work on. In rm -r build, rm is the program, -r is a flag and build is the argument. Spaces separate the pieces.

When an agent asks permission to run something, the command is what you are approving. Read it left to right: which program, which flags, which targets. Slow down for -f or --force, and for a * among the targets.

Say it to your agent

“You want to run rm -rf dist build node_modules. Before I approve it, tell me what each of those folders holds, whether it can be rebuilt, and whether anything outside this project is affected.”

The workshop

Name a word, or describe what you mean in everyday language.