30 lines
707 B
Ruby
30 lines
707 B
Ruby
# -*- coding: binary -*-
|
|
|
|
require 'rex/ui/text/dispatcher_shell'
|
|
require 'rex/post/sql/ui/console/command_dispatcher'
|
|
|
|
module Rex
|
|
module Post
|
|
module PostgreSQL
|
|
module Ui
|
|
###
|
|
#
|
|
# Base class for all command dispatchers within the PostgreSQL console user interface.
|
|
#
|
|
###
|
|
module Console::CommandDispatcher
|
|
include Rex::Post::Sql::Ui::Console::CommandDispatcher
|
|
|
|
#
|
|
# Return the subdir of the `documentation/` directory that should be used
|
|
# to find usage documentation
|
|
#
|
|
def docs_dir
|
|
::File.join(super, 'postgresql_session')
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|