In this lesson readLine() is used to get input from the user to create a command-line text app. Also seen in this lesson is the use of the repeat-while loop to keep playing a scenario if some condition is true. The app is made using a macOS Command Line Tool. The app can be run in Xcode or Terminal. In the terminal, the following command runs the app $ swift main.swift