CLIReference
Create a workspace
Creates a Turborepo with Ovok web and mobile apps, installs it and makes its first commit.
pnpm create ovok [name] [options]Flags answer their questions; the rest are asked, or take the recommended setup with --yes.
Options
| Option | Type | Default | Description |
|---|---|---|---|
--platform <web|mobile|mobile-web> | string | The apps to start with | |
--type <ios|android> | string | Build the mobile app for one platform only | |
--tenant <code> | string | Ovok tenant code (recommended: public-example) | |
--base-url <url> | string | Ovok API URL (recommended: https://api.sandbox.ovok.com) | |
--yes, -y | boolean | Take the recommended setup for every unanswered question | |
--skip-install | boolean | Do not run pnpm install | |
--disable-git | boolean | Do not create a git repository | |
--help, -h | boolean | Show this help | |
--version, -v | boolean | Show the create-ovok version |
Inside a workspace (pnpm turbo gen runs these)
add <name> --platform web|mobile [--type ios|android]: Add an appadd-package <name>: Add a shared packageagents: Refresh the Ovok rules in every AGENTS.md
Examples
pnpm create ovok my-app
pnpm create ovok my-app --platform web --yesLast updated on