reovim-client-cli 0.14.4

Reovim CLI client - command-line interface using gRPC v2
Documentation

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 notation
  • mode - Get current editor mode
  • cursor - Get cursor position
  • buffers - List open buffers
  • buffer [ID] - Get buffer content
  • ping - Health check
  • version - Get server version

Protocol

This CLI uses gRPC v2 transport, not JSON-RPC v1. Connect to a server started with --grpc <PORT>.