The following exercises are designed to teach you how to work with creating Read–eval–print loop (REPL) and Command Line Interface (CLI) applications. Each step of this adventure you will be presented with a series of problems to solve. Your objective is to implement the functionality defined in the tests. You finish a step when all the tests pass. Each exercise can be solved independently, however, each step increases in difficulty as it introduces more complexity and different concepts.
Suggested order of exercies:
Fork and clone the
$ cd ~/your/project/dir $ git clone email@example.com:USERNAME/cli-exercises.git $ cd classes-exercises
Create a branch so that you're not changing
$ git checkout -b make-tests-pass
Keeping in sync with the upstream repository
origin is your fork of the project. We'll need to connect to the upstream repository.
To do this, add a new remote named upstream that points to the JumpstartLab:
$ git remote add upstream firstname.lastname@example.org:JumpstartLab/classes-exercises.git
Then pull down the updated version of upstream:
$ git fetch upstream
And now make sure you're on master:
$ git checkout master $ git branch # should say *master
Make master point to the exact commit that upstream/master is pointing at:
$ git reset --hard upstream/master