quizzes/git: Add preliminary Git quiz (repository creation)
[quizzer.git] / quizzes / git.json
1 {
2         "version": "0.1",
3         "questions": [
4                 {
5                         "class": "ScriptQuestion",
6                         "interpreter": "sh",
7                         "id": "git init",
8                         "prompt": "initialize a Git repository in a new `my-project` directory",
9                         "multiline": true,
10                         "answer": [
11                                         "mkdir my-project",
12                                         "cd my-project",
13                                         "git init"
14                                         ],
15                         "teardown": [
16                                 "git status"
17                                 ],
18                         "help": "http://www.kernel.org/pub/software/scm/git/docs/git-init.html"
19                 },
20                 {
21                         "class": "ScriptQuestion",
22                         "interpreter": "sh",
23                         "id": "git clone",
24                         "prompt": "clone git://github.com/wking/quizzer.git into a new `quizzer` directory",
25                         "answer": "git clone git://github.com/wking/quizzer.git",
26                         "teardown": [
27                                 "cd quizzer",
28                                 "git status"
29                                 ],
30                         "help": "http://www.kernel.org/pub/software/scm/git/docs/git-clone.html"
31                 }
32         ]
33 }