MCPcopy
hub / github.com/tanelpoder/0xtools / _add_action

Method _add_action

lib/0xtools/argparse.py:1517–1520  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

1515 self._mutually_exclusive_groups = container._mutually_exclusive_groups
1516
1517 def _add_action(self, action):
1518 action = super(_ArgumentGroup, self)._add_action(action)
1519 self._group_actions.append(action)
1520 return action
1521
1522 def _remove_action(self, action):
1523 super(_ArgumentGroup, self)._remove_action(action)

Callers 4

_add_actionMethod · 0.45
add_subparsersMethod · 0.45
_add_actionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected