MCPcopy Create free account
hub / github.com/apache/madlib / add_usage

Method add_usage

src/madpack/argparse.py:277–280  ·  view source on GitHub ↗
(self, usage, actions, groups, prefix=None)

Source from the content-addressed store, hash-verified

275 self._add_item(self._format_text, [text])
276
277 def add_usage(self, usage, actions, groups, prefix=None):
278 if usage is not SUPPRESS:
279 args = usage, actions, groups, prefix
280 self._add_item(self._format_usage, args)
281
282 def add_argument(self, action):
283 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