MCPcopy Index your code
hub / github.com/AutoRecon/AutoRecon / add_constant_option

Method add_constant_option

autorecon/plugins.py:30–31  ·  view source on GitHub ↗
(self, name, const, default=None, help=None)

Source from the content-addressed store, hash-verified

28
29 @final
30 def add_constant_option(self, name, const, default=None, help=None):
31 self.autorecon.add_argument(self, name, action='store_const', const=const, default=default, help=help)
32
33 @final
34 def add_true_option(self, name, help=None):

Callers

nothing calls this directly

Calls 1

add_argumentMethod · 0.80

Tested by

no test coverage detected