Class: BigcommerceTool::CLI
- Inherits:
-
Thor
- Object
- Thor
- BigcommerceTool::CLI
- Defined in:
- lib/bigcommerce_tool/cli.rb
Instance Method Summary collapse
Instance Method Details
#deploy ⇒ Object
26 27 28 |
# File 'lib/bigcommerce_tool/cli.rb', line 26 def deploy BigcommerceTool::Deployer.new().deploy end |
#init ⇒ Object
19 20 21 |
# File 'lib/bigcommerce_tool/cli.rb', line 19 def init puts "dump sane configs" end |
#serve ⇒ Object
13 14 15 16 |
# File 'lib/bigcommerce_tool/cli.rb', line 13 def serve .each { |key, value| BigcommerceTool::App.set key.to_sym, value } Rack::Server.start(app: Rack::ShowExceptions.new(Rack::Lint.new(BigcommerceTool::App.new)), Port: 9292) end |