Skip to content

A free, self-hostable news aggregator…

Document CLI example to count all feeds (#9238)

Alexandre Alapetitea6a27cb1fe15
diff --git a/cli/README.md b/cli/README.md
index 49b0f6123..85ebb0e28 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -238,6 +238,12 @@ Example to get the number of feeds of a given user:
./cli/user-info.php --user alex --json | jq '.[] | .feeds'
```
+Example to count the total number of feeds across all users:
+
+```sh
+./cli/user-info.php --json | jq '[.[].feeds] | add'
+```
+
Example to get the name of the users who have not been active since a given date:
```sh