module Kontena::Plugin
  module Console
    class ExitCommand < Command
      command 'exit'
      description 'Quit console'
      help 'Enter "exit" to quit.'

      completions nil

      CleanExit = Class.new(StandardError)

      def execute
        raise CleanExit
      end
    end
  end
end


Exit command so you can get out without ctrl-d
Exit command so you can get out without ctrl-d
