Exemple #1
0
func search(c *cli.Context) {
	term := ""
	if len(c.Args()) > 0 {
		term = c.Args()[0]
	}
	action.Search(term, home(c))
}
Exemple #2
0
func search(c *cli.Context) {
	action.Search(c.Args()[0], home(c))
}