Provides Common Line Interface functionalities.
[Source]
# File lib/ui/cli/console.rb, line 9 def initialize(opts = {}) # Self reference options for later use @opts = opts end
Runs the CLI.
# File lib/ui/cli/console.rb, line 17 def run begin HostMap::Engine.new(@opts).run rescue HostMap::Exception::TargetError => ex puts "\nError in target value. #{ex.to_s}" end end
[Validate]