class ChefCLI::Command::GeneratorCommands::Repo

def read_and_validate_params

def read_and_validate_params
  arguments = parse_options(params)
  @repo_name_or_path = arguments[0]
  unless @repo_name_or_path
    @params_valid = false
  end
  if !config[:roles].nil? && !config[:policy].nil?
    err("Roles and Policyfiles are exclusive. Please only select one.")
    @params_valid = false
  end
  if config[:roles]
    @use_policy = false
  end
end