Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // LogFileName if set to non-empty value, stdout and stderr for the sub-process // will be written to ~/.thelma/logs/<NAME>.out and ~/.thelma/logs/<NAME>.err LogFileName string // CustomExecutable FOR USE IN TESTS ONLY use a custom executable instead of "thelma" CustomExecutable string }
type Spawn ¶
type Spawn interface { // CurrentProcessIsSpawn returns true if the current process is a spawn process CurrentProcessIsSpawn() bool // Spawn spawns a Thelma subcommand in the background, detached // so that it lives even after the currently running process exits. // Its primary use case is Thelma's self-update feature. Spawn(args ...string) error }
Click to show internal directories.
Click to hide internal directories.