Sha256: 9ec30e14b8912b77e1a0c20d86f39b82cc5062fabeea1c48a6a134189af6c890
Contents?: true
Size: 485 Bytes
Versions: 23
Compression:
Stored size: 485 Bytes
Contents
# -*- coding: utf-8 -*- Gemirro::CLI.options.command 'update' do banner 'Usage: gemirro update [OPTIONS]' description 'Updates the list of Gems' separator "\nOptions:\n" on :c=, :config=, 'Path to the configuration file' run do |opts, _args| Gemirro::CLI.load_configuration(opts[:c]) source = Gemirro.configuration.source versions = Gemirro::VersionsFetcher.new(source).fetch gems = Gemirro::GemsFetcher.new(source, versions) gems.fetch end end
Version data entries
23 entries across 23 versions & 1 rubygems