Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_json
Method · 0.95
persisted_hist
Function · 0.95
test_multiline_histitem
Function · 0.95
test_multiline_with_quotes_histitem
Function · 0.95
test_multiline_histitem_verbose
Function · 0.95
highlight_args
Method · 0.80
get_line
Method · 0.80
update_prog
Method · 0.80
post_command
Method · 0.80
split_on_punctuation
Method · 0.80
__init__
Method · 0.80
consume_argument
Method · 0.80
Calls
1
HistoryItem
Class · 0.85
Tested by
11
persisted_hist
Function · 0.76
test_multiline_histitem
Function · 0.76
test_multiline_with_quotes_histitem
Function · 0.76
test_multiline_histitem_verbose
Function · 0.76
do_say
Method · 0.64
do_speak
Method · 0.64
test_pt_add_history_item
Function · 0.64
test_get_help_topics_hidden
Function · 0.64
test_startup_script
Function · 0.64
completion_item_method
Method · 0.64
_complete_flags
Method · 0.64