tikv / tikv/client-rust

Command Line Tool

Open
#17 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
425
Forks
163
Avg merge
10h 51m
Merged PRs (30d)
3

Description

This extends #16 in many ways.

This issue proposes we add a feature command-line which enables a binary (src/bin/client.rs) via the required-features field of [bin].

This binary would allow users to call, for example:

$ tikv-client --pd ${PD} raw set key value
$ tikv-client --pd ${PD} raw get key
value

Closing this issue starts by opening an RFC to define the calling conventions. Due to the size of the issue it's advisable to start with raw first, then add transactional later.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #16 and the RFC repository, then inspect src/bin/client.rs and the Cargo [bin] configuration described here. Define the command-line calling conventions in an RFC first; the proposed scope starts with raw get/set commands and can later extend to transactional commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.