@mistweaverco/kulala-cli 0.1.0 → 0.2.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 +10 -2
- package/dist/cli.cjs +59486 -150
- package/dist/install-backend.cjs +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -95,6 +95,12 @@ Only print output when a request fails:
|
|
|
95
95
|
kulala run --quiet ./requests
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
+
Stop after the first failing request or file:
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
kulala run --halt ./requests
|
|
102
|
+
```
|
|
103
|
+
|
|
98
104
|
Select an environment for variable resolution:
|
|
99
105
|
|
|
100
106
|
```sh
|
|
@@ -120,8 +126,10 @@ or `--column`, `<path>` must be a single `.http` or
|
|
|
120
126
|
|
|
121
127
|
### Exit behaviour
|
|
122
128
|
|
|
123
|
-
kulala-cli exits with code `1` when any request fails.
|
|
124
|
-
|
|
129
|
+
kulala-cli exits with code `1` when any request fails. By default, all requests
|
|
130
|
+
in a file and all files in a directory are run even when failures occur. Pass
|
|
131
|
+
`--halt` to stop after the first failing request within a file and skip remaining
|
|
132
|
+
files in a directory.
|
|
125
133
|
|
|
126
134
|
Success is determined by kulala-core's `success` flag, so operators such as
|
|
127
135
|
`// @kulala-expect-status-code` are respected (for example, an expected `404` is
|