Class: IPScriptables::CLI

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/ipscriptables/cli.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



13
14
15
16
17
# File 'lib/ipscriptables/cli.rb', line 13

def execute
  runtime = IPScriptables::Runtime.new(apply: apply?, quiet: quiet?)
  scripts.each { |script| runtime.load_file(script) }
  runtime.execute!
end