def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def __init__(self,title,richtext,text):
        self.title=title
        self.richtext=richtext
        self.text=text