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%.
Click to show internal directories.
Click to hide internal directories.