revyl init command sets up your project for local test management and build integration.
Initialize a Project
Navigate to your app’s root directory and run:- Project Setup — auto-detects your build system, creates
.revyl/directory andconfig.yaml - Authentication — checks for existing credentials; opens browser login if needed
- Create Apps — select existing apps (with paginated list) or create new ones for each platform. If an app with the same name already exists, it is automatically linked.
- First Build — build and upload, upload an existing artifact, or skip. If the artifact is not found at the default path, you can provide an alternative location.
- Create First Test — creates a test on the server. If the name already exists, you can link to the existing test, rename, or skip. The test YAML is auto-synced to
.revyl/tests/. - Create Workflow — optionally groups tests into a workflow.
Example Output
Init Options
| Flag | Description |
|---|---|
--project <id> | Link to a specific Revyl project |
-y, --non-interactive | Skip interactive wizard, just generate config |
--detect | Only detect build system, don’t create files |
--force | Overwrite existing configuration |
Project Structure
After initialization, your project will have:Configuration File
The.revyl/config.yaml file controls CLI behavior:
Build Platforms
Build platforms let you configure different build commands for iOS, Android, debug, and release builds.Single Platform Example
Multi-Platform Example
Using Platforms
iOS builds must be simulator
.app bundles (or a zipped .app), not .ipa device builds. Ensure your build command produces a simulator build. See Build Guides for framework-specific instructions.Test Aliases
Test aliases map friendly names to UUIDs, making commands easier to type:When you run
revyl test pull, aliases are automatically created from test names.Workflow Aliases
Similarly, workflow aliases simplify workflow commands:Linking to a Revyl Project
To link your local project to a Revyl project:config.yaml:
Detected Build Systems
The CLI auto-detects these build systems:| Build System | Detection |
|---|---|
| Gradle | build.gradle or build.gradle.kts |
| Xcode | *.xcodeproj or *.xcworkspace |
| Expo | app.json with expo key |
| Flutter | pubspec.yaml with flutter dependency |
| React Native | package.json with react-native dependency |