Class: Yoda::Cli::AnalyzeDeps

Inherits:
Object
  • Object
show all
Defined in:
lib/yoda/cli/analyze_deps.rb

Defined Under Namespace

Classes: Builder

Class Method Summary collapse

Class Method Details

.run(root_path) ⇒ Object

Parameters:

  • root_path (String)


5
6
7
8
9
10
11
# File 'lib/yoda/cli/analyze_deps.rb', line 5

def self.run(root_path)
  require 'json'
  require 'bundler'

  builder = Builder.new(root_path)
  puts JSON.dump(builder)
end