vlatte

command
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 38 Imported by: 0

Documentation

Overview

Command vlatte runs a mock server: it serves the mock files under testdata/vlatte/_mocks in the working directory, and an admin API on an address of its own.

Usage:

vlatte [flags]
vlatte <command> [flags]

Without --addr, it listens on a random port and prints the URL. Settings can also come from a .vlatterc file or VLATTE_* environment variables: run 'vlatte --help' to list them. It can proxy and record a service, and serves the recordings on the next run. When a setting of the grpc section is set, such as --grpc-descriptors, it serves gRPC mocks too. The recipe.github_auth and recipe.oidc sections, such as --recipe-oidc, add the mocks of a built-in recipe.

The commands are:

completion  generate the shell completion script
health      check that a running server serves, as a container health check
mcp         serve the admin API to an AI agent over MCP, on stdin and stdout
openapi     write mock files from an OpenAPI spec
version     print version info

It exits with 0 on success, 2 for invalid settings or usage, and 1 for other errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL