cmd2 2.5.3__tar.gz → 2.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cmd2-2.5.3 → cmd2-2.5.4}/CHANGELOG.md +7 -3
- {cmd2-2.5.3 → cmd2-2.5.4}/PKG-INFO +1 -1
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/cmd2.py +4 -1
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/constants.py +3 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/utils.py +2 -1
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2.egg-info/PKG-INFO +1 -1
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_utils.py +4 -1
- {cmd2-2.5.3 → cmd2-2.5.4}/.readthedocs.yaml +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/LICENSE +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/MANIFEST.in +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/Pipfile +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/README.md +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/ansi.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/argparse_completer.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/argparse_custom.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/clipboard.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/command_definition.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/decorators.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/exceptions.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/history.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/parsing.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/plugin.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/py.typed +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/py_bridge.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/rl_utils.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/table_creator.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2/transcript.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2.egg-info/SOURCES.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2.egg-info/dependency_links.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2.egg-info/requires.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2.egg-info/top_level.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/cmd2.png +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/Makefile +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/ansi.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/argparse_completer.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/argparse_custom.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/cmd.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/command_definition.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/constants.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/decorators.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/exceptions.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/history.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/parsing.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/plugin.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/plugin_external_test.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/py_bridge.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/table_creator.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/api/utils.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/conf.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/doc_conventions.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/examples/alternate_event_loops.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/examples/first_app.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/examples/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/argument_processing.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/builtin_commands.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/clipboard.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/commands.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/completion.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/disable_commands.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/embedded_python_shells.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/generating_output.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/help.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/history.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/hooks.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/initialization.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/misc.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/modular_commands.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/multiline_commands.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/os.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/packaging.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/plugins.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/prompt.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/redirection.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/scripting.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/settings.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/shortcuts_aliases_macros.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/startup_commands.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/table_creation.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/features/transcripts.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/make.bat +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/migrating/incompatibilities.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/migrating/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/migrating/minimum.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/migrating/next_steps.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/migrating/summary.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/migrating/why.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/overview/alternatives.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/overview/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/overview/installation.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/overview/integrating.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/overview/resources.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/overview/summary.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/plugins/external_test.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/plugins/index.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/requirements.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/docs/testing.rst +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/.cmd2rc +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/alias_startup.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/arg_decorators.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/arg_print.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/argparse_completion.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/async_printing.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/basic.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/basic_completion.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/cmd_as_argument.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/colors.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/custom_parser.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/decorator_example.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/default_categories.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/dynamic_commands.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/environment.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/event_loops.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/example.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/exit_code.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/first_app.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/hello_cmd2.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/help_categories.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/hooks.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/initialization.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/migrating.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands/commandset_basic.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands/commandset_complex.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands/commandset_custominit.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands_basic.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands_dynamic.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_commands_main.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/modular_subcommands.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/override_parser.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/paged_output.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/persistent_history.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/pirate.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/python_scripting.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/read_input.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/remove_builtin_commands.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/remove_settable.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/arg_printer.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/conditional.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/nested.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/quit.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/save_help_text.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/script.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/scripts/script.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/subcommands.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/table_creation.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/transcripts/exampleSession.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/transcripts/pirate.transcript +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/transcripts/quit.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/transcripts/transcript_regex.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/examples/unicode_commands.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/README.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/CHANGELOG.md +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/README.md +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/build-pyenvs.sh +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/cmd2_ext_test/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/cmd2_ext_test/cmd2_ext_test.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/cmd2_ext_test/py.typed +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/cmd2_ext_test/pylintrc +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/examples/example.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/noxfile.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/pyproject.toml +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/setup.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/tasks.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/tests/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/tests/pylintrc +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/ext_test/tests/test_ext_test.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/tasks.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/CHANGELOG.md +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/LICENSE +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/README.md +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/build-pyenvs.sh +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/cmd2_myplugin/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/cmd2_myplugin/myplugin.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/cmd2_myplugin/pylintrc +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/examples/example.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/noxfile.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/setup.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/tasks.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/tests/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/tests/pylintrc +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/plugins/template/tests/test_myplugin.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/pyproject.toml +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/readme_files/shout_out.csv +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/readme_files/shoutout.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/setup.cfg +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tasks.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/.cmd2rc +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/conftest.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/echo.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/environment.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/help.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/py_locals.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/pyscript_dir.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/raises_exception.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/recursive.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/self_in_py.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/stdout_capture.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/pyscript/stop.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/relative_multiple.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/script.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/script.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/binary.bin +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/empty.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/help.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/nested.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/one_down.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/postcmds.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/precmds.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/scripts/utf8.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_ansi.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_argparse.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_argparse_completer.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_argparse_custom.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_cmd2.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_completion.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_history.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_parsing.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_plugin.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_run_pyscript.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_table_creator.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_transcript.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/test_utils_defining_class.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/bol_eol.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/characterclass.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/dotstar.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/extension_notation.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/failure.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/from_cmdloop.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/multiline_no_regex.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/multiline_regex.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/no_output.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/no_output_last.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/regex_set.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/singleslash.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/slashes_escaped.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/slashslash.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/spaces.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests/transcripts/word_boundaries.txt +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests_isolated/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests_isolated/test_commandset/__init__.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests_isolated/test_commandset/conftest.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests_isolated/test_commandset/test_argparse_subcommands.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests_isolated/test_commandset/test_categories.py +0 -0
- {cmd2-2.5.3 → cmd2-2.5.4}/tests_isolated/test_commandset/test_commandset.py +0 -0
@@ -1,14 +1,18 @@
|
|
1
|
-
|
1
|
+
## 2.5.4 (November 6, 2024)
|
2
|
+
* Bug Fixes
|
3
|
+
* Fixed `ZeroDivisionError` in `async_alert()` when `shutil.get_terminal_size().columns` is 0.
|
4
|
+
|
5
|
+
## 2.5.3 (November 5, 2024)
|
2
6
|
* Enhancements
|
3
7
|
* Changed `CommandSet._cmd` to a read-only property which never returns `None` because it
|
4
8
|
is meant to be called after the `CommandSet` is registered. This addresses type checker
|
5
9
|
errors that occurred if `CommandSet._cmd` wasn't cast or checked if `None` before use.
|
6
10
|
|
7
|
-
|
11
|
+
## 2.5.2 (November 3, 2024)
|
8
12
|
* Bug Fixes
|
9
13
|
* Fixed default `pytest` execution when not using cmd2's custom `invoke` command via `inv pytest`
|
10
14
|
|
11
|
-
|
15
|
+
## 2.5.1 (November 2, 2024)
|
12
16
|
* Bug Fixes
|
13
17
|
* Fixed readline bug when using `ipy` command with `gnureadline` and Python 3.13
|
14
18
|
|
@@ -5335,9 +5335,12 @@ class Cmd(cmd.Cmd):
|
|
5335
5335
|
if update_terminal:
|
5336
5336
|
import shutil
|
5337
5337
|
|
5338
|
+
# Prior to Python 3.11 this can return 0, so use a fallback if needed.
|
5339
|
+
terminal_columns = shutil.get_terminal_size().columns or constants.DEFAULT_TERMINAL_WIDTH
|
5340
|
+
|
5338
5341
|
# Print a string which replaces the onscreen prompt and input lines with the alert.
|
5339
5342
|
terminal_str = ansi.async_alert_str(
|
5340
|
-
terminal_columns=
|
5343
|
+
terminal_columns=terminal_columns,
|
5341
5344
|
prompt=rl_get_display_prompt(),
|
5342
5345
|
line=readline.get_line_buffer(),
|
5343
5346
|
cursor_offset=rl_get_point(),
|
@@ -874,7 +874,8 @@ def align_text(
|
|
874
874
|
)
|
875
875
|
|
876
876
|
if width is None:
|
877
|
-
|
877
|
+
# Prior to Python 3.11 this can return 0, so use a fallback if needed.
|
878
|
+
width = shutil.get_terminal_size().columns or constants.DEFAULT_TERMINAL_WIDTH
|
878
879
|
|
879
880
|
if width < 1:
|
880
881
|
raise ValueError("width must be at least 1")
|
@@ -17,6 +17,7 @@ import pytest
|
|
17
17
|
import cmd2.utils as cu
|
18
18
|
from cmd2 import (
|
19
19
|
ansi,
|
20
|
+
constants,
|
20
21
|
)
|
21
22
|
from cmd2.constants import (
|
22
23
|
HORIZONTAL_ELLIPSIS,
|
@@ -624,7 +625,9 @@ def test_align_text_term_width():
|
|
624
625
|
text = 'foo'
|
625
626
|
fill_char = ' '
|
626
627
|
|
627
|
-
|
628
|
+
# Prior to Python 3.11 this can return 0, so use a fallback, so
|
629
|
+
# use the same fallback that cu.align_text() does if needed.
|
630
|
+
term_width = shutil.get_terminal_size().columns or constants.DEFAULT_TERMINAL_WIDTH
|
628
631
|
expected_fill = (term_width - ansi.style_aware_wcswidth(text)) * fill_char
|
629
632
|
|
630
633
|
aligned = cu.align_text(text, cu.TextAlignment.LEFT, fill_char=fill_char)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|