Exemple #1
0
func main() {
	executable := say.Executable{
		Name:          "analyzer",
		Description:   "Analyzer analyzes data",
		CommandGroups: scenarios.GenerateCommandGroups(),
	}
	say.Invoke(executable)
}
Exemple #2
0
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(),
				},
			},
		},
	})
}