Sha256: 103e3ec748b6072b59ba5d4472b22431371c361802a948063c4b5b718422839b

Contents?: true

Size: 560 Bytes

Versions: 12

Compression:

Stored size: 560 Bytes

Contents

module TerraspaceBundler
  class List < TB::CLI::Base
    def run
      file = TB.config.lockfile
      unless File.exist?(file)
        logger.info "No #{file} found".color(:red)
        logger.info "Maybe run: terraspace bundle"
        return
      end

      logger.info "Modules included by #{file}\n\n"
      lockfile.mods.each do |mod|
        logger.info "    #{mod.name}"
      end
      logger.info "\nUse `terraspace bundle info` to print more detailed information about a module"
    end

    def lockfile
      Lockfile.instance
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
terraspace-bundler-0.5.0 lib/terraspace_bundler/list.rb
terraspace-bundler-0.4.4 lib/terraspace_bundler/list.rb
terraspace-bundler-0.4.3 lib/terraspace_bundler/list.rb
terraspace-bundler-0.4.2 lib/terraspace_bundler/list.rb
terraspace-bundler-0.4.1 lib/terraspace_bundler/list.rb
terraspace-bundler-0.4.0 lib/terraspace_bundler/list.rb
terraspace-bundler-0.3.4 lib/terraspace_bundler/list.rb
terraspace-bundler-0.3.3 lib/terraspace_bundler/list.rb
terraspace-bundler-0.3.2 lib/terraspace_bundler/list.rb
terraspace-bundler-0.3.1 lib/terraspace_bundler/list.rb
terraspace-bundler-0.3.0 lib/terraspace_bundler/list.rb
terraspace-bundler-0.2.0 lib/terraspace_bundler/list.rb