From 4fd6fdf39fbc8857458697e78db7ced967931120 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Thu, 28 Feb 2019 23:20:35 +0700 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9529f8f..b49fd83 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Command-line JSON processing tool * Interactive mode 🎉 * Themes support 🎨 * Streaming support 🌊 +* Bash completion ## Install @@ -30,7 +31,7 @@ $ brew install fx Or download standalone binary from [releases](https://github.com/antonmedv/fx/releases) page. -Did you like **fx**? [Buy me a beer 🍺](https://paypal.me/antonmedv) or [₿](https://www.wispay.io/t/ZQb) +Did you like **fx**? [Buy me a beer 🍺](https://paypal.me/antonmedv) or [send come ₿](https://www.wispay.io/t/ZQb) ## Usage @@ -78,6 +79,18 @@ Pretty print JSON with dot. $ curl ... | fx . ``` +Stream JSON into fx. +```bash +$ kubectl logs ... -f | fx .message +``` + +Apply fx to a few JSON files. +```bash +$ cat *.json | fx .length +3 +4 +``` + And try this: ```bash $ fx --life