Expand description
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>.
Modules§
- commands
- CLI command implementations.
Structs§
- CliArgs
- CLI arguments for the gRPC v2 CLI client.
- Grpc
Client - gRPC v2 client for interacting with the reovim server.
Enums§
- CliCommand
- CLI commands.
- Grpc
Client Error - Error type for gRPC client operations.
- Output
Format - Output format for CLI results.