Add status indicator #10

Closed
opened 2021-06-02 12:57:05 +02:00 by tastytea · 0 comments
Owner

In Accessibility of Command Line Interfaces it is recommended to provide status and progress indication.

The normal output is plain text. A status indicator will probably get in the way. Maybe it is best to only show it when using --json or --html (bug #9), formats where the output is only written at the end of the program?

We could update the status from the main thread every X seconds, it could look like this: Processing book 24 of 209 …. What's a reasonable time between updates? I assume it is annoying to update every second. Maybe every 30 seconds?

In [Accessibility of Command Line Interfaces](https://storage.googleapis.com/pub-tools-public-publication-data/pdf/8bc5640eb3c5cf22b9c5cc72647c6035d8d92fc7.pdf) it is recommended to provide status and progress indication. The normal output is plain text. A status indicator will probably get in the way. Maybe it is best to only show it when using `--json` or `--html` (bug #9), formats where the output is only written at the end of the program? We could update the status from the main thread every **X** seconds, it could look like this: `Processing book 24 of 209 …`. What's a reasonable time between updates? I assume it is annoying to update every second. Maybe every 30 seconds?
tastytea added the
enhancement
label 2021-06-02 12:57:05 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tastytea/epubgrep#10
No description provided.