Reovim CLI Client - gRPC v2 command-line interface.
This crate provides a CLI client for interacting with reovim servers using the gRPC v2 protocol.
Example
use reovim_client_cli::{CliArgs, CliAction};
#[tokio::main]
async fn main() {
let args = CliArgs::parse();
let result = args.execute().await;
match result {
Ok(output) => println!("{}", output),
Err(e) => eprintln!("Error: {}", e),
}
}
Commands
keys <KEYS>- Send keys in vim notationmode- Get current editor modecursor- Get cursor positionbuffers- List open buffersbuffer [ID]- Get buffer contentping- Health checkversion- Get server version
Protocol
This CLI uses gRPC v2 transport, not JSON-RPC v1.
Connect to a server started with --grpc <PORT>.