code: def message_option_validator(ctx, param, value):
      
  
      if not value or "{new_version}" not in value:
          ctx.fail("Missing {new_version} placeholder in " f"{value}.")
  
      return value
docs: A commit template must have the **{new_version}** placeholder.