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/mssql/ui/console/command_dispatcher.rb
Views: 11625
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 MSSQL
9
module Ui
10
###
11
#
12
# Base class for all command dispatchers within the MSSQL 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
# @return [String]
23
def docs_dir
24
::File.join(super, 'mssql_session')
25
end
26
end
27
end
28
end
29
end
30
end
31
32