Sha256: 233445978b4b312d061336c200ff2000206c2fc52b06a85235c01dbde97dd77d

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

Stored size: 225 Bytes

Contents

require_relative '../quit_exception'

module Commando
  module Action
    # Action to exit out of the CLI
    module Quit
      def self.perform(args:, output: $stdout)
        raise QuitException
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tcollier-commando-1.0.0 lib/commando/action/quit.rb
tcollier-commando-0.2.1 lib/commando/action/quit.rb
tcollier-commando-0.2.0 lib/commando/action/quit.rb
tcollier-commando-0.1.2 lib/commando/action/quit.rb
tcollier-commando-0.1.1 lib/commando/action/quit.rb
tcollier-commando-0.1.0 lib/commando/action/quit.rb