hackappcom / iloot

OpenSource tool for iCloud backup extraction
https://hackapp.com/
637 stars 201 forks source link

Add command line arguments, for item type specifiers, PEP-8 styling #3

Closed dlo closed 9 years ago

dlo commented 9 years ago

I figured you might want to check this out. I made some of the variables easier to understand, used enumerate in places where indices were manually being incremented, and made a bunch of other changes enforced by PEP-8.

I also added a command line argument to change the output directory, and another to let users specify exactly which item types they'd like to download from a snapshot (can now choose between one or more of sms, voicemails, address_book, photos, call_history, and calendar). Check out the README for details.

Cheers!

dlo commented 9 years ago

BTW, if you want to get a good idea for the actual code changes, check out this link: https://github.com/lionheart/iloot/compare/hackappcom:2d874cf~...lionheart:master

It might be tough to see what's going on since a lot of the spacing was changed from tabs to spaces.

dlo commented 9 years ago

Thanks!