What is a Command Line Interface?
Well, it's an interface that provides a way for a developer to execute programs from commands.
In MacOS, you can do this from the terminal app.
In Windows, you can use Windows Terminal.
Once you know how to open your terminal, you can install npm by following the instructions on this page.
Then, copy and paste npm i -g learnclis
into your terminal and hit 'enter'. That command will download and install this CLI (which is an interactive tour of CLI basics: commands, args, and flags) for you!
From there, enter letsgo start
and follow the prompts to learn more about the basic components of a CLI.
I plan to add some more routes on this choose-your-own-adventure CLI, but I haven't mapped them yet.
I also plan to make it more compliant with these CLI design guidelines, for example, adding a --no-color
flag,