forked from extern/bruno
fix: fixed bru cli typos
This commit is contained in:
parent
942b75861c
commit
96e368cb18
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@usebruno/cli",
|
"name": "@usebruno/cli",
|
||||||
"version": "0.4.2",
|
"version": "0.4.3",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"bru": "./bin/bru.js"
|
"bru": "./bin/bru.js"
|
||||||
|
@ -13,22 +13,22 @@ npm install -g @usebruno/cli
|
|||||||
## Getting started
|
## Getting started
|
||||||
Navigate to the directory where your API collection resides, and then run:
|
Navigate to the directory where your API collection resides, and then run:
|
||||||
```bash
|
```bash
|
||||||
bruno run
|
bru run
|
||||||
```
|
```
|
||||||
This command will run all the requests in your collection. You can also run a single request by specifying its filename:
|
This command will run all the requests in your collection. You can also run a single request by specifying its filename:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bruno run request.bru
|
bru run request.bru
|
||||||
```
|
```
|
||||||
|
|
||||||
Or run all requests in a folder:
|
Or run all requests in a folder:
|
||||||
```bash
|
```bash
|
||||||
bruno run folder
|
bru run folder
|
||||||
```
|
```
|
||||||
|
|
||||||
If you need to use an environment, you can specify it with the --env option:
|
If you need to use an environment, you can specify it with the --env option:
|
||||||
```bash
|
```bash
|
||||||
bruno run folder --env Local
|
bru run folder --env Local
|
||||||
```
|
```
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
Loading…
Reference in New Issue
Block a user