@main.command()<EOL>@click.option('<STR_LIT:-c>', '<STR_LIT>', is_flag=True,<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', is_flag=True,<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', default=None,<EOL>help='<STR_LIT>')<EOL>def update(check, enter_parameters, version):
if check:<EOL><INDENT>if temple.update.up_to_date(version=version):<EOL><INDENT>print('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>msg = (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL>raise temple.exceptions.NotUpToDateWithTemplateError(msg)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>temple.update.update(new_version=version, enter_parameters=enter_parameters)<EOL><DEDENT>
Update package with latest template. Must be inside of the project
folder to run.

Using "-e" will prompt for re-entering the template parameters again
even if the project is up to date.

Use "-v" to update to a particular version of a template.

Using "-c" will perform a check that the project is up to date
with the latest version of the template (or the version specified by "-v").
No updating will happen when using this option.