From 40efa4435f16b84b61d3249f79ac71b8b304dd88 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Mon, 26 Apr 2021 09:43:38 +0000 Subject: [PATCH] Update 'Better CLI tools' --- Better-CLI-tools.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Better-CLI-tools.md b/Better-CLI-tools.md index c2d7ba4..fe78b16 100644 --- a/Better-CLI-tools.md +++ b/Better-CLI-tools.md @@ -7,11 +7,11 @@ | What | OG | Better | Lang | Multi | How to install | | ------------------------- | -------- | --------- | ---- | ------------- | ---------------------------------- | | Find text in files | grep | [ripgrep] | Rust | ✔️ | `cargo install ripgrep` | -| List files in a directory | ls | [exa] | Rust | ❌1 | `cargo install exa` | +| List files in a directory | ls | [exa] | Rust | ❌1| `cargo install exa` | | Read file content | cat | [bat] | Rust | ✔️ | Package manager (+ choco) | | Find files by name | find | [fzf] | Go | ✔️ | Package manager (+ choco) | | Count lines of code | cloc | [loc] | Rust | ✔️ | `cargo install loc` | -| Navigate/manipulate JSON | _N/A_ | [jq] | C | ✔️ | Package manager (+ choco) | +| Navigate/manipulate JSON | *jq?* | [yq] | Go | ✔️ | `go get github.com/mikefarah/yq/v4`| | Navigate/manipulate HTML | _N/A_ | [pup] | Go | ✔️ | `go get github.com/ericchiang/pup` | | Static HTTP file server | _[many]_ | [ran] | Go | ✔️ | `go get -u github.com/m3ng9i/ran` | @@ -24,5 +24,6 @@ [exa]: https://the.exa.website/ [many]: https://gist.github.com/willurd/5720255 [ran]: https://github.com/m3ng9i/ran +[yq]: https://github.com/mikefarah/yq 1. `exa` doesn't compile on Windows