Class: EmbeddedJs::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/embedded_js/cli.rb

Instance Method Summary collapse

Instance Method Details

#initObject



15
16
17
# File 'lib/embedded_js/cli.rb', line 15

def init
  Commands::Init.call(package_manager: options[:package_manager])
end

#preinstallObject



20
21
22
# File 'lib/embedded_js/cli.rb', line 20

def preinstall
  Commands::Preinstall.call(gems: EmbeddedJs.config.gems)
end