Skip to main content
Creates a momentic.config.yaml in the current directory. The command refuses to run if that file already exists. Use the onboarding wizard below when you also want sample tests and modules.
init scaffolds new mobile projects with fileFormat: v2. Sample tests and modules emitted by the onboarding wizard are written in the simplified format directly, so you do not need to migrate. Existing v1 mobile projects should run momentic-mobile migrate simplified-format instead of re-running init.

Options

string
Project name to write into the generated momentic.config.yaml. When omitted, the command prompts for one and defaults to app.
boolean
Accepts the defaults for every prompt so the command runs in a non-TTY shell such as CI or a coding agent. The project name defaults to app unless --name is given.

Examples

Scaffold a project in the current directory:
Scaffold a project without any prompts:
Scaffold a project non-interactively with a fixed name: