func cliHistoryClear(c *minicli.Command) *minicli.Response { resp := &minicli.Response{Host: hostname} minicli.ClearHistory() return resp }
func cliHistoryClear(c *minicli.Command, resp *minicli.Response) error { minicli.ClearHistory() c.Record = false return nil }