Skip to content

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

Python

docs: update /cli-anything:list docs with --depth parameter

Lin-Jiong-HDU1be9afd4a6a6
diff --git a/cli-anything-plugin/README.md b/cli-anything-plugin/README.md
index 92ef16820..9e07f841f 100644
--- a/cli-anything-plugin/README.md
+++ b/cli-anything-plugin/README.md
@@ -115,26 +115,34 @@ Validate a CLI harness against HARNESS.md standards and best practices.
/cli-anything:validate https://github.com/blender/blender
```
-### `/cli-anything:list [--path <directory>] [--json]`
+### `/cli-anything:list [--path <directory>] [--depth <n>] [--json]`
List all available CLI-Anything tools, including both installed packages and generated directories.
+**Options:**
+- `--path <directory>` - Directory to search (default: current directory)
+- `--depth <n>` - Maximum recursion depth (default: unlimited). Scans depths 0 through N.
+- `--json` - Output in JSON format
+
**Examples:**
```bash
-# List all tools in current directory
+# List all tools in current directory (unlimited depth)
/cli-anything:list
+# List tools with depth limit
+/cli-anything:list --depth 2
+
# List tools with JSON output
/cli-anything:list --json
-# Search a specific directory
-/cli-anything:list --path /projects/my-tools
+# Search a specific directory with depth limit
+/cli-anything:list --path /projects/my-tools --depth 3
```
**Output includes:**
- Tool name
- Status (installed/generated)
-- Version (for installed)
+- Version
- Source path
## The cli-anything Methodology