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.1.5 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.4 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.3 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.2 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.1 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.1.0 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.0.3 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.0.2 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.0.1 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-2.0.0 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.7 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.6 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.5 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.4 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.3 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.2 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.1 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.1.0 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.0.6 lib/terraspace/terraform/tfc/runs/lister.rb
terraspace-1.0.5 lib/terraspace/terraform/tfc/runs/lister.rb