def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def chunkstring(s, n):
    return [ s[i:i+n] for i in xrange(0, len(s), n) ]