Skip to content

A free, self-hostable news aggregator…

CLI another example: users ranked by activity date

Alexandre Alapetitedde719060afe
diff --git a/cli/README.md b/cli/README.md
index 09dcbd27e..35c0033a4 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -72,3 +72,9 @@ Example showing user information for all users which username starts with 'a':
```sh
./cli/list-users.php | grep '^a' | xargs -n1 ./cli/user-info.php -h --user
```
+
+Example showing all users ranked by date of last activity:
+
+```sh
+./cli/user-info.php -h --user '*' | sort -k2 -r
+```