Sha256: bdc6a7a66bf35bd6ef6695194661a5c6dfb92b1028a0115320e3677ee25ce267
Contents?: true
Size: 581 Bytes
Versions: 3
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true 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' on :l=, :log_level=, 'Set logger level' run do |opts, _args| Gemirro::CLI.load_configuration(opts[:c]) config.logger_level = opts[:l] if opts[:l] source = Gemirro.configuration.source versions = Gemirro::VersionsFetcher.new(source).fetch gems = Gemirro::GemsFetcher.new(source, versions) gems.fetch end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gemirro-1.5.0 | lib/gemirro/cli/update.rb |
gemirro-1.4.0 | lib/gemirro/cli/update.rb |
gemirro-1.3.0 | lib/gemirro/cli/update.rb |