package
1.20240719.1
Repository: https://github.com/blend/go-sdk.git
Documentation: pkg.go.dev

# Functions

ArgsTrailer parses a set of os.Args, and returns everything after the `--` token.
Cmd returns a new command with the fully qualified path of the executable.
CmdContext returns a new command with the fully qualified path of the executable within a context.
CmdParsed returns a command for a full comamnd statement.
CmdParsedContext returns a command for a full comamnd statement within a context..
Cmds returns a list of commands for a given set of statements.
Exec runs a command with a given list of arguments.
ExecContext runs a command with a given list of arguments within a context.
ExecParsed parses a command string into binary and args.
ExecParsedContext parses a command string into binary and args within a context.
Fatal exits the process with a given error.
Fatalf exits the process with a given formatted message to stderr.
Fork runs a command with a given list of arguments.
ForkContext runs a command with a given list of arguments and context.
ForkParsed parses a command into binary and arguments.
ForkParsedContext parses a command into binary and arguments.
IsEPIPE is the epipe erorr.
LimitBytes returns a new max bytes writer.
MustCmd returns a new command with the fully qualified path of the executable.
MustCmdParsed returns a command for a full comamnd statement.
MustCmds returns a list of commands for a given set of statements.
MustPassword gives a prompt and reads input until newlines without printing the input to screen.
MustToFile opens or creates a file and panics on error.
Output runs a command with a given list of arguments.
OutputCmd captures the output of a given command.
OutputContext runs a command with a given list of arguments.
OutputParsed parses a command as binary and arguments.
OutputParsedContext parses a command as binary and arguments with a given context.
ParseCommand returns the bin and args for a given statement.
Password prints a prompt and reads input until newlines without printing the input to screen.
Passwordf gives a prompt and reads input until newlines without printing the input to screen.
Pipe runs commands in sequence, piping combined output to the standard in of the next command.
Prompt gives a prompt and reads input until newlines.
Promptf gives a prompt of a given format and args and reads input until newlines.
PromptFrom gives a prompt and reads input until newlines from a given set of streams.
Put runs a given command with a given reader as its stdin.
PutContext runs a given command with a given reader as its stdin in a context.
PutOutput runs a given command with a given reader as its stdin and captures the output.
ToFile opens or creates a file.
Touch creates a file at a given path.

# Constants

Errors.
Errors.
ErrUnexpectedNewLine is returned from scan.go when you just hit enter with nothing in the prompt.

# Structs

MaxBytesWriter returns a maximum bytes writer.