MCPcopy Index your code
hub / github.com/tinode/chat / __init__

Method __init__

tn-cli/macros.py:14–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 * self.run() - executes the macro as instructed by the user."""
13
14 def __init__(self):
15 self.parser = argparse.ArgumentParser(prog=self.name(), description=self.description())
16 self.add_parser_args()
17 # Explain argument.
18 self.parser.add_argument('--explain', action='store_true', help='Only print out expanded macro')
19 def name(self):
20 """Macro name."""
21 pass

Callers

nothing calls this directly

Calls 3

nameMethod · 0.95
descriptionMethod · 0.95
add_parser_argsMethod · 0.95

Tested by

no test coverage detected