def confirm(tag):
click.echo()<EOL>if click.confirm('<STR_LIT>'.format(<EOL>tag=click.style(str(tag), fg='<STR_LIT>')),<EOL>default=True, abort=True):<EOL><INDENT>git.create_tag(tag)<EOL><DEDENT>if click.confirm(<EOL>'<STR_LIT>'.format(<EOL>tag=click.style(str(tag), fg='<STR_LIT>')),<EOL>default=True):<EOL><INDENT>git.push_tag(tag)<EOL>click.echo('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>git.delete_tag(tag)<EOL>click.echo('<STR_LIT>')<EOL><DEDENT>
Prompts user before proceeding