TheFox / flickr-cli

A command-line interface to Flickr. Upload and download photos, photo sets, directories via shell.
https://fox21.at
25 stars 9 forks source link

Fix metadata storing, add a 'force download' option, and some docs #11

Closed samwilson closed 7 years ago

samwilson commented 7 years ago

This updates some documentation, refactors the base execute() method of the Download command, fixes the URL of the original file that's downloaded, prevents display of a progress bar if we don't know the full size of the photo, avoids the non-existant fileNameCountup() function, and introduces a new 'force' option that will re-download a photo even if it already exists locally.

Refs #10

samwilson commented 7 years ago

PHP 5.3 has been end-of-life for more than two years. I'd be in favour of updating the requirement to ~5.6 || ~7.0; what do you think? Or maybe just 5.5?

I've hopefully fixed the undefined object errors (by returning early, and not saving metadata).

TheFox commented 7 years ago

So it's better if we change from 5.3 to 5.4?

samwilson commented 7 years ago

5.4 and 5.5 are both end-of-life already. So I think going for 5.6 as a minimum makes most sense. This tool is aimed at the sort of people who are probably running more up to date versions (i.e. not ancient shared hosting environments etc.).

TheFox commented 7 years ago

I see.