def euler_options(fn):
euler_functions = cheat, generate, preview, skip, verify, verify_all<EOL>for option in reversed(euler_functions):<EOL><INDENT>name, docstring = option.__name__, option.__doc__<EOL>kwargs = {'<STR_LIT>': option, '<STR_LIT>': docstring}<EOL>flag = '<STR_LIT>' % name.replace('<STR_LIT:_>', '<STR_LIT:->')<EOL>flags = [flag] if '<STR_LIT:_>' in name else [flag, '<STR_LIT>' % name[<NUM_LIT:0>]]<EOL>fn = click.option('<STR_LIT>', *flags, **kwargs)(fn)<EOL><DEDENT>return fn<EOL>
Decorator to link CLI options with their appropriate functions