Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Address fact that typing.Deque wasn't defined prior to 3.5.4 | Todd Leonhardt | 2020-07-13 | 1 | -0/+1 |
| | |||||
* | replace pkg_resources with importlib.metadata | Doug Hellmann | 2020-07-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Importing pkg_resources has a side-effect of scanning every installed distribution on sys.path to load the metadata, especially the entry points defined in the packages. This can have a significant launch-time cost for command line applications when there are a lot of distributions to scan. Since cmd2 is only using pkg_resources to find the version of the installed package, pkg_resources can be replaced with importlib.metadata. The implementation in the new library is significantly faster because it goes immediately to the metadata file for the requested distribution, instead of scanning all of them. There are also no import-time side-effects. importlib.metadata is a new standard library module starting with python 3.8. For earlier versions, a compatible library has been released to PyPI as 'importlib_metadata'. This change adds the new dependency with a qualifier so that it is only applied to older versions of python, and then updates the places that were importing pkg_resources to look for the different versions of the new library instead. The documentation configuration is changed to import cmd2 itself to get its version, since the package has to be installed for the metadata to be available anyway. Signed-off-by: Doug Hellmann <doug@doughellmann.com> | ||||
* | Fixed command finalization example | Kevin Van Brunt | 2020-07-07 | 1 | -1/+1 |
| | |||||
* | Move line that seemed out of place at the very end to before the "advanced" ↵ | Todd Leonhardt | 2020-06-27 | 1 | -3/+3 |
| | | | | section | ||||
* | Further additions to pyscript documenntation for Issue #644 | Eric Lin | 2020-06-22 | 4 | -0/+114 |
| | |||||
* | Updated docs | Kevin Van Brunt | 2020-05-28 | 2 | -1/+20 |
| | |||||
* | Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it. | Kevin Van Brunt | 2020-05-07 | 2 | -13/+26 |
| | | | | Both exception classes have been added to the public API. | ||||
* | Added info on semantic versioning and branching strategy to CONTRIBUTING.md | Todd Leonhardt | 2020-04-24 | 1 | -2/+1 |
| | | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes | ||||
* | Completion doc updates | Kevin Van Brunt | 2020-04-23 | 1 | -1/+2 |
| | |||||
* | More completion doc updates | Kevin Van Brunt | 2020-04-23 | 1 | -2/+2 |
| | |||||
* | Updated tab completion documentation | Kevin Van Brunt | 2020-04-23 | 1 | -3/+40 |
| | |||||
* | Documented CompletionError class | Kevin Van Brunt | 2020-04-23 | 1 | -0/+18 |
| | |||||
* | Fix doc8 whitespace issue | Todd Leonhardt | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | Updating documentation for table creation | Kevin Van Brunt | 2020-04-22 | 3 | -0/+42 |
| | |||||
* | Updated docs | Kevin Van Brunt | 2020-04-22 | 3 | -0/+37 |
| | |||||
* | Fix documentation typo found in PR #915 | Todd Leonhardt | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Fix extra space typo | Todd Leonhardt | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Added documentation about decorator order and updated an example | Todd Leonhardt | 2020-04-09 | 2 | -0/+48 |
| | | | | | Also: - Deal with warnings when building docs with Sphinx 3.0.0 | ||||
* | The continuation_prompt attribute was declared twice in cmd.rst - this fixes ↵ | Todd Leonhardt | 2020-04-08 | 1 | -5/+1 |
| | | | | and consolidates that | ||||
* | Ctrl-C now stops a running text script instead of just the current script ↵ | Kevin Van Brunt | 2020-03-26 | 2 | -6/+6 |
| | | | | command | ||||
* | Addressing PR feedback. | kotfu | 2020-02-28 | 1 | -0/+9 |
| | |||||
* | Merge branch 'master' into scripting_docs | kotfu | 2020-02-28 | 1 | -18/+24 |
|\ | |||||
| * | Revise completion docs. Fixes #800. Updates #765. | kotfu | 2020-02-28 | 1 | -18/+24 |
| | | |||||
* | | Update scripting docs. Closes #765. | kotfu | 2020-02-28 | 3 | -17/+38 |
|/ | |||||
* | Add cross-references and links | kotfu | 2020-02-24 | 1 | -17/+13 |
| | |||||
* | Remove extra newline and EOF | kotfu | 2020-02-24 | 1 | -1/+0 |
| | |||||
* | Update history documentation | kotfu | 2020-02-24 | 2 | -7/+39 |
| | |||||
* | Revise version statement | kotfu | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | Move list sorting from completion to misc | kotfu | 2020-02-24 | 1 | -6/+6 |
| | |||||
* | Revise table of contents to include a description of each module | kotfu | 2020-02-24 | 3 | -8/+37 |
| | |||||
* | Specify spacing when using autoclass | kotfu | 2020-02-24 | 1 | -0/+15 |
| | |||||
* | Clarify that the API documentation is the public API. | kotfu | 2020-02-22 | 2 | -2/+18 |
| | |||||
* | Add py_bridge API documentation | kotfu | 2020-02-22 | 2 | -0/+6 |
| | |||||
* | Instead of using automodule, only document public api functions | kotfu | 2020-02-22 | 1 | -1/+74 |
| | |||||
* | Add links to recently added API documentation | kotfu | 2020-02-22 | 1 | -13/+14 |
| | |||||
* | Add argparse stuff to api | kotfu | 2020-02-22 | 5 | -11/+18 |
| | |||||
* | Revisions and improvements for hooks and plugins | kotfu | 2020-02-22 | 4 | -62/+97 |
| | |||||
* | plugin and hook documentation updates | kotfu | 2020-02-20 | 6 | -76/+141 |
| | | | | | | - add api documentation for plugin data classes - update hook and plugin documentation to link to now documented api classes | ||||
* | Add history api documentation | kotfu | 2020-02-20 | 3 | -1/+26 |
| | |||||
* | Merge branch 'master' into api_docs | kotfu | 2020-02-20 | 3 | -11/+1 |
|\ | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md # cmd2/__init__.py # cmd2/decorators.py # docs/api/utility_functions.rst | ||||
| * | Fixed docs error | Kevin Van Brunt | 2020-02-20 | 1 | -1/+1 |
| | | |||||
| * | Moved custom cmd2 exceptions to a separate file and removed them from public API | Todd Leonhardt | 2020-02-18 | 3 | -11/+1 |
| | | |||||
* | | Add API documentation for constants | kotfu | 2020-02-15 | 2 | -0/+30 |
| | | |||||
* | | Finish attribute documentation for Statement class | kotfu | 2020-02-14 | 1 | -5/+30 |
| | | |||||
* | | Add documentation of multiline_command attribute | kotfu | 2020-02-14 | 1 | -0/+5 |
| | | |||||
* | | Remove separate files for utility functions and classes | kotfu | 2020-02-14 | 3 | -6/+0 |
| | | |||||
* | | Add link to issue for more detail on how we determined our attribute ↵ | kotfu | 2020-02-14 | 1 | -0/+3 |
| | | | | | | | | documentation approach | ||||
* | | Add documentation for parsing classes | kotfu | 2020-02-14 | 3 | -7/+48 |
| | | |||||
* | | no - in tab-completion | kotfu | 2020-02-14 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into api_docs | kotfu | 2020-02-14 | 9 | -33/+84 |
|\ \ | |/ | | | | | | | | | # Conflicts: # cmd2/ansi.py # docs/features/completion.rst |