Sha256: 27652bd8a7c1f81fee5593c908229bbbd734743b2f8569e50c070939f18dbe60

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

require "spring_standalone/version"

module SpringStandalone
  module Client
    class Stop < Command
      def self.description
        "Stop all SpringStandalone processes for this project."
      end

      def call
        case env.stop
        when :stopped
          puts "SpringStandalone stopped."
        when :killed
          $stderr.puts "SpringStandalone did not stop; killing forcibly."
        when :not_running
          puts "SpringStandalone is not running"
        end
      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/stop.rb