Skip to content

Commit 94fd4b3

Browse files
authored
docs: fix CMDs (zhravan#108)
1 parent 0448031 commit 94fd4b3

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

docs/getting-started.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ golearn --help</code></pre>
5858
<li>Fork and clone the repo, create a feature branch</li>
5959
<li>Build the CLI locally: <code>go build -o bin/golearn ./cmd/golearn && chmod +x bin/golearn</code></li>
6060
<li>Develop your exercise/update under <code>internal/exercises</code></li>
61-
<li>Verify templates (incomplete templates should fail): <code>./bin/golearn verify</code></li>
62-
<li>Verify specific exercise with solution (should pass): <code>./bin/golearn verify 01_hello --solution</code></li>
61+
<li>Verify templates (incomplete templates should fail): <code>golearn verify</code></li>
62+
<li>Verify specific exercise with solution (should pass): <code>golearn verify 01_hello --solution</code></li>
6363
<li>Run auxiliary checks locally: <code>go fmt ./...</code> and <code>go vet ./...</code></li>
6464
<li>Open a Pull Request</li>
6565
</ol>
@@ -88,60 +88,60 @@ golearn --help</code></pre>
8888
<tr>
8989
<td><code>golearn --help</code></td>
9090
<td>Show help and available commands</td>
91-
<td><code>./bin/golearn --help</code></td>
91+
<td><code>golearn --help</code></td>
9292
</tr>
9393
<tr>
9494
<td><code>golearn list</code></td>
9595
<td>List all available exercises</td>
96-
<td><code>./bin/golearn list</code></td>
96+
<td><code>golearn list</code></td>
9797
</tr>
9898
<tr>
99-
<td><code>./bin/golearn verify [exercise]</code></td>
99+
<td><code>golearn verify [exercise]</code></td>
100100
<td>Verify all templates or a specific exercise</td>
101101
<td>
102102
<div><code>golearn verify</code></div>
103103
<div><code>golearn verify 01_hello</code></div>
104104
</td>
105105
</tr>
106106
<tr>
107-
<td><code>./bin/golearn verify [exercise] --solution</code></td>
107+
<td><code>golearn verify [exercise] --solution</code></td>
108108
<td>Verify using the reference solution (should pass)</td>
109109
<td><code>golearn verify 01_hello --solution</code></td>
110110
</tr>
111111
<tr>
112-
<td><code>./bin/golearn hint [exercise]</code></td>
112+
<td><code>golearn hint [exercise]</code></td>
113113
<td>Show hints for a specific exercise</td>
114114
<td><code>golearn hint 01_hello</code></td>
115115
</tr>
116116
<tr>
117-
<td><code>./bin/golearn solution [exercise]</code></td>
117+
<td><code>golearn solution [exercise]</code></td>
118118
<td>View the reference solution (may prompt for confirmation)</td>
119119
<td><code>golearn solution 01_hello</code></td>
120120
</tr>
121121
<tr>
122122
<td><code>golearn progress</code></td>
123123
<td>Display your overall progress</td>
124-
<td><code>./bin/golearn progress</code></td>
124+
<td><code>golearn progress</code></td>
125125
</tr>
126126
<tr>
127-
<td><code>./bin/golearn reset [exercise]</code></td>
127+
<td><code>golearn reset [exercise]</code></td>
128128
<td>Reset an exercise to its starter template</td>
129129
<td><code>golearn reset 01_hello</code></td>
130130
</tr>
131131
<tr>
132132
<td><code>golearn init</code></td>
133133
<td>Initialize local exercise templates</td>
134-
<td><code>./bin/golearn init</code></td>
134+
<td><code>golearn init</code></td>
135135
</tr>
136136
<tr>
137-
<td><code>./bin/golearn publish [--dry-run]</code></td>
137+
<td><code>golearn publish [--dry-run]</code></td>
138138
<td>Run publish routine (use <code>--dry-run</code> to preview)</td>
139139
<td><code>golearn publish --dry-run</code></td>
140140
</tr>
141141
<tr>
142142
<td><code>golearn watch</code></td>
143143
<td>Watch files and re-verify on changes</td>
144-
<td><code>./bin/golearn watch</code></td>
144+
<td><code>golearn watch</code></td>
145145
</tr>
146146
</tbody>
147147
</table>

0 commit comments

Comments
 (0)