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

Method arg_list

cmd2/parsing.py:221–223  ·  view source on GitHub ↗

Return the arguments in a list (quotes preserved).

(self)

Source from the content-addressed store, hash-verified

219
220 @property
221 def arg_list(self) -> list[str]:
222 """Return the arguments in a list (quotes preserved)."""
223 return shlex_split(self.args)
224
225 def to_dict(self) -> dict[str, Any]:
226 """Convert this Statement into a dictionary for use in persistent JSON history files."""

Callers

nothing calls this directly

Calls 1

shlex_splitFunction · 0.85

Tested by

no test coverage detected