in main/cmds.go [11:21]
type cmdfunc func(lg ExtensionLogger, hEnv vmextension.HandlerEnvironment, seqNum int) error
type prefunc func(lg ExtensionLogger, seqNum int) error
// Add more fields as necessary
type cmd struct {
f cmdfunc // associated function
name string // human readable string
shouldReportStatus bool // determines if running this should log to a .status file
pre prefunc // executed before any status is reported
failExitCode int // exitCode to use when commands fail
}