def METHOD_NAME(self, arg: str) -> None:
    """
    List queues: get queue names and number of jobs per queue.
    Usage: list_queues [queue=QUEUE_NAME] [task=TASK_NAME] [status=STATUS]
                       [lock=LOCK]
    Jobs can be filtered by queue name, task name, status and lock.
    Example: list_queues task=sums status=failed
    """
    kwargs = parse_argument(arg)
    for queue in self.job_manager.list_queues(**kwargs):  # type: ignore
        print(
            f"{queue['name']}: {queue['jobs_count']} jobs ("
            f"todo: {queue['todo']}, "
            f"doing: {queue['doing']}, "
            f"succeeded: {queue['succeeded']}, "
            f"failed: {queue['failed']})"
        )