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

Version Path
gemirro-0.13.2 lib/gemirro/cli/update.rb
gemirro-0.13.1 lib/gemirro/cli/update.rb
gemirro-0.12.0 lib/gemirro/cli/update.rb
gemirro-0.11.0 lib/gemirro/cli/update.rb
gemirro-0.10.5 lib/gemirro/cli/update.rb
gemirro-0.10.4 lib/gemirro/cli/update.rb
gemirro-0.10.3 lib/gemirro/cli/update.rb
gemirro-0.10.2 lib/gemirro/cli/update.rb
gemirro-0.10.1 lib/gemirro/cli/update.rb
gemirro-0.10.0 lib/gemirro/cli/update.rb
gemirro-0.9.1 lib/gemirro/cli/update.rb
gemirro-0.9.0 lib/gemirro/cli/update.rb
gemirro-0.8.1 lib/gemirro/cli/update.rb
gemirro-0.8.0 lib/gemirro/cli/update.rb
gemirro-0.7.0 lib/gemirro/cli/update.rb
gemirro-0.6.0 lib/gemirro/cli/update.rb
gemirro-0.5.0 lib/gemirro/cli/update.rb
gemirro-0.4.0 lib/gemirro/cli/update.rb
gemirro-0.3.0 lib/gemirro/cli/update.rb
gemirro-0.2.0 lib/gemirro/cli/update.rb