@cli.register_custom_action('<STR_LIT>')<EOL><INDENT>@exc.on_http_error(exc.GitlabTodoError)<EOL>def mark_as_done(self, **kwargs):<DEDENT>
path = '<STR_LIT>' % (self.manager.path, self.id)<EOL>server_data = self.manager.gitlab.http_post(path, **kwargs)<EOL>self._update_attrs(server_data)<EOL>
Mark the todo as done.

        Args:
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabTodoError: If the server failed to perform the request