Sha256: ad1602b6a7df223c493173c0901f5bab45ba815cd4ec6af5bd7b1d670e8388e0
Contents?: true
Size: 542 Bytes
Versions: 12
Compression:
Stored size: 542 Bytes
Contents
require 'flydata/command/base' require 'flydata/command/sender' require 'flydata/command/helper' module Flydata module Command class Restart < Base def self.slop Slop.new do on 'skip-helper', 'Skip restarting the Helper' end end def run sender = Flydata::Command::Sender.new sender.restart unless opts.skip_helper? helper = Flydata::Command::Helper.new helper.restart(quiet: true) end end run_exclusive :run end end end
Version data entries
12 entries across 12 versions & 1 rubygems