lib/flydata/command/status.rb in flydata-0.3.24 vs lib/flydata/command/status.rb in flydata-0.4.0
- old
+ new
@@ -1,14 +1,24 @@
require 'flydata/command/base'
require 'flydata/command/sender'
+require 'flydata/command/helper'
module Flydata
module Command
class Status < Base
+ def self.slop
+ Slop.new do
+ on 'skip-helper', 'Do not include Helper status'
+ end
+ end
def run
show_purpose_name
sender = Flydata::Command::Sender.new
sender.status
+ unless opts.skip_helper?
+ helper = Flydata::Command::Helper.new
+ helper.status
+ end
end
end
end
end