Sha256: bae12c9813f79a887d79731f919221ffc1c560c0a3ee3d00d0ea6c3450786398
Contents?: true
Size: 587 Bytes
Versions: 45
Compression:
Stored size: 587 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' on 'force-run', 'Run forcefully, ignoring exclusive run info' end end def run sender = Flydata::Command::Sender.new sender.stop if opts.full? helper = Flydata::Command::Helper.new helper.stop(quiet: true) end end run_exclusive :run end end end
Version data entries
45 entries across 45 versions & 1 rubygems