Short answer: Both run in CI, but the mock source differs. A dedicated mock CLI runs a separately maintained file; a studio CLI generates the mock from the spec, so CI always runs the current contract. The first executes a snapshot; the second derives the target.

What a dedicated mock CLI does

Starts the mock from its file in a container or pipeline. It is a reliable runner and is only as current as the file.

What a studio CLI does

PropertyMock CLIStudio CLI
Mock sourceMock fileSpec
On changeUpdate fileGenerate
Other surfacesSeparateShared
DriftCommonRare

Why the source matters in CI

A generated mock cannot be a stale snapshot, so the tests run against the current contract. A separate file has to be kept in sync by hand.

How they fit

Keep the dedicated CLI for a fixed, bespoke mock and the studio CLI for a spec-derived target. The runner and the source are different concerns.

This is part of the Powerduck vs Mockoon comparison. Next, read templating vs examples.