@cli.register_custom_action('<STR_LIT>', ('<STR_LIT>', ))<EOL><INDENT>@exc.on_http_error(exc.GitlabTransferProjectError)<EOL>def transfer_project(self, to_namespace, **kwargs):<DEDENT>
path = '<STR_LIT>' % (self.id,)<EOL>self.manager.gitlab.http_put(path,<EOL>post_data={"<STR_LIT>": to_namespace},<EOL>**kwargs)<EOL>
Transfer a project to the given namespace ID

        Args:
            to_namespace (str): ID or path of the namespace to transfer the
            project to
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabTransferProjectError: If the project could not be transfered