<commit_before>require_relative "cli/version"
require 'thor'
require 'resque'

module Resque
  module Cli
    class Queue < ::Thor
      desc "list", "list all queues"
      def list
        puts ::Resque.queues
      end

      desc "remove", "remove a queue"
      def remove(queue_name)
        puts ::Resque.remove_queue(queue_name)
      end

      desc "peek", "peek into a queue"
      def peek(queue_name, start = 0, count = 1)
        puts ::Resque.peek(queue_name, start, count)
      end

      desc "size", "size of a queue"
      def size(queue_name)
        puts ::Resque.size(queue_name)
      end
    end

    class Worker < ::Thor
      desc "list", "list all workers"
      def list
        puts ::Resque.workers
      end

      desc "working", "list all working workers"
      def working
        puts ::Resque.working
      end

      desc "remove", "remove a queue"
      def remove(worker_id)
        puts ::Resque.remove_worker(worker_id)
      end

    end

    class Commander < ::Thor
      desc "info", "resque runtime info"
      def info
        puts ::Resque.info
      end

      desc "queue", "queue commands"
      subcommand 'queue', Queue

      desc "worker", "worker commands"
      subcommand 'worker', Worker
    end
  end
end
<commit_msg>fix worker remove description<commit_after>require_relative "cli/version"
require 'thor'
require 'resque'

module Resque
  module Cli
    class Queue < ::Thor
      desc "list", "list all queues"
      def list
        puts ::Resque.queues
      end

      desc "remove", "remove a queue"
      def remove(queue_name)
        puts ::Resque.remove_queue(queue_name)
      end

      desc "peek", "peek into a queue"
      def peek(queue_name, start = 0, count = 1)
        puts ::Resque.peek(queue_name, start, count)
      end

      desc "size", "size of a queue"
      def size(queue_name)
        puts ::Resque.size(queue_name)
      end
    end

    class Worker < ::Thor
      desc "list", "list all workers"
      def list
        puts ::Resque.workers
      end

      desc "working", "list all working workers"
      def working
        puts ::Resque.working
      end

      desc "remove", "remove a worker"
      def remove(worker_id)
        puts ::Resque.remove_worker(worker_id)
      end

    end

    class Commander < ::Thor
      desc "info", "resque runtime info"
      def info
        puts ::Resque.info
      end

      desc "queue", "queue commands"
      subcommand 'queue', Queue

      desc "worker", "worker commands"
      subcommand 'worker', Worker
    end
  end
end

{'fraction_non_alphanumeric': 0.09398058252427184, 'fraction_numerical': 0.0015533980582524273, 'mean_word_length': 2.111111111111111, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2594009', 'n_tokens_mistral': 810, 'n_tokens_neox': 795, 'n_words': 257}