script

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Code generated by script-contextual/generator DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var NewReadAutoCloser = script.NewReadAutoCloser

Functions

This section is empty.

Types

type Pipe

type Pipe struct {
	*script.Pipe
	// contains filtered or unexported fields
}

func Args

func Args() *Pipe

func At

func At(dir string) *Pipe

func Do

func Do(req *http.Request) *Pipe

func Echo

func Echo(s string) *Pipe

func Exec

func Exec(cmdLine string) *Pipe

func ExecContext

func ExecContext(ctx context.Context, cmdLine string) *Pipe

func File

func File(path string) *Pipe

func FindFiles

func FindFiles(path string) *Pipe

func Get

func Get(url string) *Pipe

func IfExists

func IfExists(path string) *Pipe

func ListFiles

func ListFiles(path string) *Pipe

func NewPipe

func NewPipe() *Pipe

func Post

func Post(url string) *Pipe

func Slice

func Slice(s []string) *Pipe

func Stdin

func Stdin() *Pipe

func (*Pipe) AppendEnv

func (p *Pipe) AppendEnv(env ...string) *Pipe

AppendEnv appends the environment variables for the current pipe.

func (*Pipe) AppendFile

func (p *Pipe) AppendFile(path string) (int64, error)

func (*Pipe) At

func (p *Pipe) At(dir string) *Pipe

func (*Pipe) Basename

func (p *Pipe) Basename() *Pipe

func (*Pipe) Column

func (p *Pipe) Column(a1 int) *Pipe

func (*Pipe) Concat

func (p *Pipe) Concat() *Pipe

func (*Pipe) Dirname

func (p *Pipe) Dirname() *Pipe

func (*Pipe) Do

func (p *Pipe) Do(a1 *http.Request) *Pipe

func (*Pipe) EachLine

func (p *Pipe) EachLine(a1 func(string, *strings.Builder)) *Pipe

func (*Pipe) Echo

func (p *Pipe) Echo(a1 string) *Pipe

func (*Pipe) Exec

func (p *Pipe) Exec(cmdLine string) *Pipe

func (*Pipe) ExecContext

func (p *Pipe) ExecContext(ctx context.Context, cmdLine string) *Pipe

func (*Pipe) ExecForEach

func (p *Pipe) ExecForEach(cmdLine string) *Pipe

func (*Pipe) ExecForEachContext

func (p *Pipe) ExecForEachContext(ctx context.Context, cmdLine string) *Pipe

func (*Pipe) Filter

func (p *Pipe) Filter(a1 func(io.Reader, io.Writer) error) *Pipe

func (*Pipe) FilterLine

func (p *Pipe) FilterLine(a1 func(string) string) *Pipe

func (*Pipe) FilterScan

func (p *Pipe) FilterScan(a1 func(string, io.Writer)) *Pipe

func (*Pipe) First

func (p *Pipe) First(a1 int) *Pipe

func (*Pipe) Freq

func (p *Pipe) Freq() *Pipe

func (*Pipe) Get

func (p *Pipe) Get(a1 string) *Pipe

func (*Pipe) JQ

func (p *Pipe) JQ(a1 string) *Pipe

func (*Pipe) Join

func (p *Pipe) Join() *Pipe

func (*Pipe) Last

func (p *Pipe) Last(a1 int) *Pipe

func (*Pipe) Match

func (p *Pipe) Match(a1 string) *Pipe

func (*Pipe) MatchRegexp

func (p *Pipe) MatchRegexp(a1 *regexp.Regexp) *Pipe

func (*Pipe) Post

func (p *Pipe) Post(a1 string) *Pipe

func (*Pipe) Read

func (p *Pipe) Read(b []byte) (int, error)

func (*Pipe) Reject

func (p *Pipe) Reject(a1 string) *Pipe

func (*Pipe) RejectRegexp

func (p *Pipe) RejectRegexp(a1 *regexp.Regexp) *Pipe

func (*Pipe) Replace

func (p *Pipe) Replace(a1 string, a2 string) *Pipe

func (*Pipe) ReplaceRegexp

func (p *Pipe) ReplaceRegexp(a1 *regexp.Regexp, a2 string) *Pipe

func (*Pipe) SHA256Sums

func (p *Pipe) SHA256Sums() *Pipe

func (*Pipe) Tee

func (p *Pipe) Tee(a1 ...io.Writer) *Pipe

func (*Pipe) WithCurrentEnv

func (p *Pipe) WithCurrentEnv() *Pipe

WithCurrentEnv sets the environment variables to the current process's environment.

func (*Pipe) WithEnv

func (p *Pipe) WithEnv(env []string) *Pipe

WithEnv sets the environment variables for the current pipe.

func (*Pipe) WithEnvKV

func (p *Pipe) WithEnvKV(key, value string) *Pipe

WithEnvKV sets the environment variable key-value pair for the current pipe.

func (*Pipe) WithError

func (p *Pipe) WithError(a1 error) *Pipe

func (*Pipe) WithHTTPClient

func (p *Pipe) WithHTTPClient(a1 *http.Client) *Pipe

func (*Pipe) WithReader

func (p *Pipe) WithReader(a1 io.Reader) *Pipe

func (*Pipe) WithStderr

func (p *Pipe) WithStderr(w io.Writer) *Pipe

func (*Pipe) WithStdout

func (p *Pipe) WithStdout(a1 io.Writer) *Pipe

func (*Pipe) WriteFile

func (p *Pipe) WriteFile(path string) (int64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL