Skip to content

Woof


Setup

You're building an app named "woof" 🐶 that helps people identify dogs in movies. Run the following setup commands to get started..

cd path/to/parent/dir/
mkdir woof
cd woof
git init
mkdir dogs
touch dogs/dogs.py
echo "golden retriever" > dogs/dogs.txt
echo "pug" >> dogs/dogs.txt
git add .
git commit -m "added dogs module"

The above commands produce a git repo with a working tree that looks like this

working tree
woof/
  dogs/
    dogs.py
    dogs.txt

and one commit.

Challenge

Now your task is to implement the movies module. Run the following commands to create a movies/ directory with two files.

mkdir movies
touch movies/movies.py
echo "dalmation" >> dogs/dogs.txt
echo "99 Dalmations" > movies/movies.txt
echo "Air Bud" >> movies/movies.txt

Now the working tree looks like this

working tree
woof/
  dogs/
    dogs.py
    dogs.txt
  movies/
    movies.py
    movies.txt

Commit your changes.

Important

Notice as you were implementing the movies module, you remembered to add "lab" to dogs.txt.