Class: Esp::CLI::Plugins

Inherits:
Thor
  • Object
show all
Includes:
Support
Defined in:
lib/esp/cli/plugins.rb

Overview

‘esp plugins` — inspect the plugins OpenMW already has installed, read from openmw.cfg’s data=/content= entries.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


11
# File 'lib/esp/cli/plugins.rb', line 11

def self.exit_on_failure? = true

Instance Method Details

#listObject



17
18
19
20
# File 'lib/esp/cli/plugins.rb', line 17

def list
  result = Esp::Operations.dispatch(:plugins_list, 'config' => options[:config])
  respond(result) { render(result) }
end