Sha256: 988f9400e1bc0f15c45e5252f2fa39c655a44e0cc8744d47971aac9d2ac6d6eb
Contents?: true
Size: 464 Bytes
Versions: 8
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require 'thor' require 'whatup/server/server' module Whatup module CLI # Server commands class Server < Thor option :port, type: :numeric, default: 9_001 desc 'start', 'Starts a server instance' long_desc <<~DESC Starts a server instance running locally on the specified port. DESC def start Whatup::Server::Server.new(port: options[:port]).start end end end end
Version data entries
8 entries across 8 versions & 1 rubygems