MCPcopy
hub / github.com/pallets/click / dedent

Method dedent

src/click/formatting.py:154–156  ·  view source on GitHub ↗

Decreases the indentation.

(self)

Source from the content-addressed store, hash-verified

152 self.current_indent += self.indent_increment
153
154 def dedent(self) -> None:
155 """Decreases the indentation."""
156 self.current_indent -= self.indent_increment
157
158 def write_usage(self, prog: str, args: str = "", prefix: str | None = None) -> None:
159 """Writes a usage line into the buffer.

Callers 2

sectionMethod · 0.95
indentationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected