repost schema init creates a repost/ directory with a working starter schema, a .env file with the two credential placeholders, and the matching .gitignore entries. The starter schema is canonically formatted and generates as-is.
Usage
Options
What it does
- Validates the options. A Go or Python init without
--outputis refused, and a Java or Kotlin init missing arguments reports every missing flag in one error, writing nothing. - Refuses to run if
repost/already exists:`repost/` already exists — refusing to overwrite an existing workspace. - Writes
repost/schema.repostwith a starteruser.createdevent and the generator block for your language. - Adds
REPOST_SEND_API_KEY=""andREPOST_TOKEN=""placeholders to.env, and.envplus the engine’s state directories to.gitignore. Existing lines are never clobbered or duplicated. - Prints language-specific next steps.
1 on any refusal, 0 on success.
Example
Continue
migrate dev
Record the starter schema as your first migration.
languages
The supported languages and their defaults.
Schema workflow
The full init to deploy walkthrough.