def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])