Class: Whatup::CLI::Server

Inherits:
Thor
  • Object
show all
Defined in:
lib/whatup/cli/commands/server.rb

Overview

Server commands

Instance Method Summary collapse

Instance Method Details

#startObject



24
25
26
27
# File 'lib/whatup/cli/commands/server.rb', line 24

def start
  ENV['WHATUP_LOG_LEVEL'] = 'DEBUG' if options[:verbose]
  Whatup::Server::Server.new(port: options[:port]).start
end