Sfoglia il codice sorgente

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 anni fa
parent
commit
dde719060a
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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
+```