Class: Gemstash::CLI::Stop
Overview
This implements the command line stop task to stop the Gemstash server:
$ gemstash stop
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gemstash::CLI::Base
Instance Method Details
#run ⇒ Object
9 10 11 12 13 |
# File 'lib/gemstash/cli/stop.rb', line 9 def run prepare Puma::ControlCLI.new(args).run @cli.say("Gemstash stopped successfully!", :green) end |