#!/usr/bin/env python
"""
cli module for is_cropped
"""
import argparse
import sys

from main import guess_jpg, match


if __name__ == '__main__':
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument('image', type=unicode, nargs=2,
                    help='two paths to two jpeg files.')
    args = parser.parse_args()
    [guess_jpg(p) for p in args.image]
    sys.stdout.write(match(*tuple(args.image)))
    sys.exit(0)

          
