// findCommand finds a command from configuration file.
findCommand finds a command from configuration file.
// findCommand finds a command from configuration file .
func findCommand(commands []config.Command, name string) *config.Cmd {
	for _, command := range commands {
		if command.Name == name {
			return &command.Cmd
		}
	}
	return nil
}
func findCommand ( commands [ ] config . Command , name string ) * config . Cmd { for _ , command := range commands { if command . Name == name { return & command . Cmd } } return nil }
findCommand finds a command from configuration file.
findCommand finds a command from configuration file .