def invoke_common_options(f):
invoke_options = [<EOL>template_click_option(),<EOL>click.option('<STR_LIT>', '<STR_LIT>',<EOL>type=click.Path(exists=True),<EOL>help="<STR_LIT>"),<EOL>parameter_override_click_option(),<EOL>click.option('<STR_LIT>', '<STR_LIT>',<EOL>help="<STR_LIT>"<EOL>"<STR_LIT>",<EOL>envvar="<STR_LIT>"),<EOL>click.option('<STR_LIT>',<EOL>help="<STR_LIT>"),<EOL>click.option('<STR_LIT>',<EOL>help="<STR_LIT>",<EOL>envvar="<STR_LIT>"),<EOL>click.option('<STR_LIT>', '<STR_LIT>',<EOL>envvar="<STR_LIT>",<EOL>help="<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"),<EOL>click.option('<STR_LIT>', '<STR_LIT>',<EOL>help="<STR_LIT>"),<EOL>click.option('<STR_LIT>',<EOL>type=click.Path(exists=False, file_okay=False),<EOL>envvar="<STR_LIT>",<EOL>help="<STR_LIT>",<EOL>default=get_default_layer_cache_dir()),<EOL>] + docker_click_options() + [<EOL>click.option('<STR_LIT>',<EOL>is_flag=True,<EOL>help='<STR_LIT>',<EOL>envvar='<STR_LIT>',<EOL>default=False),<EOL>]<EOL>for option in reversed(invoke_options):<EOL><INDENT>option(f)<EOL><DEDENT>return f<EOL>
Common CLI options shared by "local invoke" and "local start-api" commands

:param f: Callback passed by Click