Add a shell completion when the user selects a book #6

Closed
opened 2025-10-27 16:08:19 +00:00 by foresle · 3 comments
Owner

When a user tries to update the progress of a book, they need to list all books before. But the modern shells, like fish, can automatically autocomplete commands or parameters.

When a user tries to update the progress of a book, they need to list all books before. But the modern shells, like fish, can automatically autocomplete commands or parameters.
foresle added this to the 0.2.0 milestone 2025-10-27 16:08:19 +00:00
foresle self-assigned this 2025-10-27 16:08:19 +00:00
Author
Owner

Will use ValueParser with clap_complete.

Will use ValueParser with clap_complete.
foresle added reference feature/add-autocomplete 2025-10-28 11:35:19 +00:00
foresle stopped working 2025-10-28 12:01:42 +00:00
27 minutes 39 seconds
Author
Owner

Unfortunately it is not possible to create dynamic completion for the books. But I added completion for all parameters and commands.

Unfortunately it is not possible to create dynamic completion for the books. But I added completion for all parameters and commands.
Author
Owner

Added in c3dc7651b3.

Added in c3dc7651b3.
foresle stopped working 2025-10-29 10:22:16 +00:00
58 minutes 40 seconds
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 1 hour 26 minutes
foresle
1 hour 26 minutes
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: foresle/book_shelf#6
No description provided.