@letsrunit/cli 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/index.js +974 -5
- package/dist/index.js.map +1 -1
- package/package.json +7 -8
- package/src/index.ts +10 -0
- package/src/run-explain.ts +35 -0
- package/src/run-explore.ts +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# CLI
|
|
4
4
|
|
|
5
|
-
The `letsrunit` CLI allows you to explore websites, generate Gherkin features using AI,
|
|
5
|
+
The `letsrunit` CLI allows you to explore websites, generate Gherkin features using AI, run tests locally, and explain recent failures.
|
|
6
6
|
|
|
7
7
|
## Commands
|
|
8
8
|
|
|
@@ -24,6 +24,13 @@ Executes a Gherkin feature file against a target URL.
|
|
|
24
24
|
yarn cli run <url> ./features/login.feature
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
### `explain`
|
|
28
|
+
Explains failures from the latest run in `.letsrunit/letsrunit.db`.
|
|
29
|
+
```bash
|
|
30
|
+
yarn cli explain
|
|
31
|
+
yarn cli explain --db .letsrunit/letsrunit.db --artifacts .letsrunit/artifacts
|
|
32
|
+
```
|
|
33
|
+
|
|
27
34
|
## Options
|
|
28
35
|
- `-v, --verbose`: Enable verbose logging.
|
|
29
36
|
- `-s, --silent`: Only output errors.
|