Documentation ¶
Index ¶
Constants ¶
View Source
const OttoSkipCleanupEnvVar = "OTTO_SKIP_CLEANUP"
OttoSkipCleanupEnvVar, when set, tells Otto to avoid cleaning up its temporary workspace files, which can be helpful for debugging.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run runs the given command and streams all the output to the given UI. It also connects stdin properly so that input works as expected.
func ShouldCleanup ¶
func ShouldCleanup() bool
ShouldCleanup returns true for normal operation. It returns false if the user requested that Otto avoid cleaning up its temporary files for debugging purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.