Sha256: 7fd9a26fbe63f6a78164edb37fbac588bd5d3150152efd96f784e8a5609075e3

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

require_relative '../cli'
require_relative '../junos'
module Seeker
  class JunosCLI < CLI
    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

    def seek
      Junos.new(@host, @user, @password, @opts).seek
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
seeker-junos-0.2.0 lib/seeker/junos/cli.rb
seeker-junos-0.1.0 lib/seeker/junos/cli.rb
seeker-junos-0.0.5 lib/seeker/junos/cli.rb