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

Method add_usage

lib/0xtools/argparse.py:270–273  ·  view source on GitHub ↗
(self, usage, actions, groups, prefix=None)

Source from the content-addressed store, hash-verified

268 self._add_item(self._format_text, [text])
269
270 def add_usage(self, usage, actions, groups, prefix=None):
271 if usage is not SUPPRESS:
272 args = usage, actions, groups, prefix
273 self._add_item(self._format_usage, args)
274
275 def add_argument(self, action):
276 if action.help is not SUPPRESS:

Callers 3

add_subparsersMethod · 0.80
format_usageMethod · 0.80
format_helpMethod · 0.80

Calls 1

_add_itemMethod · 0.95

Tested by

no test coverage detected