cmd2 2.4.2__tar.gz → 2.5.9__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.9/.pre-commit-config.yaml +22 -0
- cmd2-2.5.9/.prettierignore +2 -0
- cmd2-2.5.9/.prettierrc +10 -0
- cmd2-2.5.9/.readthedocs.yaml +26 -0
- cmd2-2.5.9/CHANGELOG.md +1418 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/LICENSE +1 -1
- cmd2-2.5.9/Makefile +67 -0
- cmd2-2.5.9/PKG-INFO +218 -0
- cmd2-2.5.9/Pipfile +34 -0
- cmd2-2.5.9/README.md +168 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/__init__.py +2 -6
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/ansi.py +16 -16
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/argparse_completer.py +1 -10
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/argparse_custom.py +29 -83
- cmd2-2.5.9/cmd2/clipboard.py +25 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/cmd2.py +658 -361
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/command_definition.py +43 -8
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/constants.py +3 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/decorators.py +135 -128
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/exceptions.py +0 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/history.py +52 -23
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/parsing.py +54 -49
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/plugin.py +8 -6
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/py_bridge.py +15 -4
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/rl_utils.py +57 -23
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/table_creator.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/transcript.py +3 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/utils.py +75 -35
- cmd2-2.5.9/cmd2.egg-info/PKG-INFO +218 -0
- cmd2-2.5.9/cmd2.egg-info/SOURCES.txt +356 -0
- cmd2-2.5.9/cmd2.egg-info/requires.txt +8 -0
- cmd2-2.5.9/cmd2.png +0 -0
- cmd2-2.5.9/docs/api/ansi.md +3 -0
- cmd2-2.5.9/docs/api/argparse_completer.md +3 -0
- cmd2-2.5.9/docs/api/argparse_custom.md +3 -0
- cmd2-2.5.9/docs/api/cmd.md +3 -0
- cmd2-2.5.9/docs/api/command_definition.md +3 -0
- cmd2-2.5.9/docs/api/constants.md +3 -0
- cmd2-2.5.9/docs/api/decorators.md +3 -0
- cmd2-2.5.9/docs/api/exceptions.md +3 -0
- cmd2-2.5.9/docs/api/history.md +3 -0
- cmd2-2.5.9/docs/api/index.md +22 -0
- cmd2-2.5.9/docs/api/parsing.md +3 -0
- cmd2-2.5.9/docs/api/plugin.md +3 -0
- cmd2-2.5.9/docs/api/py_bridge.md +3 -0
- cmd2-2.5.9/docs/api/table_creator.md +3 -0
- cmd2-2.5.9/docs/api/utils.md +57 -0
- cmd2-2.5.9/docs/doc_conventions.md +71 -0
- cmd2-2.5.9/docs/examples/alternate_event_loops.md +61 -0
- cmd2-2.5.9/docs/examples/examples.md +5 -0
- cmd2-2.5.9/docs/examples/first_app.md +238 -0
- cmd2-2.5.9/docs/examples/index.md +9 -0
- cmd2-2.5.9/docs/features/argument_processing.md +303 -0
- cmd2-2.5.9/docs/features/builtin_commands.md +110 -0
- cmd2-2.5.9/docs/features/clipboard.md +27 -0
- cmd2-2.5.9/docs/features/commands.md +155 -0
- cmd2-2.5.9/docs/features/completion.md +85 -0
- cmd2-2.5.9/docs/features/disable_commands.md +88 -0
- cmd2-2.5.9/docs/features/embedded_python_shells.md +61 -0
- cmd2-2.5.9/docs/features/generating_output.md +82 -0
- cmd2-2.5.9/docs/features/help.md +169 -0
- cmd2-2.5.9/docs/features/history.md +168 -0
- cmd2-2.5.9/docs/features/hooks.md +227 -0
- cmd2-2.5.9/docs/features/index.md +32 -0
- cmd2-2.5.9/docs/features/initialization.md +125 -0
- cmd2-2.5.9/docs/features/misc.md +67 -0
- cmd2-2.5.9/docs/features/modular_commands.md +305 -0
- cmd2-2.5.9/docs/features/multiline_commands.md +17 -0
- cmd2-2.5.9/docs/features/os.md +125 -0
- cmd2-2.5.9/docs/features/packaging.md +38 -0
- cmd2-2.5.9/docs/features/plugins.md +114 -0
- cmd2-2.5.9/docs/features/prompt.md +33 -0
- cmd2-2.5.9/docs/features/redirection.md +57 -0
- cmd2-2.5.9/docs/features/scripting.md +429 -0
- cmd2-2.5.9/docs/features/settings.md +117 -0
- cmd2-2.5.9/docs/features/shortcuts_aliases_macros.md +80 -0
- cmd2-2.5.9/docs/features/startup_commands.md +49 -0
- cmd2-2.5.9/docs/features/table_creation.md +17 -0
- cmd2-2.5.9/docs/features/transcripts.md +159 -0
- cmd2-2.5.9/docs/index.md +68 -0
- cmd2-2.5.9/docs/javascripts/readthedocs.js +35 -0
- cmd2-2.5.9/docs/migrating/incompatibilities.md +21 -0
- cmd2-2.5.9/docs/migrating/index.md +8 -0
- cmd2-2.5.9/docs/migrating/minimum.md +41 -0
- cmd2-2.5.9/docs/migrating/next_steps.md +25 -0
- cmd2-2.5.9/docs/migrating/why.md +30 -0
- cmd2-2.5.9/docs/overrides/main.html +3 -0
- cmd2-2.5.9/docs/overview/alternatives.md +16 -0
- cmd2-2.5.9/docs/overview/index.md +13 -0
- cmd2-2.5.9/docs/overview/installation.md +91 -0
- cmd2-2.5.9/docs/overview/integrating.md +15 -0
- cmd2-2.5.9/docs/overview/resources.md +8 -0
- cmd2-2.5.9/docs/plugins/external_test.md +62 -0
- cmd2-2.5.9/docs/plugins/index.md +7 -0
- cmd2-2.5.9/docs/requirements.txt +7 -0
- cmd2-2.5.9/docs/stylesheets/readthedocs.css +11 -0
- cmd2-2.5.9/docs/testing.md +39 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/@plugins_snapshot.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_ast.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_ast.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_codecs.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_codecs.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_collections_abc.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_collections_abc.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_typeshed/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_typeshed/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_typeshed/importlib.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/_typeshed/importlib.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/abc.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/abc.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/argparse.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/argparse.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/builtins.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/builtins.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/codecs.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/codecs.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/collections/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/collections/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/collections/abc.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/collections/abc.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/contextlib.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/contextlib.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/dataclasses.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/dataclasses.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/_policybase.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/_policybase.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/charset.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/charset.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/contentmanager.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/contentmanager.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/errors.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/errors.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/header.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/header.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/message.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/message.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/policy.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/email/policy.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/enum.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/enum.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/genericpath.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/genericpath.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/_abc.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/_abc.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/abc.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/abc.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/machinery.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/machinery.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/metadata/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/metadata/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/metadata/_meta.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/metadata/_meta.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/readers.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/readers.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/resources/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/resources/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/resources/abc.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/importlib/resources/abc.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/io.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/io.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/os/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/os/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/os/path.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/os/path.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/pathlib.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/pathlib.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/posixpath.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/posixpath.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/re.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/re.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/resource.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/resource.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sre_compile.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sre_compile.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sre_constants.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sre_constants.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sre_parse.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sre_parse.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/subprocess.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/subprocess.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sys/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sys/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sys/_monitoring.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/sys/_monitoring.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/types.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/types.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/typing.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/typing.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/typing_extensions.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/typing_extensions.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/zipfile/__init__.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/zipfile/__init__.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/zipfile/_path.data.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/3.12/zipfile/_path.meta.json +1 -0
- cmd2-2.5.9/examples/.mypy_cache/CACHEDIR.TAG +3 -0
- cmd2-2.5.9/examples/README.md +88 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/alias_startup.py +3 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/arg_decorators.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/argparse_completion.py +2 -3
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/async_printing.py +8 -5
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/basic.py +7 -6
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/basic_completion.py +1 -0
- cmd2-2.5.9/examples/cmd2_history.dat +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/custom_parser.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/decorator_example.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/default_categories.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/dynamic_commands.py +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/environment.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/event_loops.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/example.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/exit_code.py +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/hello_cmd2.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/help_categories.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/initialization.py +11 -10
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/migrating.py +4 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands/commandset_basic.py +16 -16
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands/commandset_custominit.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands_basic.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands_dynamic.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands_main.py +2 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_subcommands.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/override_parser.py +1 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/paged_output.py +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/persistent_history.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/pirate.py +0 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/python_scripting.py +3 -4
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/read_input.py +1 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/remove_settable.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/conditional.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/nested.txt +0 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/save_help_text.py +0 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/script.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/table_creation.py +4 -3
- cmd2-2.5.9/examples/tmux_launch.sh +36 -0
- cmd2-2.5.9/examples/tmux_split.sh +34 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/unicode_commands.py +2 -2
- cmd2-2.5.9/mkdocs.yml +223 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/CHANGELOG.md +8 -6
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/README.md +3 -5
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/build-pyenvs.sh +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/cmd2_ext_test/__init__.py +1 -7
- {cmd2-2.4.2/plugins/template → cmd2-2.5.9/plugins/ext_test}/noxfile.py +1 -1
- cmd2-2.5.9/plugins/ext_test/pyproject.toml +194 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/setup.py +3 -3
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/tasks.py +20 -12
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/tasks.py +23 -6
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/README.md +19 -38
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/build-pyenvs.sh +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/cmd2_myplugin/__init__.py +2 -6
- {cmd2-2.4.2/plugins/ext_test → cmd2-2.5.9/plugins/template}/noxfile.py +1 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/setup.py +3 -3
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/tasks.py +2 -2
- cmd2-2.5.9/pyproject.toml +295 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/readme_files/shout_out.csv +1 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/readme_files/shoutout.txt +39 -40
- cmd2-2.5.9/setup.cfg +4 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tasks.py +45 -59
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/conftest.py +30 -14
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/raises_exception.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/recursive.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/script.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_ansi.py +1 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_argparse.py +47 -30
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_argparse_completer.py +4 -8
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_argparse_custom.py +1 -5
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_cmd2.py +252 -81
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_completion.py +7 -6
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_history.py +63 -4
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_parsing.py +25 -5
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_plugin.py +2 -1
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_run_pyscript.py +22 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_table_creator.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_transcript.py +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_utils.py +70 -32
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/test_utils_defining_class.py +3 -1
- cmd2-2.5.9/tests/transcripts/regex_set.txt +28 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests_isolated/test_commandset/conftest.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests_isolated/test_commandset/test_argparse_subcommands.py +1 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/tests_isolated/test_commandset/test_categories.py +1 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests_isolated/test_commandset/test_commandset.py +102 -9
- cmd2-2.4.2/CHANGELOG.md +0 -1276
- cmd2-2.4.2/PKG-INFO +0 -197
- cmd2-2.4.2/Pipfile +0 -36
- cmd2-2.4.2/README.md +0 -163
- cmd2-2.4.2/cmd2/clipboard.py +0 -44
- cmd2-2.4.2/cmd2.egg-info/PKG-INFO +0 -197
- cmd2-2.4.2/cmd2.egg-info/SOURCES.txt +0 -247
- cmd2-2.4.2/cmd2.egg-info/requires.txt +0 -40
- cmd2-2.4.2/cmd2.png +0 -0
- cmd2-2.4.2/docs/Makefile +0 -89
- cmd2-2.4.2/docs/api/ansi.rst +0 -5
- cmd2-2.4.2/docs/api/argparse_completer.rst +0 -5
- cmd2-2.4.2/docs/api/argparse_custom.rst +0 -35
- cmd2-2.4.2/docs/api/cmd.rst +0 -67
- cmd2-2.4.2/docs/api/command_definition.rst +0 -5
- cmd2-2.4.2/docs/api/constants.rst +0 -29
- cmd2-2.4.2/docs/api/decorators.rst +0 -5
- cmd2-2.4.2/docs/api/exceptions.rst +0 -20
- cmd2-2.4.2/docs/api/history.rst +0 -20
- cmd2-2.4.2/docs/api/index.rst +0 -62
- cmd2-2.4.2/docs/api/parsing.rst +0 -78
- cmd2-2.4.2/docs/api/plugin.rst +0 -45
- cmd2-2.4.2/docs/api/plugin_external_test.rst +0 -9
- cmd2-2.4.2/docs/api/py_bridge.rst +0 -5
- cmd2-2.4.2/docs/api/table_creator.rst +0 -35
- cmd2-2.4.2/docs/api/utils.rst +0 -99
- cmd2-2.4.2/docs/conf.py +0 -187
- cmd2-2.4.2/docs/doc_conventions.rst +0 -228
- cmd2-2.4.2/docs/examples/alternate_event_loops.rst +0 -78
- cmd2-2.4.2/docs/examples/first_app.rst +0 -323
- cmd2-2.4.2/docs/examples/index.rst +0 -8
- cmd2-2.4.2/docs/features/argument_processing.rst +0 -385
- cmd2-2.4.2/docs/features/builtin_commands.rst +0 -160
- cmd2-2.4.2/docs/features/clipboard.rst +0 -33
- cmd2-2.4.2/docs/features/commands.rst +0 -226
- cmd2-2.4.2/docs/features/completion.rst +0 -151
- cmd2-2.4.2/docs/features/disable_commands.rst +0 -103
- cmd2-2.4.2/docs/features/embedded_python_shells.rst +0 -93
- cmd2-2.4.2/docs/features/generating_output.rst +0 -160
- cmd2-2.4.2/docs/features/help.rst +0 -193
- cmd2-2.4.2/docs/features/history.rst +0 -269
- cmd2-2.4.2/docs/features/hooks.rst +0 -340
- cmd2-2.4.2/docs/features/index.rst +0 -32
- cmd2-2.4.2/docs/features/initialization.rst +0 -162
- cmd2-2.4.2/docs/features/misc.rst +0 -101
- cmd2-2.4.2/docs/features/modular_commands.rst +0 -359
- cmd2-2.4.2/docs/features/multiline_commands.rst +0 -36
- cmd2-2.4.2/docs/features/os.rst +0 -177
- cmd2-2.4.2/docs/features/packaging.rst +0 -39
- cmd2-2.4.2/docs/features/plugins.rst +0 -159
- cmd2-2.4.2/docs/features/prompt.rst +0 -68
- cmd2-2.4.2/docs/features/redirection.rst +0 -80
- cmd2-2.4.2/docs/features/scripting.rst +0 -523
- cmd2-2.4.2/docs/features/settings.rst +0 -174
- cmd2-2.4.2/docs/features/shortcuts_aliases_macros.rst +0 -117
- cmd2-2.4.2/docs/features/startup_commands.rst +0 -75
- cmd2-2.4.2/docs/features/table_creation.rst +0 -40
- cmd2-2.4.2/docs/features/transcripts.rst +0 -202
- cmd2-2.4.2/docs/index.rst +0 -107
- cmd2-2.4.2/docs/make.bat +0 -113
- cmd2-2.4.2/docs/migrating/incompatibilities.rst +0 -61
- cmd2-2.4.2/docs/migrating/index.rst +0 -14
- cmd2-2.4.2/docs/migrating/minimum.rst +0 -51
- cmd2-2.4.2/docs/migrating/next_steps.rst +0 -61
- cmd2-2.4.2/docs/migrating/summary.rst +0 -15
- cmd2-2.4.2/docs/migrating/why.rst +0 -82
- cmd2-2.4.2/docs/overview/alternatives.rst +0 -54
- cmd2-2.4.2/docs/overview/index.rst +0 -15
- cmd2-2.4.2/docs/overview/installation.rst +0 -162
- cmd2-2.4.2/docs/overview/integrating.rst +0 -35
- cmd2-2.4.2/docs/overview/resources.rst +0 -13
- cmd2-2.4.2/docs/overview/summary.rst +0 -22
- cmd2-2.4.2/docs/plugins/external_test.rst +0 -82
- cmd2-2.4.2/docs/plugins/index.rst +0 -7
- cmd2-2.4.2/docs/testing.rst +0 -70
- cmd2-2.4.2/noxfile.py +0 -48
- cmd2-2.4.2/pyproject.toml +0 -26
- cmd2-2.4.2/setup.cfg +0 -62
- cmd2-2.4.2/setup.py +0 -111
- cmd2-2.4.2/tests/transcripts/regex_set.txt +0 -27
- {cmd2-2.4.2 → cmd2-2.5.9}/MANIFEST.in +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2/py.typed +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2.egg-info/dependency_links.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/cmd2.egg-info/top_level.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/.cmd2rc +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/arg_print.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/cmd_as_argument.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/colors.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/first_app.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/hooks.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands/__init__.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/modular_commands/commandset_complex.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/remove_builtin_commands.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/arg_printer.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/quit.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/scripts/script.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/subcommands.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/transcripts/exampleSession.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/transcripts/pirate.transcript +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/transcripts/quit.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/examples/transcripts/transcript_regex.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/README.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/cmd2_ext_test/cmd2_ext_test.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/cmd2_ext_test/py.typed +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/cmd2_ext_test/pylintrc +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/examples/example.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/tests/__init__.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/tests/pylintrc +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/ext_test/tests/test_ext_test.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/CHANGELOG.md +2 -2
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/LICENSE +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/cmd2_myplugin/myplugin.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/cmd2_myplugin/pylintrc +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/examples/example.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/tests/__init__.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/tests/pylintrc +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/plugins/template/tests/test_myplugin.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/.cmd2rc +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/__init__.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/echo.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/environment.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/help.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/py_locals.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/pyscript_dir.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/self_in_py.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/stdout_capture.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/pyscript/stop.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/relative_multiple.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/script.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/binary.bin +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/empty.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/help.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/nested.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/one_down.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/postcmds.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/precmds.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/scripts/utf8.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/bol_eol.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/characterclass.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/dotstar.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/extension_notation.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/failure.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/from_cmdloop.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/multiline_no_regex.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/multiline_regex.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/no_output.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/no_output_last.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/singleslash.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/slashes_escaped.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/slashslash.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/spaces.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests/transcripts/word_boundaries.txt +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests_isolated/__init__.py +0 -0
- {cmd2-2.4.2 → cmd2-2.5.9}/tests_isolated/test_commandset/__init__.py +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
repos:
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3
|
+
rev: "v5.0.0"
|
4
|
+
hooks:
|
5
|
+
- id: check-case-conflict
|
6
|
+
- id: check-merge-conflict
|
7
|
+
- id: end-of-file-fixer
|
8
|
+
- id: trailing-whitespace
|
9
|
+
|
10
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
11
|
+
rev: "v0.9.2"
|
12
|
+
hooks:
|
13
|
+
- id: ruff-format
|
14
|
+
args: [--config=pyproject.toml]
|
15
|
+
|
16
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
17
|
+
rev: "v3.1.0"
|
18
|
+
hooks:
|
19
|
+
- id: prettier
|
20
|
+
additional_dependencies:
|
21
|
+
- prettier@3.4.2
|
22
|
+
- prettier-plugin-toml@2.0.1
|
cmd2-2.5.9/.prettierrc
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Read the Docs configuration file for MkDocs projects
|
2
|
+
# See https://docs.readthedocs.io/en/stable/intro/mkdocs.html for details
|
3
|
+
|
4
|
+
# Required
|
5
|
+
version: 2
|
6
|
+
|
7
|
+
# Optionally build your docs in additional formats such as PDF and ePub
|
8
|
+
# formats:
|
9
|
+
# - pdf
|
10
|
+
# - epub
|
11
|
+
formats: all
|
12
|
+
|
13
|
+
# Build documentation in the "docs/" directory with MkDocs
|
14
|
+
mkdocs:
|
15
|
+
configuration: mkdocs.yml
|
16
|
+
|
17
|
+
# Set the OS, Python version and other tools you might need
|
18
|
+
build:
|
19
|
+
os: ubuntu-24.04
|
20
|
+
tools:
|
21
|
+
python: "3.13"
|
22
|
+
jobs:
|
23
|
+
install:
|
24
|
+
- pip install .
|
25
|
+
- pip install dependency-groups
|
26
|
+
- pip-install-dependency-groups docs
|