1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/bru.md
Nicolas Kosinski cab28ffce7
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>
2024-02-07 10:31:52 +05:30

28 lines
660 B
Markdown

# 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`