MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / post_command

Method post_command

cmd2/parsing.py:181–195  ·  view source on GitHub ↗

A string containing any ending terminator, suffix, and redirection chars.

(self)

Source from the content-addressed store, hash-verified

179
180 @property
181 def post_command(self) -> str:
182 """A string containing any ending terminator, suffix, and redirection chars."""
183 parts = []
184 if self.terminator:
185 parts.append(self.terminator)
186
187 if self.suffix:
188 parts.append(self.suffix)
189
190 if self.redirector:
191 parts.append(self.redirector)
192 if self.redirect_to:
193 parts.append(self.redirect_to)
194
195 return " ".join(parts)
196
197 @property
198 def expanded_command_line(self) -> str:

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected