Documentation ¶
Index ¶
Constants ¶
View Source
const MAGICENV = "LAT_MAGIC"
Variables ¶
View Source
var ExitCode int
The main function exits with this code during a normal exit. Set this to the desired value before the Run func returns.
View Source
var RootCmd = &cobra.Command{
Use: "lateral <command>",
Short: "lateral is an easy-to-use process parallelizer",
Long: `Lateral is designed to make it a no-brainer to parallelize processing that would
otherwise be done sequentially. It's designed to be a more powerful 'xargs -P'
while also being low-friction and having as few surprises as possible.
`,
}
This represents the base command when called without any subcommands
View Source
var Viper = viper.New()
The viper instance that will be passed to the implementation of lateral. Not using the global viper makes testing easier.
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.