-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add optional headers to cli scripts #2294
Copy link
Copy link
Closed
Labels
Good first issue 1️⃣Beginner friendly - New contributors are welcomeBeginner friendly - New contributors are welcomehelp wanted
Milestone
Description
The script output would be more easily readable if there was headers outputted. It could be an option to output the headers or not (--headers true or --headers false).
I was thinking about something like that:
>php cli/user-info.php -h --user myuser --headers false
* myuser 2019-03-22T22:10:11+01:00 5.77 MiB 4 categories 20 feeds 909 reads 1 unreads 2 favourites
>php cli/user-info.php -h --user myuser --headers true
admin username last update total space used # of categories # of feeds # of reads posts # of unreads posts # of favorite posts
-----|--------|-------------------------|----------------|---------------|----------|----------------|------------------|-------------------
* myuser 2019-03-22T22:10:11+01:00 5.77 MiB 4 categories 20 feeds 909 reads 1 unreads 2 favouritesReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good first issue 1️⃣Beginner friendly - New contributors are welcomeBeginner friendly - New contributors are welcomehelp wanted