<commit_before>require "optparse"

module Pomotrap

  module Cmd

    class RunnerOptions < Hash
      attr_reader :opts

      def initialize(args)
        super()

        @opts = OptionParser.new do |o|
          o.banner = "Usage: #{File.basename($0)} [options]"
          
          o.on( '-n', '--now', "Retrieve To Do Today sheet." ) do |n|
            self[:now] = true
          end
          
          o.on('-a', '--add [DESCRIPTION]', 'Add a new Task to To Do Today sheet') do |task|
            self[:task] = task || "a task"
          end<commit_msg>make description mandatory<commit_after>require "optparse"

module Pomotrap

  module Cmd

    class RunnerOptions < Hash
      attr_reader :opts

      def initialize(args)
        super()

        @opts = OptionParser.new do |o|
          o.banner = "Usage: #{File.basename($0)} [options]"
          
          o.on( '-n', '--now', "Retrieve To Do Today sheet." ) do |n|
            self[:now] = true
          end
          
          o.on('-a', '--add DESCRIPTION', 'Add a new Task to To Do Today sheet') do |task|
            self[:task] = task
          end
{'fraction_non_alphanumeric': 0.1313220940550133, 'fraction_numerical': 0.001774622892635315, 'mean_word_length': 1.7246376811594204, 'pattern_counts': {'":': 0, '<': 5, '<?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': '503959', 'n_tokens_mistral': 354, 'n_tokens_neox': 341, 'n_words': 107}