@http-forge/cli 0.2.16 → 0.2.17
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 +7 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,16 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
The standalone launcher, terminal, and automation CLI for [HTTP Forge](https://marketplace.visualstudio.com/items?itemName=henry-huang.http-forge).
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Use it to launch HTTP Forge from terminal, run API collections and suites in CI/CD, manage MCP server lifecycle, and generate JUnit/HTML reports.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Built for Postman-compatible workflows: import Postman collections/environments and run them with Postman-style scripting and assertions.
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
The launcher will ensure VS Code and the HTTP Forge extension are installed in the target profile before opening it.
|
|
27
|
-
- Launch from CLI: `http-forge launch`
|
|
28
|
-
- VS Code Marketplace: [HTTP Forge](https://marketplace.visualstudio.com/items?itemName=henry-huang.http-forge) (optional if you want to install/manage it directly)
|
|
23
|
+
For the full interactive experience, run `http-forge launch`.
|
|
24
|
+
The launcher ensures VS Code and the HTTP Forge extension are installed in the target profile before opening it.
|
|
25
|
+
Marketplace: [HTTP Forge](https://marketplace.visualstudio.com/items?itemName=henry-huang.http-forge)
|
|
29
26
|
|
|
30
27
|
## Who It Is For
|
|
31
28
|
|
|
@@ -37,7 +34,7 @@ The launcher will ensure VS Code and the HTTP Forge extension are installed in t
|
|
|
37
34
|
|
|
38
35
|
## Why HTTP Forge CLI
|
|
39
36
|
|
|
40
|
-
- Launch
|
|
37
|
+
- Launch HTTP Forge in standalone UI mode with one command.
|
|
41
38
|
- Run API tests in CI/CD without a GUI.
|
|
42
39
|
- Use the same HTTP Forge workspace in editor and terminal.
|
|
43
40
|
- Generate JUnit and HTML reports for team visibility.
|
|
@@ -46,7 +43,7 @@ The launcher will ensure VS Code and the HTTP Forge extension are installed in t
|
|
|
46
43
|
|
|
47
44
|
## Works With
|
|
48
45
|
|
|
49
|
-
-
|
|
46
|
+
- HTTP Forge workspaces and collections
|
|
50
47
|
- OpenAPI specs
|
|
51
48
|
- Postman imports
|
|
52
49
|
- GitHub Actions, Jenkins, GitLab CI, and other pipelines
|
|
@@ -179,23 +176,6 @@ http-forge run request "Get Users" --collection "my-api" --env dev
|
|
|
179
176
|
http-forge run folder "Auth/Login" --collection "my-api" --env dev
|
|
180
177
|
```
|
|
181
178
|
|
|
182
|
-
## Import Postman Environment
|
|
183
|
-
|
|
184
|
-
```bash
|
|
185
|
-
# Import Postman environment export
|
|
186
|
-
http-forge import env --postman ./MyEnv.postman_environment.json
|
|
187
|
-
|
|
188
|
-
# Import into a specific env and overwrite existing vars
|
|
189
|
-
http-forge import env --postman ./MyEnv.postman_environment.json --env staging --overwrite
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
## Import Postman Collection
|
|
193
|
-
|
|
194
|
-
```bash
|
|
195
|
-
# Import collection from Postman export
|
|
196
|
-
http-forge import collection --postman ./MyApi.postman_collection.json
|
|
197
|
-
```
|
|
198
|
-
|
|
199
179
|
## CI/CD Example
|
|
200
180
|
|
|
201
181
|
```bash
|
package/package.json
CHANGED