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-1.0.4 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.0.3 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.0.2 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.0.1 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.0.0 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.7.2 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.7.1 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.7.0 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.23 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.22 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.21 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.20 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.19 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.18 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.17 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.16 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.15 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.13 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.12 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-0.6.11 lib/terraspace/terraform/tfc/runs/lister.rb