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/metasploit/framework/command.rb
Views: 1904
1
#
2
# Gems
3
#
4
5
# have to be exact so minimum is loaded prior to parsing arguments which could
6
# influence loading.
7
require 'active_support/dependencies/autoload'
8
9
# @note Must use the nested declaration of the
10
# {Metasploit::Framework::Command} namespace because commands need to be able
11
# to be required directly without any other part of metasploit-framework
12
# besides config/boot so that the commands can parse arguments, setup
13
# RAILS_ENV, and load config/application.rb correctly.
14
module Metasploit
15
module Framework
16
module Command
17
# Namespace for commands for metasploit-framework. There are
18
# corresponding classes in the {Metasploit::Framework::ParsedOptions}
19
# namespace, which handle for parsing the options for each command.
20
extend ActiveSupport::Autoload
21
22
autoload :Base
23
autoload :Console
24
end
25
end
26
end
27
28