<commit_before>module VraptorScaffold
  module Runner

    class Configure

      def run(args)
        plugin_name = args.first
        require plugin_name
        plugin_name.gsub('-','_').camelize.constantize.new(args).invoke_all
      end
    end
  end
end
<commit_msg>help support for this guy<commit_after>module VraptorScaffold
  module Runner

    class Configure

      def run(args)
        if VraptorScaffold::Runner::Help.help?(args.first) || args.size < 2
          puts "vraptor configure usage:"
          puts "\tvraptor configure PLUGIN_NAME"
        elsif File.exist?("src")
          plugin_name = args.first
          require plugin_name
          plugin_name.gsub('-','_').camelize.constantize.new(args).invoke_all
        else
          puts "To run vraptor plugin please go to the project root folder."
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08323699421965318, 'fraction_numerical': 0.0011560693641618498, 'mean_word_length': 2.356589147286822, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4502972', 'n_tokens_mistral': 266, 'n_tokens_neox': 269, 'n_words': 66}