Class: Spandx::Rubygems::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/spandx/rubygems/cli.rb

Instance Method Summary collapse

Instance Method Details

#listObject



10
11
12
13
14
# File 'lib/spandx/rubygems/cli.rb', line 10

def list
  index.each do |name, licenses|
    puts [name, licenses].inspect
  end
end

#updateObject



17
18
19
# File 'lib/spandx/rubygems/cli.rb', line 17

def update
  index.update!
end