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
- Quickly and easily scaffolds an empty directory, creating all required solution files (similar to create-react-app).
11
+
- Quickly and easily scaffolds an empty directory, creating all required solution files.
12
12
- Runs your solutions (both sync and async) and measures performance.
13
13
- Downloads and caches puzzle input files.
14
14
- Submits answers to advent of code.
@@ -176,19 +176,18 @@ Once you've imported a puzzle answer you will probably want to update the corres
176
176
177
177
**Note**: All imported puzzles are set to a runtime of 999 seconds. After importing an answer you will want to run the `solve` command for the puzzle you just imported, running the `solve` command will update the runtime to a real value.
178
178
179
+
Running without the `--no-confirm` flag is the default behavior. If you are importing the answer to a puzzle which already has an entry in your `aocr-data.json` file, then you will be asked to confirm overwriting this data. It shouldn't be an issue to overwrite it in the off chance that it does exist.
180
+
179
181
```
180
182
npm run import <day> <level> <answer>
181
183
```
182
184
183
-
Running without the `--no-confirm` flag is the default behavior. If you are importing the answer to a puzzle which already has an entry in your `aocr-data.json` file, then you will be asked to confirm overwriting this data. It shouldn't be an issue to overwrite it in the off chance that it does exist.
184
-
185
-
#### `--no-confirm` option
185
+
Running with the `--no-confirm` flag will skip any confirmation for overwriting existing data. This option comes in handy when bulk importing answers.
186
186
187
187
```
188
188
npm run import --no-confirm <day> <level> <answer>
189
189
```
190
190
191
-
Running with the `--no-confirm` flag will skip any confirmation for overwriting existing data. This option comes in handy when bulk importing answers.
0 commit comments