def error(message, level="error", exit_code=1, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"error: {}".format(message), **kwargs)
    sys.exit(exit_code)
def send(self, command):
        if self._bufferedCommands is None:
            self._bufferedCommands = command
        else:
            self._bufferedCommands += "\n" + command