Discover Packages
github.com/gloo-foo/cmd-yes
package
module
Version:
v0.1.15
Opens a new window with list of versions in this module.
Published: Aug 4, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Expand ▾
Collapse ▴
Documentation
¶
Yes returns a Source that repeatedly emits a line until the downstream
consumer stops reading (the SIGPIPE analogue), mirroring GNU yes.
Flags:
YesText(s): the operand to repeat (default "y")
YesCount(n): stop after n lines; 0 (the default) repeats forever
YesCount limits the number of repetitions. Zero means repeat forever until
the downstream consumer stops reading. It is an extension beyond POSIX yes,
which always repeats indefinitely.
YesText sets the string to repeat. Default "y" (GNU yes with no operand).
Source Files
¶
Directories
¶
Package alias provides unprefixed re-exports for the yes command.
Package alias provides unprefixed re-exports for the yes command.
Click to show internal directories.
Click to hide internal directories.