# DotMock CLI

> Create, configure, test, inspect, publish, rollback, and deliver mocks from a terminal or CI.

- Canonical URL: https://dotmock.com/docs/guides/cli
- Capability status: Available
- Last verified: 2026-07-24

## Prerequisites
- The DotMock CLI installed
- A team-scoped management credential
- The target workspace ID in $API_ID

## In this guide
- Install, authenticate, and verify scope
- Discover before creating
- Create from a contract or prompt
- Configure complete endpoint behavior
- Run deterministic dry-runs
- Automate protobuf and streaming mocks
- Import and exercise SOAP contracts
- Receive and inspect webhooks
- Keep publish and rollback explicit

## Verified boundaries
- Generic `dotmock test --kind llm` is Planned even though fixture management and live provider routes are available.

Read the canonical guide for its complete examples and expected results: https://dotmock.com/docs/guides/cli
