Class: Ree::CLI::GeneratePackagesSchema

Inherits:
Object
  • Object
show all
Defined in:
lib/ree/cli/generate_packages_schema.rb

Class Method Summary collapse

Class Method Details

.run(project_path) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'lib/ree/cli/generate_packages_schema.rb', line 5

def run(project_path)
  Ree.init(project_path)

  puts("Generating Packages.schema.json")
  Ree::PackagesFacade.write_packages_schema

  puts("output: #{Ree.packages_schema_path}")
  puts("done")
end