lib/cloud_formation/bridge/cli.rb in cfn-bridge-0.0.3 vs lib/cloud_formation/bridge/cli.rb in cfn-bridge-0.0.4
- old
+ new
@@ -1,14 +1,16 @@
require 'thor'
require 'cloud_formation/bridge/poller'
+require 'cloud_formation/bridge/util'
module CloudFormation
module Bridge
class Cli < Thor
desc "start QUEUE_NAME", "Starts watching this specific SQS queue"
def start(queue_name)
- poller = CloudFormation::Bridge::Poller.new(queue_name)
+ STDOUT.sync = true
+ poller = CloudFormation::Bridge::Poller.new(queue_name, Util::LOGGER)
poller.start
end
end
end
\ No newline at end of file