From 8f76c1cfe1c5bd3d04d2294b145276ca1ddd5937 Mon Sep 17 00:00:00 2001 From: AnnatarHe Date: Wed, 15 Dec 2021 21:24:17 +0800 Subject: [PATCH] feat(docs): update docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6df0dc0..941ffb0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ download latest version from [release page](https://github.com/clippingkk/cli/re ## Usage ```bash -ck-cli -i /path/to/My Clippings.txt -o /path/output.json +ck-cli parse -i /path/to/My Clippings.txt -o /path/output.json cat My Clippings.txt | ck-cli -o /path/output.json cat My Clippings.txt | ck-cli > file.json ``` @@ -37,8 +37,8 @@ output format is json. and it will be like this: You can compose any *nix command to process the result, like this: ```bash -cat ./core/clippings_en.txt | ck-cli | jq .[].title | sort | uniq -# 返回内容: +cat ./core/clippings_en.txt | ck-cli parse | jq .[].title | sort | uniq +# result text should be like this: # "Bad Blood: Secrets and Lies in a Silicon Valley Startup" # "凤凰项目 一个IT运维的传奇故事" # "论法的精神"