Documentation
¶
Overview ¶
Package exec evaluates shell snippets. Each non-empty line of the entry file is treated as a single command and executed via "bash -c". The result echoes each command prefixed with "$ " followed by its raw combined output, mirroring an interactive shell session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluator ¶
type Evaluator struct {
// Shell is the shell binary used to run commands. Defaults to "bash".
Shell string
}
Evaluator runs shell commands via "bash -c".
Click to show internal directories.
Click to hide internal directories.