MCPcopy
hub / github.com/keploy/keploy / noCommandError

Method noCommandError

cli/provider/util.go:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func (c *CmdConfigurator) noCommandError() error {
15 return errors.New("missing required -c flag or appCmd in config file")
16}
17
18// alreadyRunning checks that during test mode, if user provides the basePath, then it implies that the application is already running somewhere.
19func alreadyRunning(cmd, basePath string) bool {

Callers 2

ValidateMethod · 0.95
ValidateFlagsMethod · 0.95

Implementers 1

CmdConfiguratorcli/provider/cmd.go

Calls 1

NewMethod · 0.65

Tested by

no test coverage detected