<commit_before>module Beehive
  module Command

    class Help < Base

      def run(o={})
        commands = build_help.map do |klass|
          "#{klass.to_s.top_class.ljust(20)}#{klass.description}"
        end.join("\n")
        colored_say o[:msg] if o[:msg]
        colored_say "<line>
<yellow>Beehive</yellow>
<line>
Commands

#{commands}
Help                Display this screen
"
      end

      def build_help
        Dir["#{File.dirname(__FILE__)}/*"].each do |lib|
          require lib
        end
        self.class.base_classes.reject do |klass|
          !klass.respond_to?(:description)
        end
      end

      def colored_say str
        out = Colors.process(str)
        puts out
        Colors.reset!
      end

    end
  end
end<commit_msg>Note about -h on beehive commands<commit_after>module Beehive
  module Command

    class Help < Base

      def run(o={})
        commands = build_help.map do |klass|
          "#{klass.to_s.top_class.ljust(20)}#{klass.description}"
        end.join("\n")
        colored_say o[:msg] if o[:msg]
        colored_say "<line>
<yellow>Beehive</yellow>
<line>
Commands

#{commands}
Help                Display this screen
<line>
All commands support a -h flag for usage details
"
      end

      def build_help
        Dir["#{File.dirname(__FILE__)}/*"].each do |lib|
          require lib
        end
        self.class.base_classes.reject do |klass|
          !klass.respond_to?(:description)
        end
      end

      def colored_say str
        out = Colors.process(str)
        puts out
        Colors.reset!
      end

    end
  end
end
{'fraction_non_alphanumeric': 0.10820895522388059, 'fraction_numerical': 0.0024875621890547263, 'mean_word_length': 1.9577205882352942, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 12, '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': '5200651', 'n_tokens_mistral': 512, 'n_tokens_neox': 515, 'n_words': 126}