MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / DisabledCommand

Class DisabledCommand

cmd2/cmd2.py:221–229  ·  view source on GitHub ↗

Stores data about a disabled command. This data is used to restore its functions when the command is enabled.

Source from the content-addressed store, hash-verified

219
220
221class DisabledCommand(NamedTuple):
222 """Stores data about a disabled command.
223
224 This data is used to restore its functions when the command is enabled.
225 """
226
227 command_func: BoundCommandFunc
228 help_func: Callable[[], Any] | None
229 completer_func: BoundCompleter | None
230
231
232class CommandParsers:

Callers 2

disable_commandMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…