func main() { executable := say.Executable{ Name: "analyzer", Description: "Analyzer analyzes data", CommandGroups: scenarios.GenerateCommandGroups(), } say.Invoke(executable) }
func main() { say.Invoke(say.Executable{ Name: "proctor", CommandGroups: []say.CommandGroup{ { Name: "Actions", Description: "Classroom management", Commands: []say.Command{ commands.NewCreateCommand(), commands.NewDescribeCommand(), commands.NewDestroyCommand(), commands.NewListCommand(), commands.NewRunCommand(), }, }, }, }) }