Class: DevSuite::CLI::Commands::Tree

Inherits:
Base
  • Object
show all
Defined in:
lib/dev_suite/cli/commands/tree.rb

Instance Method Summary collapse

Instance Method Details

#execute(path, options: {}) ⇒ Object



8
9
10
11
12
13
14
15
16
17
# File 'lib/dev_suite/cli/commands/tree.rb', line 8

def execute(path, options: {})
  Utils::Logger.log("Starting visualization for: #{path}", emoji: :start)

  apply_configure(options)
  visualize(path)

  Utils::Logger.log("Visualization complete!", emoji: :success)
rescue StandardError => e
  Utils::ErrorHandler.handle_error(e)
end