def result_template(self, *command_tokens, **command_env):
		""" Generate template result. command_tokens and command_env arguments are used for template
		detailing

		:param command_tokens: same as command_tokens in :meth:`.WCommandProto.match` and \
		:meth:`.WCommandProto.exec` methods (so as :meth:`.WCommand._exec`)
		:param command_env: same as command_env in :meth:`.WCommandProto.match` and \
		:meth:`.WCommandProto.exec` methods (so as :meth:`.WCommand._exec`)

		:return: WCommandResultTemplate
		"""
		result = WCommandResultTemplate(self.template())
		result.update_context(**self.template_context())
		return result