Skip to content

I want to add min-cards flag to the drill command #181

Description

@konyahin

Hello.
I used hashcards for the last six months and I think that it is an awesome idea and a cool program.

What I personally need is the ability to repeat more cards that are due today. It's not only me, see #124. So I want to implement a new flag for the drill subcommand - --min-cards.

Example of usage:

$ hashcards drill --min-cards 20 --card-limit 10
--min-cards cannot be greater than --card-limit
$ hashcards drill --min-cards 10

The last command will open the browser with ten cards, the ones closest to their due date.

I have a working prototype locally that I used for the last few days, and (if you're willing to review this and agree with this new feature) I can submit it as a PR in a week. I still need to fix tests and write new ones.

I wrote all the code myself, but I used Opus 4.7 for review.

What do you think? Can I open a PR?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions