Class: AppMap::Command::Inspect
- Defined in:
- lib/appmap/command/inspect.rb
Constant Summary
Constants inherited from NodeCLI
Instance Attribute Summary
Attributes inherited from NodeCLI
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from NodeCLI
#command, #detect_nodejs, #index_appmaps, #initialize
Constructor Details
This class inherits a constructor from AppMap::NodeCLI
Class Method Details
.run ⇒ Object
9 10 11 12 |
# File 'lib/appmap/command/inspect.rb', line 9 def run command = Inspect.new(verbose: ENV['DEBUG'] == 'true') command.inspect(ARGV) end |
Instance Method Details
#inspect(arguments) ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/appmap/command/inspect.rb', line 15 def inspect(arguments) detect_nodejs index_appmaps arguments.unshift 'inspect' arguments.unshift APPMAP_JS arguments.unshift 'node' exec(*arguments) end |