From a5cb25a970a4402d8312f2447eb8c2e65f893c00 Mon Sep 17 00:00:00 2001 From: disksing Date: Mon, 29 Jul 2019 11:21:18 +0800 Subject: [PATCH] update readme --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c387d3d..ca67894 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,20 @@ https://github.com/tikv/tikv https://github.com/pingcap/pd ## Install + +Download the [latest release](https://github.com/disksing/mok/releases) then unzip the binary to your PATH: + +``` + $ unzip mok-vX.X-OS-ARCH.zip + $ move mok-vX.X-OS-ARCH/mok /usr/local/bin/ +``` + +You can also manually build it by yourself: + ``` - $ go get github.com/disksing/mok - $ go install github.com/disksing/mok + $ git clone https://github.com/disksing/mok.git + $ cd mok + $ GO111MODULE=on go build -o /usr/local/bin/mok ``` ## Usage @@ -36,6 +47,4 @@ $ mok 7A7480000000000007FF8F5F728000000000FF083BBA0000000000FAFA6C400A6673FFFE ## TODO - [ ] build keys -- [x] setting output format of keys - [ ] decode tidb meta keys -- [x] decode index values