Many thanks Anton.
I've added a comment to that feature request. In essence:
nice thing about Platform is that can streamline 'whole-of-app' development (code
on the phone + server-side/cloud code). Including cloud code in version control
and backups would be another important improvement in this direction"
And thanks also for your hint on handling cloud functions programmatically. Looks interesting.