func (etl *metl) runner(c cli.Command) { etl.preRunnerTasks() runnable := c.Name() if runner, ok := etl.runnables[runnable]; ok { runner.Run(c) } else { panic(fmt.Sprintf("Runnable %s not defined!", runnable)) } }