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/mysql/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 MySQL
9
module Ui
10
11
# Base class for all command dispatchers within the MySQL console user interface.
12
module Console::CommandDispatcher
13
include Rex::Post::Sql::Ui::Console::CommandDispatcher
14
15
# Return the subdir of the `documentation/` directory that should be used
16
# to find usage documentation
17
#
18
# @return [String]
19
def docs_dir
20
::File.join(super, 'mysql_session')
21
end
22
end
23
end
24
end
25
end
26
end
27
28