示例#1
0
func search(c *cli.Context) {
	term := ""
	if len(c.Args()) > 0 {
		term = c.Args()[0]
	}
	action.Search(term, home(c))
}
示例#2
0
文件: helm.go 项目: dwmcallister/helm
func search(c *cli.Context) {
	action.Search(c.Args()[0], home(c))
}