record-cassette

command
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command record-cassette re-records the go-vcr fixtures under internal/policy/testdata/cassettes/ by exercising the policy engine against the real GitHub API, using gh CLI auth. Every mutation it makes is reverted before the process exits, and no request or response body is skipped when stripping the Authorization header, so the checked-in cassette never carries a live credential.

Run with: go run ./scripts/record-cassette KyleKing/gh-sweep

Jump to

Keyboard shortcuts

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