class Pfm::Command::ValidatorCommands::Base

def read_and_validate_params

def read_and_validate_params
  arguments = parse_options(@params)
  case arguments.size
  when 0
    @params_valid = (@config[:validator_name] == 'infrastructure')
  when 1
    @params_valid = build_exists?
  when 2
  else
    @params_valid = false
  end
end