Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Bookbot - implement "find" command #1

Open
issmirnov opened this issue Jul 10, 2015 · 1 comment
Open

[Suggestion] Bookbot - implement "find" command #1

issmirnov opened this issue Jul 10, 2015 · 1 comment

Comments

@issmirnov
Copy link

Hey,

I really like your bot - it's fast, well done, and light on resources. What are your thoughts on implementing a "find" command? I personally have many books, so navigating by hand can be tedious. I'm imagining something like this:

/settype epub # (saves user's preferred file extension)
/find mistborn # (runs find $BOOKROOT -iname "*mistborn*.epub". Returns list of top 10 results)
/dl 7 # (download 7th file)

Thoughts?

@rockneurotiko
Copy link
Owner

Hi!

Thanks for using it 😄

I thinked about implementing the find command too, but I can't just execute the find command, because I try this bot to be crossplatform.

But I can iterate over the directory (maybe caching them temporary).

When I finish my exams I'll think about it again, and the user's preferred extension is a really good idea!! =D

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants