Command-line arguments are a common way to parameterize execution of programs. For example, swift run hello.swift uses run and hello.swift arguments to the swift program.
To experiment with command-line arguments it’s best to build an executable first.
Next we’ll look at more advanced command-line processing with argument parsing libraries.