repl

Yup Shell (yupsh)

An interactive shell — a REPL — for the gloo-foo ecosystem. It composes the gloo-foo/framework typed-stream pipeline out of the gloo-foo/cmd-* command modules, giving a familiar shell interface backed entirely by type-safe Go commands — no external processes for the core tools.

The prompt is yup>; the program is yupsh (Yup Shell, like bash/fish).

Pages

Features

Install

go install github.com/yupsh/repl/yupsh@latest

Installs a yupsh binary to $GOPATH/bin (or $HOME/go/bin).

Quick start

yupsh REPL v0.2.0
Yup Shell — a typed-stream REPL over gloo-foo/framework and cmd-* commands.
Type 'help' for commands, 'exit' to quit.

yup> echo hello world
hello world
yup> seq 1 10 | grep -v 5 | head -n 3
1
2
3
yup> wc -l *.go