use parser.parse_known_args() instead of parser.parse_args()
Throw an error if there are unrecognized arguments
Beginnings of a reprocess command
Added a set_media_type function that has checks to only reprocess one media_type at a time
add reprocess_all function. still need to add code to reprocess all failed entries
added a _run_reprocessing function which handles the hook calls
Just raise standard exception. Pass print statement to gettext
Pep 8
added a set_media_state function. removed the --all flag (just don't enter any media_ids to process all media). slight refactor
refactored _run_reprocessing
make media_id an optional argument
add command option for regenerating all thumbnails
pep 8
end of day commit
added a parser for the image media_type reprocessing
added a check_eligible function to image reprocessing
added image reprocessing
add option to not run eagerly
very rough working version of image reprocessing
added comments and did a little refactoring. not sure if it is actually any clearer though