浏览代码

CLI another example: users ranked by activity date

https://github.com/FreshRSS/FreshRSS/issues/1345
https://github.com/FreshRSS/FreshRSS/issues/1358
Alexandre Alapetite 9 年之前
父节点
当前提交
dde719060a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      cli/README.md

+ 6 - 0
cli/README.md

@@ -72,3 +72,9 @@ Example showing user information for all users which username starts with 'a':
 ```sh
 ```sh
 ./cli/list-users.php | grep '^a' | xargs -n1 ./cli/user-info.php -h --user
 ./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
+```