module Commands::LatestBuild
Public Instance Methods
latest_build( app_id = Services::AppConfig.get_or_exit('app'), environment_name = Services::AppConfig.get_or_exit('environment') )
click to toggle source
# File lib/busbar_cli/commands/latest_build.rb, line 9 def latest_build( app_id = Services::AppConfig.get_or_exit('app'), environment_name = Services::AppConfig.get_or_exit('environment') ) Services::Kube.configure_temporary_profile(options.profile) Services::LatestBuild.call( Environment.new(app_id: app_id, name: environment_name) ) end