<commit_before>require File.expand_path(File.dirname(__FILE__) + '/optparsewrapper')
require File.expand_path(File.dirname(__FILE__) + '/showSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/setSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/newSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/moveSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/deleteSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/epicSubcommand')

$subcommands={
  'show' => lambda { | opts, args | handle_show_cmd(opts, args) },
  'set'  => lambda { | opts, args | handle_set_mode(opts, args) },
  'new'  => lambda { | opts, args | handle_new_mode(opts, args) },
  'move' => lambda { | opts, args | handle_move_mode(opts, args) },
  'delete' => lambda { | opts, args | handle_delete_mode(opts, args) },
  'epics' => lambda { | opts, args | handle_epic_cmd(opts, args) }
}

opw = Optparsewrapper.new()
opw.setGlobalUsage('Usage: ih8-jira [options] < set | show | new | move | delete | epic >')
opw.addSubcommand('show', $show_usage, $show_argTable)
opw.addSubcommand('set', $set_usage, $set_argTable)<commit_msg>Added plurality to ih8-jira help for epics<commit_after>require File.expand_path(File.dirname(__FILE__) + '/optparsewrapper')
require File.expand_path(File.dirname(__FILE__) + '/showSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/setSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/newSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/moveSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/deleteSubcommand')
require File.expand_path(File.dirname(__FILE__) + '/epicSubcommand')

$subcommands={
  'show' => lambda { | opts, args | handle_show_cmd(opts, args) },
  'set'  => lambda { | opts, args | handle_set_mode(opts, args) },
  'new'  => lambda { | opts, args | handle_new_mode(opts, args) },
  'move' => lambda { | opts, args | handle_move_mode(opts, args) },
  'delete' => lambda { | opts, args | handle_delete_mode(opts, args) },
  'epics' => lambda { | opts, args | handle_epic_cmd(opts, args) }
}

opw = Optparsewrapper.new()
opw.setGlobalUsage('Usage: ih8-jira [options] < set | show | new | move | delete | epics >')
opw.addSubcommand('show', $show_usage, $show_argTable)
opw.addSubcommand('set', $set_usage, $set_argTable)
{'fraction_non_alphanumeric': 0.16327396098388464, 'fraction_numerical': 0.001272264631043257, 'mean_word_length': 6.105421686746988, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '285341', 'n_tokens_mistral': 792, 'n_tokens_neox': 791, 'n_words': 155}