class Seeker::JunosCLI
Public Instance Methods
opts_parse()
click to toggle source
# File lib/seeker/junos/cli.rb, line 5 def opts_parse opts = Slop.parse(:help=>true) do banner 'Usage: junos-seeker [options] hostname' on 'l=', 'level', 'Level to start from, e.g. chassis, system, routing-options' on 'd', 'debug', 'Debug (optionally with level)', :optional_argument=>true end end
seek()
click to toggle source
# File lib/seeker/junos/cli.rb, line 13 def seek Junos.new(@host, @user, @password, @opts).seek end