MCPcopy Create free account
hub / github.com/httpie/cli / finalize

Method finalize

httpie/cli/options.py:50–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 source_file: Optional[str] = None
49
50 def finalize(self) -> 'ParserSpec':
51 if self.description:
52 self.description = textwrap.dedent(self.description)
53 if self.epilog:
54 self.epilog = textwrap.dedent(self.epilog)
55 for group in self.groups:
56 group.finalize()
57 return self
58
59 def add_group(self, name: str, **kwargs) -> 'Group':
60 group = Group(name, **kwargs)

Callers 1

Calls 1

finalizeMethod · 0.45

Tested by 1