Compiled Applications
App Builder apps do not need to be compiled into binaries, which allows for fast iteration, but sometimes compilation might be desired.
Version Hint
This was added in version 0.7.2
Basic compiled application
Given an application in app.yaml we can create a small Go stub:
Compiling this as a normal Go application produces a binary that is an executable version of the app.
Mounting at a sub command
The previous example mounts the application at the top level of the myapp binary, but it can also be mounted at a sub-command level - perhaps there are other compiled-in behaviors to surface:
Here we would end up with myapp embedded [app commands] - the command being mounted at a deeper level in the resulting compiled application. This way an App Builder command can be plugged into any level programmatically.