Sha256: 6099d580565c72f062f5e8975c089efbc98facc92ac7b599c908af6d88cb0ded
Contents?: true
Size: 515 Bytes
Versions: 15
Compression:
Stored size: 515 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(quiet: true) end end run_exclusive :run end end end
Version data entries
15 entries across 15 versions & 1 rubygems