app command group is the path between the two:
build compiles the repository’s sources, push makes the app blob’s draft equal that build, pull copies edits made
in the visual editor back, commit turns the draft into a version, and ls lists the versions. What an app is, and
how an organization installs it, is defined elsewhere; this group makes the files.
The examples use the fictional Field Reports app, acme-corp/field-reports.
The repository
app.yaml, blobs/ and schemas/, with README.md and LICENSE. Everything else is the repository’s.
app.yaml and each folder’s blob.yaml are the definition
formats; a blob’s content and runtime are described there.
The loop
- Develop in the repository.
blobhub app push --install reports-devbuilds, uploads what changed to the app blob’s draft, and installs the draft over a development installation in the same organization. A second run sends only what changed. It confirms by itself over a new or development installation whose plan deletes no blob; a plan that deletes one, or a committed installation that isuninstalled, waits for--yes. A ready or failed installation of committed versions never takes the draft,--yesor not (--install).- Edit visually where it helps. A development installation’s blobs are editable, so the workflow editor and the playground work on them as on any blob.
blobhub app pull reports-devcopies those edits back intoblobs/<alias>/definitions/.blobhub app commit -m "Weekly digest"makes the draft the version inapp.version.
build/ is the app blob
build/ has the sources’ paths, with two differences: code and widgets are compiled into the definitions, so src/
and widget projects are not copied, and each manifest loses its build keys. The app blob holds build/ file for file,
except README.md and LICENSE, which become the draft’s Readme and License. It is a pure function of the sources, so
the same sources give the same bytes and a second push uploads nothing. Git ignores build/; it is disposable, and
build warns with BUILD_NOT_IGNORED when it is not ignored.
The first push creates the app blob
The firstpush creates the app blob named by app.alias, in the organization --org names, private, and waits until
it is ready. An alias held by a blob this key cannot read is BLOB_NOT_ACCESSIBLE, and one held by a blob of another
type is BLOB_TYPE_MISMATCH. A push whose
blob’s default revision is already committed creates a new draft revision first. Nothing else is created: the blobs the
app makes are made by an installation, never by a push.
The commands
The CLI never waits on input. A command that would ask a question prints what it found and refuses, and
--yes is how
a confirmation is given; the installation commands are in the installer group.
See also
- Building an App — the whole path with Field Reports, from the repository to an install in another organization.
- App blob type — revisions, versions and who may push and commit.
app.yamlandblob.yaml— the formatsbuildreads.- Installer blob type — installations, development installations and the log.
- Installer commands — install, uninstall, remove, list and follow an installation.
- Error codes — every code these commands can raise.

