code: def empty(rq, ctx, all, queues):
      "Empty given queues."
      return ctx.invoke(
          rq_cli.empty,
          all=all,
          queues=queues or rq.queues,
          **shared_options(rq)
      f empty(rq, ctx, all, queues):
      "Empty given queues."
      return ctx.invoke(
          rq_cli.empty,
          all=all,
          queues=queues or rq.queues,
          **shared_options(rq)
      )
docs: Empty given queues.