MCPcopy Index your code
hub / github.com/bitfield/script / ExamplePipe_Echo

Function ExamplePipe_Echo

script_test.go:2332–2336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2330}
2331
2332func ExamplePipe_Echo() {
2333 script.NewPipe().Echo("Hello, world!").Stdout()
2334 // Output:
2335 // Hello, world!
2336}
2337
2338func ExamplePipe_EncodeBase64() {
2339 script.Echo("Hello, world!").EncodeBase64().Stdout()

Callers

nothing calls this directly

Calls 3

NewPipeFunction · 0.92
StdoutMethod · 0.80
EchoMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…