MCPcopy Create free account
hub / github.com/cloudwan/gohan / Command

Method Command

cli/cli.go:619–619  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

617
618func (o options) Args() []string { return o.OptArgs }
619func (o options) Command() string { return o.OptCommand }
620func (o options) Dir() string { return o.OptDir }
621func (o options) Interval() time.Duration { return time.Duration(o.OptInterval) * time.Second }
622func (o options) PidFile() string { return o.OptPidFile }

Callers 1

execCommandFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected