bru: add page (#12203)

* bru: add page

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
pull/23/head
Nicolas Kosinski 2024-02-07 06:01:52 +01:00 committed by GitHub
parent 780f1ae0d3
commit cab28ffce7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 28 additions and 0 deletions

28
pages/common/bru.md Normal file
View File

@ -0,0 +1,28 @@
# bru
> CLI for Bruno, an Opensource IDE for exploring and testing APIs.
> More information: <https://docs.usebruno.com/cli/overview.html>.
- Run all request files from the current directory:
`bru run`
- Run a single request from the current directory by specifying its filename:
`bru run {{file.bru}}`
- Run requests using an environment:
`bru run --env {{environment_name}}`
- Run requests using an environment with a variable:
`bru run --env {{environment_name}} --env-var {{variable_name}}={{variable_value}}`
- Run request and collect the results in an output file:
`bru run --output {{path/to/output.json}}`
- Display help:
`bru run --help`