class RuboCop::ConfigRegeneration

def options

Get options from the comment in the TODO file, and parse them as options
def options
  # If there's no existing TODO file, generate one
  return DEFAULT_OPTIONS unless todo_exists?
  match = generation_command.match(COMMAND_REGEX)
  return DEFAULT_OPTIONS unless match
  options = match[1].split
  Options.new.parse(options).first
end