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
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ This is the official command line tool for [Boot.dev](https://www.boot.dev/). It
18
18
-[1. Install Go](#1-install-go)
19
19
-[2. Install the Boot.dev CLI](#2-install-the-bootdev-cli)
20
20
-[3. Login to the CLI](#3-login-to-the-cli)
21
+
-[Running and Submitting Lessons](#running-and-submitting-lessons)
21
22
-[Configuration](#configuration)
22
23
-[Base URL for HTTP tests](#base-url-for-http-tests)
23
24
-[CLI colors](#cli-colors)
@@ -114,6 +115,34 @@ fish_add_path $HOME/go/bin
114
115
115
116
Run `bootdev login` to authenticate with your Boot.dev account. After authenticating, you're ready to go!
116
117
118
+
## Running and Submitting Lessons
119
+
120
+
When you reach a CLI lesson, the Boot.dev CLI can detect it from your course progress. Run the lesson's checks without submitting it with:
121
+
122
+
```sh
123
+
bootdev run
124
+
```
125
+
126
+
Submit the lesson for completion with:
127
+
128
+
```sh
129
+
bootdev submit
130
+
```
131
+
132
+
The lesson UUID is optional. You can still provide it explicitly to either command:
133
+
134
+
```sh
135
+
bootdev run UUID
136
+
bootdev submit UUID
137
+
```
138
+
139
+
To run the checks and submit the lesson in one command, use the `--submit` (`-s`) flag. The UUID is optional here as well:
140
+
141
+
```sh
142
+
bootdev run -s
143
+
bootdev run -s UUID
144
+
```
145
+
117
146
## Configuration
118
147
119
148
The Boot.dev CLI offers a couple of configuration options that are stored in a config file (default is `~/.bootdev.yaml`, or `$XDG_CONFIG_HOME/bootdev/config.yaml` if `XDG_CONFIG_HOME` is set).
@@ -151,7 +180,7 @@ The CLI text output is rendered with extra colors: green (e.g., success messages
151
180
- To customize these colors, run:
152
181
153
182
```sh
154
-
bootdev config colors --red VALUE --green VALUE --gray VALUE
183
+
bootdev config colors --red VALUE --green VALUE --gray VALUE --magenta VALUE --yellow VALUE
155
184
```
156
185
157
186
_You can use an [ANSI color code](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) or a hex string as the `VALUE`._
0 commit comments