Sha256: 753c97ac6e6fe42bcef1304d73d3467abe5947ee25a9b9b80e476129826d31a2

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

module Rodbot
  class CLI
    module Commands
      class Stop < Rodbot::CLI::Command
        desc 'Stop Rodbot'

        def rescued_call(**)
          Rodbot::Services.new.interrupt
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rodbot-0.5.1 lib/rodbot/cli/commands/stop.rb
rodbot-0.5.0 lib/rodbot/cli/commands/stop.rb