Sha256: e4367b4cbddd6a0591baa97149cdb00a4c8d3fdec510655b2d82d4bd0451c75a
Contents?: true
Size: 848 Bytes
Versions: 2
Compression:
Stored size: 848 Bytes
Contents
require 'mixlib/cli' require 'spanx/logger' class Spanx::CLI::Flush < Spanx::CLI banner "Usage: spanx flush [options]" option :config_file, :short => '-c CONFIG', :long => '--config CONFIG', :description => 'Path to config file (YML)', :required => true option :debug, :short => '-g', :long => '--debug', :description => 'Log to STDOUT status of execution and some time metrics', :boolean => true, :required => false, :default => false option :help, :short => "-h", :long => "--help", :description => "Show this message", :on => :tail, :boolean => true, :show_options => true, :exit => 0 def run(argv = ARGV) generate_config(argv) Spanx::IPChecker.unblock_all end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spanx-0.1.1 | lib/spanx/cli/flush.rb |
spanx-0.1.0 | lib/spanx/cli/flush.rb |