Sha256: 78cb0e23c6aa5415411e03f0b97e649a923154895ee8a4f1493761f12be521b5

Contents?: true

Size: 693 Bytes

Versions: 151

Compression:

Stored size: 693 Bytes

Contents

module Jets::Commands
  class Gems < Jets::Commands::Base
    desc "check", "Check if pre-built Lambda gems are available from the sources"
    long_desc Help.text("gems:check")
    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

    desc "sources", "List pre-built Lambda gem sources"
    long_desc Help.text("gems:sources")
    def sources
      puts "Your pre-built Lambda gem sources are:"
      Jets.config.gems.sources.each do |source|
        puts "  #{source}"
      end
    end
  end
end

Version data entries

151 entries across 151 versions & 3 rubygems

Version Path
jets-2.3.13 lib/jets/commands/gems.rb
jets-2.3.12 lib/jets/commands/gems.rb
jets-2.3.11 lib/jets/commands/gems.rb
jets-2.3.10 lib/jets/commands/gems.rb
jets-2.3.9 lib/jets/commands/gems.rb
jets-2.3.8 lib/jets/commands/gems.rb
jets-2.3.7 lib/jets/commands/gems.rb
jets-2.3.6 lib/jets/commands/gems.rb
jets-2.3.5 lib/jets/commands/gems.rb
jets-2.3.4 lib/jets/commands/gems.rb
jets-2.3.3 lib/jets/commands/gems.rb
jets-2.3.2 lib/jets/commands/gems.rb
jets-2.3.1 lib/jets/commands/gems.rb
jets-2.3.0 lib/jets/commands/gems.rb
jets-2.2.5 lib/jets/commands/gems.rb
jets-2.2.4 lib/jets/commands/gems.rb
jets-2.2.3 lib/jets/commands/gems.rb
jets-2.2.2 lib/jets/commands/gems.rb
jets-2.2.1 lib/jets/commands/gems.rb
jets-2.2.0 lib/jets/commands/gems.rb