@parse_keyval_args
    def do_purge_queue(self, vhost, qname):
        msgcount = self.request('purge_queue', vhost, qname)
        print("Purged messages: %s\n" % msgcount)
Removes all messages from a named queue.
dataset/ETHPy150Open bkjones/bunnyq/bunnyq.py/Bunny.do_purge_queue