Sha256: fdb115502e233b3431e4a2c853a59c34ef54f206778b8428ae18775c10faada3

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

module SpringStandalone
  module Client
    class Server < Command
      def self.description
        "Explicitly start a SpringStandalone server in the foreground"
      end

      def call
        require "spring_standalone/server"
        SpringStandalone::Server.boot(foreground: foreground?)
      end

      def foreground?
        !args.include?("--background")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spring_standalone-0.1.13 lib/spring_standalone/client/server.rb