func GetMpdevCommands()

in mpdev/cmd/commands.go [26:39]


func GetMpdevCommands(name string) (c []*cobra.Command) {
	pkgCmd := commands.GetPkgCommand(name)
	cfgCmd := commands.GetConfigCommand(name)
	fixDocs(regexp.MustCompile(`\bkpt\b`), name, pkgCmd, cfgCmd)
	applyCmd := GetApplyCommand()
	testCmd := GetTestCommand()
	tfCmd := GetTfCommand()

	c = append(c, pkgCmd, cfgCmd, applyCmd, testCmd, tfCmd, versionCmd)

	// apply cross-cutting issues to command
	commands.NormalizeCommand(c...)
	return c
}