func outputComponentResults(ui libkb.UI, action string, crs []keybase1.ComponentResult) {
	term := ui.GetTerminalUI()
	for _, cr := range crs {
		cn := install.ComponentNameFromString(cr.Name)
		term.Printf("%s %s: %s\n", action, cn.String(), cr.Status.Desc)
	}
}
示例#2
0
func outputComponentResults(g *libkb.GlobalContext, action string, crs []keybase1.ComponentResult) {
	for _, cr := range crs {
		cn := install.ComponentNameFromString(cr.Name)
		g.Log.Info("%s %s: %s", action, cn.Description(), cr.Status.Desc)
	}
}
示例#3
0
func (v *CmdUninstall) outputResult(result keybase1.UninstallResult) {
	for _, cr := range result.ComponentResults {
		cn := install.ComponentNameFromString(cr.Name)
		v.G().Log.Info("%s: %s", cn.String(), cr.Status.Desc)
	}
}