def read_stdin
import cswap-bend-cli@0.1.0.0/fs.bend as Fsimport Base
170# What is on standard input, up to 1 MiB, in one read: "" at end of file. The
171# CLI reads stdin once (a token, a confirmation), so one read is enough.
172def read_stdin() -> IO(Res(String)):
173 IO.bind(Res(File), Res(String), File.open("/dev/stdin", "r"), read.stdin)