Class: Spanx::CLI::Enable

Inherits:
Spanx::CLI show all
Defined in:
lib/spanx/cli/enable.rb

Instance Attribute Summary

Attributes inherited from Spanx::CLI

#args

Instance Method Summary collapse

Methods included from Helper::Subclassing

included

Methods included from Helper::Exit

#error_exit_with_msg, #help_exit

Instance Method Details

#run(argv = ARGV) ⇒ Object



33
34
35
36
# File 'lib/spanx/cli/enable.rb', line 33

def run(argv = ARGV)
  generate_config(argv)
  Spanx::IPChecker.enable
end