chore: prep for bruno-cli release

This commit is contained in:
Anoop M D 2023-04-01 13:40:23 +05:30
parent 0b65c4580e
commit 78d2393686
6 changed files with 66 additions and 11 deletions

View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2022 Anoop M D, Anusree P S and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,6 +1,6 @@
{
"name": "@usebruno/cli",
"version": "0.3.0",
"version": "0.4.0",
"main": "src/index.js",
"bin": {
"bru": "./bin/bru.js"
@ -11,8 +11,8 @@
"package.json"
],
"dependencies": {
"@usebruno/js": "0.2.0",
"@usebruno/lang": "0.2.2",
"@usebruno/js": "0.3.0",
"@usebruno/lang": "0.3.0",
"axios": "^1.3.2",
"chai": "^4.3.7",
"chalk": "^3.0.0",

View File

@ -1,8 +1,41 @@
# bruno-cli
Bru CLI
With Bruno CLI, you can now run your API collections with ease using simple command line commands.
### Publish to Npm Registry
This makes it easier to test your APIs in different environments, automate your testing process, and integrate your API tests with your continuous integration and deployment workflows.
## Installation
To install the Bruno CLI, use the node package manager of your choice, such as NPM:
```bash
npm publish --access=public
npm install -g @usebruno/cli
```
## Getting started
Navigate to the directory where your API collection resides, and then run:
```bash
bruno run
```
This command will run all the requests in your collection. You can also run a single request by specifying its filename:
```bash
bruno run request.bru
```
Or run all requests in a folder:
```bash
bruno run folder
```
If you need to use an environment, you can specify it with the --env option:
```bash
bruno run folder --env Local
```
## Support
If you encounter any issues or have any feedback or suggestions, please raise them on our [GitHub repository](https://github.com/usebruno/bruno)
Thank you for using Bruno CLI!
## License
[MIT](license.md)

View File

@ -13,8 +13,8 @@
"pack": "electron-builder --dir"
},
"dependencies": {
"@usebruno/js": "0.2.0",
"@usebruno/lang": "0.2.2",
"@usebruno/js": "0.3.0",
"@usebruno/lang": "0.3.0",
"@usebruno/schema": "0.3.1",
"axios": "^0.26.0",
"chai": "^4.3.7",

View File

@ -1,6 +1,6 @@
{
"name": "@usebruno/js",
"version": "0.2.0",
"version": "0.3.0",
"main": "src/index.js",
"files": [
"src",

View File

@ -1,6 +1,6 @@
{
"name": "@usebruno/lang",
"version": "0.2.2",
"version": "0.3.0",
"main": "src/index.js",
"files": [
"src",