26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/sr71/cli.rb', line 26
def start
options = Options.new.parse!(ARGV)
unless File.exists?(options[:sr71_config])
puts "Could not find #{options[:sr71_config]}. Specify correct location with -c file"
exit 1
end
Sr71.configure(options)
Sr71.start!
end
|