Class: NodeHeartbeat::CLI
- Inherits:
-
Thor
- Object
- Thor
- NodeHeartbeat::CLI
- Defined in:
- lib/node_heartbeat/cli.rb
Instance Method Summary collapse
Instance Method Details
#start ⇒ Object
12 13 14 15 16 |
# File 'lib/node_heartbeat/cli.rb', line 12 def start $stdout.sync = true require 'node_heartbeat/run_heartbeat' RunHeartbeat.call(bucket: [:bucket]) end |
#version ⇒ Object
6 7 8 |
# File 'lib/node_heartbeat/cli.rb', line 6 def version say NodeHeartbeat::VERSION.to_s end |