class Bundler::CLI::Package

def setup_cache_all

def setup_cache_all
  all = options.fetch(:all, Bundler.feature_flag.cache_command_is_package? || nil)
  Bundler.settings.set_command_option_if_given :cache_all, all
  if Bundler.definition.has_local_dependencies? && !Bundler.feature_flag.cache_all?
    Bundler.ui.warn "Your Gemfile contains path and git dependencies. If you want "    \
      "to package them as well, please pass the --all flag. This will be the default " \
      "on Bundler 2.0."
  end
end