CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/post/postgresql/ui/console/command_dispatcher.rb
Views: 11791
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