Class: Circler::WatchCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Circler::WatchCommand
- Defined in:
- lib/circler/command/watch_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 13 14 15 16 17 18 19 |
# File 'lib/circler/command/watch_command.rb', line 6 def run() setup_token setup_client build = get_build() if build&.running? start_watch(build) wait_until_finish finalize(build, build.channel_name) else say 'The build is not running' end end |