module Commands::Profile
Public Instance Methods
profile(profile_id = nil)
click to toggle source
# File lib/busbar_cli/commands/profile.rb, line 8 def profile(profile_id = nil) return puts "Busbar Profile: #{BUSBAR_PROFILE}" if profile_id.nil? return unless Services::Kube.validate_profile(profile_id) Services::Kube.config_download puts "Busbar Profile: #{Services::BusbarConfig.set('busbar_profile', profile_id)}" end