Просмотр исходного кода

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 лет назад
Родитель
Сommit
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
 ./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
+```