tp-capture

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command tp-capture records real Targetprocess API responses for use as test fixtures.

Usage:

TP_DOMAIN=your.tpondemand.com TP_TOKEN=yourtoken go run ./cmd/tp-capture

It will make a set of representative API calls, record the responses, redact all sensitive data, and write simulation files to testdata/simulations/.

Jump to

Keyboard shortcuts

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