Class: F5::Cli::Config
- Inherits:
-
Subcommand
- Object
- Thor
- Subcommand
- F5::Cli::Config
- Defined in:
- lib/f5/cli/application.rb
Instance Method Summary collapse
Instance Method Details
#list ⇒ Object
365 366 367 368 369 370 371 372 373 374 375 376 |
# 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 |