CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/post/postgresql/ui/console/command_dispatcher.rb
Views: 1904
1
# -*- coding: binary -*-
2
3
require 'rex/ui/text/dispatcher_shell'
4
require 'rex/post/sql/ui/console/command_dispatcher'
5
6
module Rex
7
module Post
8
module PostgreSQL
9
module Ui
10
###
11
#
12
# Base class for all command dispatchers within the PostgreSQL console user interface.
13
#
14
###
15
module Console::CommandDispatcher
16
include Rex::Post::Sql::Ui::Console::CommandDispatcher
17
18
#
19
# Return the subdir of the `documentation/` directory that should be used
20
# to find usage documentation
21
#
22
def docs_dir
23
::File.join(super, 'postgresql_session')
24
end
25
end
26
end
27
end
28
end
29
end
30
31