You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -18,15 +18,14 @@ npm install -g @coderoad/cli
18
18
##Create
19
19
20
20
```shell
21
-
$coderoad create
21
+
coderoad create
22
22
```
23
23
24
24
Create templates files in the current folder for the content and setup files.
25
25
26
-
27
26
##Build
28
27
29
-
```
28
+
```text
30
29
$ coderoad build [options]
31
30
32
31
options:
@@ -35,22 +34,22 @@ options:
35
34
-d, --dir Tutorial's local directory. Either --git or --dir should be provided.
36
35
-c, --code Branch that contains the code.
37
36
-s, --setup Branch that contains the TUTORIAL.md and coderoad.yaml files.
38
-
-o, --output (Optional) Save the configuration in the output file.
37
+
-o, --output (Optional) Save the configuration in the output file.
39
38
Log into the console if not set
40
39
-h, --help (Optional) Show the help message
41
-
```
40
+
```
42
41
43
42
Build the configuration file to be used by the extension to run the tutorial. The configuration file is created by matching the`level` and`step` ids between the`TUTORIAL.md` and`coderoad.yaml` files against git commit messages with the same ids. For example:
44
43
45
-
46
44
**TUTORIAL.md**
45
+
47
46
```markdown
48
47
...
48
+
49
49
## L10 This is a level with id = 10
50
50
51
51
This level has two steps...
52
52
53
-
54
53
### L10S1 First step
55
54
56
55
The first step with id L10S1. The Step id should start with the level id.