# `grpcweb-cli` - a simple command-line client for gRPC-Web
`grpcweb-cli` is a simple command-line client for gRPC-Web. It allows you to easily interact with gRPC-Web services from the command line.
## Usage
```
A simple command-line client for gRPC-Web
Usage: grpcweb-cli [OPTIONS] --proto <PROTO> --url <URL>
Options:
-p, --proto <PROTO> Path to the Protobuf definition file
-i, --include <INCLUDE> Path to the Protobuf include directory. Default would be a parent directory of the proto file
--protoc Whether to use `protoc` to generate the Protobuf definition file
-d, --data <DATA> The JSON-encoded request data that would be sent to the server
-u, --url <URL> The destination URL (along with the gRPC service route)
-h, --help Print help
-V, --version Print version
```
## Example usage
```bash
grpcweb-cli --proto proto/helloworld/helloworld.proto --url https://localhost:3000/helloworld.Greeter/SayHello --data '{"name": "grpcweb-cli"}'
```
## Installation
You can install `grpcweb-cli` using `cargo`:
```bash
cargo install grpcweb-cli --git https://github.com/DorianNiemiecSVRJS/grpcweb-cli
```
## License
This project is licensed under the MIT License.