Class: Jets::Commands::Gems

Inherits:
Base show all
Defined in:
lib/jets/commands/gems.rb

Instance Method Summary collapse

Methods inherited from Base

autocomplete, banner, dispatch, eager_load!, help_list, inherited, klass_from_namespace, namespace_from_class, namespaced_commands, perform, special_class_map, subclasses

Instance Method Details

#checkObject



5
6
7
8
9
10
# File 'lib/jets/commands/gems.rb', line 5

def check
  check = Jets::Gems::Check.new(cli: true)
  check.run! # exits early if missing gems found
  # If reach here, means all gems are ok.
  puts "Congrats! All gems are available in as pre-built Lambda gems 👍"
end

#sourcesObject



14
15
16
17
18
19
# File 'lib/jets/commands/gems.rb', line 14

def sources
  puts "Your pre-built Lambda gem sources are:"
  Jets.config.gems.sources.each do |source|
    puts "  #{source}"
  end
end