Is there a way of automate the export of an app?

Is there a way of automate the export of an app? 

 Discussion posts and replies are publicly visible