Class: Terraspace::Terraform::Tfc::Runs

Inherits:
CLI::Base
  • Object
show all
Defined in:
lib/terraspace/terraform/tfc/runs.rb,
lib/terraspace/terraform/tfc/runs/base.rb,
lib/terraspace/terraform/tfc/runs/lister.rb,
lib/terraspace/terraform/tfc/runs/pruner.rb,
lib/terraspace/terraform/tfc/runs/item_presenter.rb

Defined Under Namespace

Classes: Base, ItemPresenter, Lister, Pruner

Instance Method Summary collapse

Methods inherited from CLI::Base

#initialize

Methods included from Util::Pretty

#pretty_path, #pretty_time

Methods included from Util::Sure

#sure?

Methods included from Util::Logging

#logger

Constructor Details

This class inherits a constructor from Terraspace::CLI::Base

Instance Method Details

#listObject



3
4
5
6
# File 'lib/terraspace/terraform/tfc/runs.rb', line 3

def list
  lister = Lister.new(@mod, @options)
  lister.run
end

#pruneObject



8
9
10
11
# File 'lib/terraspace/terraform/tfc/runs.rb', line 8

def prune
  pruner = Pruner.new(@mod, @options)
  pruner.run
end