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

Method append

cmd2/history.py:169–169  ·  view source on GitHub ↗
(self, new: HistoryItem)

Source from the content-addressed store, hash-verified

167
168 @overload
169 def append(self, new: HistoryItem) -> None: ... # pragma: no cover
170
171 @overload
172 def append(self, new: Statement) -> None: ... # pragma: no cover

Callers 15

from_jsonMethod · 0.95
persisted_histFunction · 0.95
test_multiline_histitemFunction · 0.95
highlight_argsMethod · 0.80
get_lineMethod · 0.80
update_progMethod · 0.80
post_commandMethod · 0.80
split_on_punctuationMethod · 0.80
__init__Method · 0.80
consume_argumentMethod · 0.80

Calls 1

HistoryItemClass · 0.85

Tested by 11

persisted_histFunction · 0.76
test_multiline_histitemFunction · 0.76
do_sayMethod · 0.64
do_speakMethod · 0.64
test_pt_add_history_itemFunction · 0.64
test_startup_scriptFunction · 0.64
_complete_flagsMethod · 0.64