Sha256: e66dbfa68cc827aee918d91be6464e780f87b00a6e695e3c78710c990b50a2f4
Contents?: true
Size: 502 Bytes
Versions: 4
Compression:
Stored size: 502 Bytes
Contents
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 run_exclusive :run end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
flydata-0.5.8 | lib/flydata/command/stop.rb |
flydata-0.5.7 | lib/flydata/command/stop.rb |
flydata-0.5.6 | lib/flydata/command/stop.rb |
flydata-0.5.5 | lib/flydata/command/stop.rb |