Help us shape the future of Go! Take the 2026 Go Developer Survey

shell-files

command
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

README

Shell and file comparison

The recording uses real CLI binaries and a synthetic loopback API. The scenes show explicit text stdin and preservation after a truncated download. No live API calls or uploads occur. Generated stderr-receipt and manpage updates remain deferred.

Build the fixture:

GOMAXPROCS=2 go build -p 2 -o /tmp/shell-files-demo ./scripts/demos/shell-files

Record a committed candidate against the pinned baseline:

scripts/demos/shell-files/record.sh \
  /path/to/before/openai /path/to/after/openai \
  BEFORE_SHA AFTER_SHA /path/outside/repository/recording /tmp/shell-files-demo

Use an empty output directory. The shared recorder captures source identities, native environment details, hashes, terminal recordings, GIFs, and screenshots. The assertions inspect command exit status, captured output, and exact file bytes. Keep binary media outside Git.

Documentation

Overview

Synthetic loopback API for the shell/file comparison recording.

Jump to

Keyboard shortcuts

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