Class: Makit::Cli::SystemInfoCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/makit/cli/utility_commands.rb

Overview

Display system and environment information

Instance Method Summary collapse

Instance Method Details

#executeObject



319
320
321
322
323
324
325
326
327
# File 'lib/makit/cli/utility_commands.rb', line 319

def execute
  info = collect_system_info

  if export?
    export_system_info(info)
  else
    display_system_info(info)
  end
end