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

OptionTypeDefaultDescription
--platform <web|mobile|mobile-web>stringThe apps to start with
--type <ios|android>stringBuild the mobile app for one platform only
--tenant <code>stringOvok tenant code (recommended: public-example)
--base-url <url>stringOvok API URL (recommended: https://api.sandbox.ovok.com)
--yes, -ybooleanTake the recommended setup for every unanswered question
--skip-installbooleanDo not run pnpm install
--disable-gitbooleanDo not create a git repository
--help, -hbooleanShow this help
--version, -vbooleanShow the create-ovok version

Inside a workspace (pnpm turbo gen runs these)

  • add <name> --platform web|mobile [--type ios|android]: Add an app
  • add-package <name>: Add a shared package
  • agents: Refresh the Ovok rules in every AGENTS.md

Examples

pnpm create ovok my-app
pnpm create ovok my-app --platform web --yes

Last updated on

On this page