#!/usr/bin/env python -W ignore
'''
                 *** The command line interface for pyPczcomp ***                                                                                                                                  
'''
import argh
from CoRe import pypczcomp

########################################################
#                      ENTRY POINT                     #
########################################################
@argh.dispatch_command

@argh.arg('--quick', action='store_true', help='skip time-consuming comparisons')
@argh.arg('--nvecs', type=int, default=10, help='number of eigenvectors to compare over')
@argh.arg('-i','--input', nargs='*', type=str, help='Input pczfiles to compare.')

def main(**kwargs):
    class Struct(object):
        def __init__(self, entries):
            self.__dict__.update(entries)
    args = Struct(kwargs)
    pypczcomp.pczcomp(args)
