class F5::Cli::Config

Public Instance Methods

list() click to toggle source
# File lib/f5/cli/application.rb, line 365
def list
  response = client.Management.DBVariable.get_list

  dbVariables = Array(response[:item])
  if dbVariables.empty?
    puts "No config variables found"
  else
    dbVariables.each do |p|
      puts "#{p[:name]}: #{p[:value]}"
    end
  end
end