Skip to content

CLI reference ​

CommandPurpose
archetype initCreate a function project and discovery-file skeleton
archetype doctorCheck Node, Docker, Compose and Gateway health
archetype runtime upStart the self-hosted stack
archetype project createCreate a project
archetype origin addRegister an HTTPS application origin
archetype db addEncrypt and bind a PostgreSQL/MySQL URL
archetype devRun Gateway, Function Host and Worker from source
archetype deployBundle, hash and activate functions and workers
archetype logsRead the latest project audit records
archetype well-known generateCreate the same-origin discovery file

Administrative automation calls require an explicitly configured ARCHETYPE_ADMIN_TOKEN; there is no default token. project create accepts --organization. Human administrators should use the OIDC-backed enterprise console instead. Database binding reads ARCHETYPE_DATABASE_URL so the URL does not need to appear as a command argument.

Released under Apache-2.0.