Esempio n. 1
0
func init() {
	cmd := Cmd{"ls", true}
	commands.Add(cmd.Name, func() commands.Commander {
		return &cmd
	})
}
Esempio n. 2
0
func init() {
	cmd := Cmd{"mk", "", false, false, map[string]*string{}}
	commands.Add(cmd.Name, func() commands.Commander {
		return &cmd
	})
}
Esempio n. 3
0
func init() {
	cmd := Cmd{"ls-versions", map[string]*bool{}}
	commands.Add(cmd.Name, func() commands.Commander {
		return &cmd
	})
}