yupsh

command
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Command yupsh is an interactive REPL over the gloo-foo/framework typed-stream pipeline and the gloo-foo/cmd-* command modules.

It is a thin wiring shim: it binds the process's real stdin, stdout, stderr, and filesystem to the testable app.Session and forwards OS interrupts as context cancellation. On a terminal it drives the session through a golang.org/x/term.Terminal for line editing and command history; otherwise it falls back to plain line scanning. All behaviour lives in the internal/... packages, which are covered to 100%.

Jump to

Keyboard shortcuts

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