class Bosh::Cli::Command::RuntimeConfig
Public Instance Methods
show()
click to toggle source
# File lib/cli/commands/runtime_config.rb, line 8 def show auth_required show_current_state config = director.get_runtime_config if !config.nil? say(config.properties) end end
update(runtime_config_path)
click to toggle source
# File lib/cli/commands/runtime_config.rb, line 21 def update(runtime_config_path) auth_required show_current_state runtime_config_yaml = read_yaml_file(runtime_config_path) if director.update_runtime_config(runtime_config_yaml) say("Successfully updated runtime config") else err("Failed to update runtime config") end end