code: def template_click_option(include_build=True):
      
      return click.option('--template', '-t',
                          default=_TEMPLATE_OPTION_DEFAULT_VALUE,
                          type=click.Path(),
                          envvar="SAM_TEMPLATE_FILE",
                          callback=partial(get_or_default_template_file_name, include_build=include_build),
                          show_default=True,
                          help="AWS SAM template file")
docs: Click Option for template option