grpcweb-cli

Crates.iogrpcweb-cli
lib.rsgrpcweb-cli
version0.1.0
created_at2026-01-23 10:00:34.54703+00
updated_at2026-01-23 10:00:34.54703+00
descriptionA simple command-line client for gRPC-Web
homepage
repositoryhttps://github.com/DorianNiemiecSVRJS/grpcweb-cli
max_upload_size
id2063991
size48,545
Dorian Niemiec (DorianNiemiecSVRJS)

documentation

https://docs.rs/grpcweb-cli

README

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

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:

cargo install grpcweb-cli --git https://github.com/DorianNiemiecSVRJS/grpcweb-cli

License

This project is licensed under the MIT License.

Commit count: 2

cargo fmt