Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorNoOutputInBrocaster = errutil.NewFactory("no output in brocaster") ErrorOutputCountMismatch2 = errutil.NewFactory("output count expect %d but got %d") )
errors
View Source
var Module = cmder.NewModule("shell"). SetUsage("run shell script and log stdout/stderr without tee"). AddFlag( &cli.BoolFlag{ Name: "a", Aliases: []string{"append"}, Usage: "Append the output to the files rather than overwriting them", Destination: &flagAppend, }, &cli.StringSliceFlag{ Name: "stdout", Usage: "Log stdout stream to file, could use multiple times", Value: &flagStdouts, }, &cli.StringSliceFlag{ Name: "stderr", Usage: "Log stderr stream to file, could use multiple times", Value: &flagStderrs, }, ). SetAction(action)
Module info
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.