First stage of refactorings. Added new file structure, with only some CLI meta-functionality.
Renamed project from SpeedyPNG to SpeedyImages
Updated readme
Added __pycache__ directories to .gitignore
Added other PNG tools
Added fileutil & report classes, so the code in App will stay clean of irrelevant shit
Moved isFile, isDirectory and getFilesInDirectory to the fileutil module, thus clearing up App some more
- App now has a getOptimizer, which will find the right optimizer object for the filetype.
- Moved getFilesInDirectory and getFiletype to fileutil.
- The tool module now has a baseDir for all tools.
- The QueueItem module now has it's own filetype and size.
Updated readme
Added dependency checks on start-up
CLI will now ouput dependency not found and argument not recognized or file not found errors
CLI now returns an int exit code, 0 on success, 1 if there was an error
Small refactoring: using python % operator instead of str()
Added changelog
exit() method is now outside the try/catch, it wont Throw anymore