Skip to content

Commit

Permalink
feat(docs): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnatarHe committed Dec 15, 2021
1 parent a0d2306 commit 8f76c1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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运维的传奇故事"
# "论法的精神"
Expand Down

0 comments on commit 8f76c1c

Please sign in to comment.