Example #1
0
func main() {
	runner.Execute(runner.Context{
		BaseDir:  runner.Base(),
		Runner:   "class",
		Tool:     "xp.command.Runner",
		Includes: []string{"."},
		Args:     os.Args[1:],
	})
}
Example #2
0
func main() {
	context := runner.Context{
		BaseDir:  runner.Base(),
		Runner:   "class",
		Includes: []string{"."},
	}
	parseArgs(&context, os.Args)

	runner.Execute(context)
}