Sha256: 32aa1d46ff3f31ba8d290f9d068924393f79ff1bbc31742be05251ef603e3c95
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true require 'thor' module BundledGem class Cli < Thor desc "list", "bundle list(without bundle install)" def list gemfilelock_content = File.read("./Gemfile.lock") lockfile = ::Bundler::LockfileParser.new(gemfilelock_content) lockfile.specs.each { |s| puts "#{s.name}, #{s.version}" } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bundled_gems-0.0.2 | lib/bundled_gem/cli.rb |