require 'flydata/command/base' require 'flydata/command/sender' require 'flydata/command/helper' module Flydata module Command class Stop < Base def self.slop Slop.new do on 'f', 'full', 'Stop all the processes' end end def run sender = Flydata::Command::Sender.new sender.stop if opts.full? helper = Flydata::Command::Helper.new helper.stop end end end end end