Class: Circler::BuildCommand

Inherits:
BaseCommand show all
Defined in:
lib/circler/command/build_command.rb

Class Method Summary collapse

Methods inherited from BaseCommand

build_number, project_name, reponame, setup_token, should_be_pretty

Class Method Details

.run(options) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/circler/command/build_command.rb', line 6

def run(options)
  setup_token
  username, reponame = project_name(options).split('/')
  number = build_number(options)
  build = Build.get(username, reponame, number)
  say StepPrinter.new(build.steps).to_s
end