Sha256: 722bb0f2b57c1a99614cb7bd4387c99c9fdd73d131be2f92c6c66c2bdb35fd97
Contents?: true
Size: 550 Bytes
Versions: 7
Compression:
Stored size: 550 Bytes
Contents
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
7 entries across 7 versions & 1 rubygems