Skip to content

JumpstartLab/cli-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome

Description

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:

  • kitchen_calculator
  • waiting_room_manager
  • ticket_dispenser

Getting Started

Fork and clone the cli-exercises repository.

$ cd ~/your/project/dir
$ git clone [email protected]:USERNAME/cli-exercises.git
$ cd classes-exercises

Create a branch so that you're not changing master:

$ 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 [email protected]: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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published