Add cli hints to the first three levels

This commit is contained in:
blinry 2021-02-18 12:39:18 +01:00
parent 437cbb7a37
commit 7ecc55a3fb
10 changed files with 75 additions and 15 deletions
levels/intro

View file

@ -9,6 +9,12 @@ Here, let's practice this!
(Your teacher pours some water into a glass.)
[cli]
Again, instead of using the card, you can also type the commands which are printed on it into the black terminal below!
This is totally optional! But this will be a super useful skill in the real world - and it will give you a sparkling golden badge! :)
[setup]
echo "The glass is full of water." > glass

View file

@ -5,10 +5,13 @@ cards = init
You've been accepted to time travel school! Yay! It's your first day! Your teacher explains:
"To do anything with a time machine, you first need to initialize it! Go ahead, try it!"
"To do anything with a time machine, you first need to initialize it!"
Drag the blue card up to play it!
[cli]
Instead of playing a card, you can slo type 'git init' directly into your terminal!
Instead of using the card, you can also type `git init` into the black box below, and press the enter key!
[setup]

View file

@ -1,14 +1,20 @@
title = Working together
cards = clone checkout commit-auto pull push
cards = clone commit-auto pull push
[description]
Let's add your name to our list of students!
I already have this list my time machine - let's work together!
Let's add your name to our list of students! I already have this list my time machine - let's work together!
Drag the "clone" card to my name to make your own copy of my timeline!
[cli]
To clone the teacher's repo via the command line, you need this command:
git clone ../teacher .
(Don't forget the dot at the end!)
[congrats]
Welcome to time travel school! :) I'll see you for your first class tomorrow!