Class: KManager::Cli::Commands::Info

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/k_manager/cli/info.rb

Instance Method Summary collapse

Instance Method Details

#call(project_folder:, builder_folder:) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/k_manager/cli/info.rb', line 17

def call(project_folder:, builder_folder:, **)
  project_folder  = absolute_path(project_folder, Dir.pwd)
  # name must be after project_folder
  name            = File.basename(project_folder)
  builder_folder  = absolute_path(builder_folder, project_folder)

  log_params(name, project_folder, builder_folder)
end