Decouple extracting from downloading?
bbelderbos opened this issue · 2 comments
bbelderbos commented
download_bite
calls extract_bite
yet latter is a separate cli option. So I think or download_bite
should not call extract_bite
, or download_bite
should be renamed to download_and_extract_bite
to make this explicit.
I am writing a test working with the coupling for now.
rhelmstedter commented
I had the same thought. I think the best course is to separate them. After we see what Erik comes up with, maybe I can have the extraction as an optional flag. E.g., eatlocal -d 1 -e 1
. I think the only concern will be to ensure the download_bite
function runs before extract_bite
.
rhelmstedter commented
This has been done in the code base, just not pushed to pypi yet.