Class: CircleCI::CLI::Command::BuildCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- CircleCI::CLI::Command::BuildCommand
- Defined in:
- lib/circleci/cli/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
8 9 10 11 12 13 14 |
# File 'lib/circleci/cli/command/build_command.rb', line 8 def run() setup_token username, reponame = project_name().split('/') number = build_number() build = Response::Build.get(username, reponame, number) say Printer::StepPrinter.new(build.steps).to_s end |