def custom_config_path
      argv.each_with_index do |arg, index|
        if arg == "--config-path" || arg == "-c"
          next_arg = argv[index + 1]
          raise ConfigPathNotProvided.new if next_arg.nil?
          raise ConfigPathInvalid.new(next_arg) unless File.file?(next_arg) && File.readable?(next_arg)
          return next_arg
        end
      end
      nil
    end
def custom_config_path
      argv.each_with_index do |arg, index|
        if arg == "--config-path" || arg == "-c"
          next_arg = argv[index + 1]
          raise ConfigPathNotProvided.new if next_arg.nil?
          raise ConfigPathInvalid.new(next_arg) unless File.file?(next_arg) && File.readable?(next_arg)
          return next_arg
        end
      end
      nil
    end
Look for a user-supplied config path by  manually parsing the option.
 Note that we can't use Mixlib::CLI for this.
 To ensure that ChefApply::CLI initializes with correct
 option defaults, we need to have configuraton loaded before initializing it.