@run.command(context_settings=CONTEXT_SETTINGS)
@click.option('--params', '-p', multiple=True, default=None, nargs=2, help='Set parameter. First argument is path to parameter separated by ";". Second is the value.python -m scaffan gui -p Processing;Show True')
@click.option('--print-params', '-pp', is_flag=True, help='Print parameters')
def gui(params, print_params):
    mainapp = algorithm.AnimalWatch()
    if print_params:
        make_print_params(mainapp)
        exit()
    set_params(mainapp, params)
    mainapp.start_gui()
@run.command(context_settings=CONTEXT_SETTINGS)
@click.option('--params', '-p', multiple=True, default=None, nargs=2, help='Set parameter. First argument is path to parameter separated by ";". Second is the value.python -m scaffan gui -p Processing;Show True')
@click.option('--print-params', '-pp', is_flag=True, help='Print parameters')
def gui(params, print_params):
    mainapp = algorithm.AnimalWatch()
    if print_params:
        make_print_params(mainapp)
        exit()
    set_params(mainapp, params)
    mainapp.start_gui()