bru import takes the source type first, then options that choose the source, the output location, and related settings:
<type> is postman, openapi, or wsdl. To view the options available in your installed version:
Options
Use
--output to write a collection to a directory, or --output-file to write a single collection JSON export (OpenAPI). Postman imports always write OpenCollection YAML. For OpenAPI directory imports, --collection-format chooses between OpenCollection YAML (the default) and classic .bru files.
bru import postman requires Bruno CLI 4.4.0 or higher.Next Steps
- Import Collections - Worked examples for Postman, OpenAPI, and WSDL imports with the options above
- bru run - Run the collection you just imported
- bru docs - Generate HTML API documentation from it