You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/initialization.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,6 @@ Here are instance attributes of `cmd2.Cmd` which developers might wish to overri
31
31
-**debug**: if `True`, show full stack trace on error (Default: `False`)
32
32
-**default_category**: if any command has been categorized, then all other commands that haven't been categorized will display under this section in the help output.
33
33
-**default_error**: the error that prints when a non-existent command is run
34
-
-**default_sort_key**: the default key for sorting string results. Its default value performs a case-insensitive alphabetical sort.
35
34
-**default_to_shell**: if `True`, attempt to run unrecognized commands as shell commands (Default: `False`)
36
35
-**disabled_commands**: commands that have been disabled from use. This is to support commands that are only available during specific states of the application. This dictionary's keys are the command names and its values are DisabledCommand objects.
37
36
-**doc_header**: Set the header used for the help function's listing of documented functions
@@ -45,7 +44,7 @@ Here are instance attributes of `cmd2.Cmd` which developers might wish to overri
45
44
-**last_result**: stores results from the last command run to enable usage of results in a Python script or interactive console. Built-in commands don't make use of this. It is purely there for user-defined commands and convenience.
46
45
-**macros**: dictionary of macro names and their values
47
46
-**max_column_completion_results**: The maximum number of completion results to display in a single column (Default: 7)
48
-
-**max_completion_items**: max number of CompletionItems to display during tab completion (Default: 50)
47
+
-**max_completion_table_items**: The maximum number of completion results allowed for a completion table to appear (Default: 50)
49
48
-**pager**: sets the pager command used by the `Cmd.ppaged()` method for displaying wrapped output using a pager
50
49
-**pager_chop**: sets the pager command used by the `Cmd.ppaged()` method for displaying chopped/truncated output using a pager
51
50
-**py_bridge_name**: name by which embedded Python environments and scripts refer to the `cmd2` application by in order to call commands (Default: `app`)
0 commit comments