浏览代码

docs(jsontools): document requirements

Fixes #10834
Marc Cornellà 4 周之前
父节点
当前提交
45516ca1d8
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      plugins/jsontools/README.md

+ 11 - 0
plugins/jsontools/README.md

@@ -8,6 +8,17 @@ To use it, add `jsontools` to the plugins array in your zshrc file:
 plugins=(... jsontools)
 ```
 
+## Requirements
+
+The plugin uses one of these tools to process JSON data, in the following order:
+
+- `node`
+- `python3`
+- `ruby`
+
+Any of these must be in `$PATH` before the plugin is loaded, otherwise the plugin exits
+prematurely and the functions will not be available.
+
 ## Usage
 
 Usage is simple... just take your json data and pipe it into the appropriate jsontool: