Sha256: dcd4c1792344758a3e95b11bb98b9e0930c6ab12dc743ec1ecdd7db52de20f9a

Contents?: true

Size: 493 Bytes

Versions: 71

Compression:

Stored size: 493 Bytes

Contents

class Terraspace::Terraform::Tfc::Runs
  class Lister < Base
    def run
      build_project
      if runs.empty?
        logger.info "No runs found"
        return
      end

      presenter = CliFormat::Presenter.new(@options)
      presenter.header = ["Id", "Status", "Message", "Created At"]
      runs.each do |item|
        p = ItemPresenter.new(item)
        row = [p.id, p.status, p.message, p.created_at]
        presenter.rows << row
      end
      presenter.show
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
terraspace-2.2.17 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.16 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.15 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.14 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.13 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.12 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.11 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.10 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.9 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.8 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.7 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.6 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.5 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.4 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.3 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.2 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.1 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.2.0 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.7 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.6 lib/terraspace/terraform/tfc/runs/lister.rb