summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Breaking change: Removed cmd2 app as a required second parameter toEric Lin2020-08-121-34/+35
| | | | | | CommandSet command functions (do_, complete_, help_). Renamed install_command_set and uninstall_command_set to register_command_set and unregister_command_set.
* Verify that a completer function is defined in a CommandSet beforeEric Lin2020-08-062-1/+5
| | | | | | | | | | passing it a CommandSet instance. Search for a CommandSet instance that matches the completer's parent class type.` Resolves Issue #967 Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation
* Marked with_arparser_and_unknown_args deprecated and consolidatedEric Lin2020-08-041-1/+1
| | | | implementation as an option to with_argparser instead.
* Minor formatting fixes. Injecting a function into namespace objects before ↵Eric Lin2020-08-041-3/+3
| | | | passing to command handlers to access sub-command handlers
* Fix a couple doc8 warningsTodd Leonhardt2020-08-041-5/+7
|
* Suggested PR Fixes.Eric Lin2020-08-041-5/+5
| | | | | sub-commande => subcommand Added help/aliases to `as_subcommand_to` decorator.
* Adds support for injectable subcommands as part of CommandSetEric Lin2020-08-041-0/+126
| | | | | | load/unload. Updated examples and documentation to include discussion of injectable sub-commands.
* updated importsEric Lin2020-08-043-0/+214
| | | | Added additional documentation
* Fixes to sphinx generationEric Lin2020-08-042-0/+6
|
* Fixed hook documentationKevin Van Brunt2020-07-171-9/+9
|
* Address fact that typing.Deque wasn't defined prior to 3.5.4Todd Leonhardt2020-07-131-0/+1
|
* replace pkg_resources with importlib.metadataDoug Hellmann2020-07-121-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 exampleKevin Van Brunt2020-07-071-1/+1
|
* Move line that seemed out of place at the very end to before the "advanced" ↵Todd Leonhardt2020-06-271-3/+3
| | | | section
* Further additions to pyscript documenntation for Issue #644Eric Lin2020-06-224-0/+114
|
* Updated docsKevin Van Brunt2020-05-282-1/+20
|
* Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it.Kevin Van Brunt2020-05-072-13/+26
| | | | Both exception classes have been added to the public API.
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-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 updatesKevin Van Brunt2020-04-231-1/+2
|
* More completion doc updatesKevin Van Brunt2020-04-231-2/+2
|
* Updated tab completion documentationKevin Van Brunt2020-04-231-3/+40
|
* Documented CompletionError classKevin Van Brunt2020-04-231-0/+18
|
* Fix doc8 whitespace issueTodd Leonhardt2020-04-231-1/+1
|
* Updating documentation for table creationKevin Van Brunt2020-04-223-0/+42
|
* Updated docsKevin Van Brunt2020-04-223-0/+37
|
* Fix documentation typo found in PR #915Todd Leonhardt2020-04-091-1/+1
|
* Fix extra space typoTodd Leonhardt2020-04-091-1/+1
|
* Added documentation about decorator order and updated an exampleTodd Leonhardt2020-04-092-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 Leonhardt2020-04-081-5/+1
| | | | and consolidates that
* Ctrl-C now stops a running text script instead of just the current script ↵Kevin Van Brunt2020-03-262-6/+6
| | | | command
* Addressing PR feedback.kotfu2020-02-281-0/+9
|
* Merge branch 'master' into scripting_docskotfu2020-02-281-18/+24
|\
| * Revise completion docs. Fixes #800. Updates #765.kotfu2020-02-281-18/+24
| |
* | Update scripting docs. Closes #765.kotfu2020-02-283-17/+38
|/
* Add cross-references and linkskotfu2020-02-241-17/+13
|
* Remove extra newline and EOFkotfu2020-02-241-1/+0
|
* Update history documentationkotfu2020-02-242-7/+39
|
* Revise version statementkotfu2020-02-241-1/+1
|
* Move list sorting from completion to misckotfu2020-02-241-6/+6
|
* Revise table of contents to include a description of each modulekotfu2020-02-243-8/+37
|
* Specify spacing when using autoclasskotfu2020-02-241-0/+15
|
* Clarify that the API documentation is the public API.kotfu2020-02-222-2/+18
|
* Add py_bridge API documentationkotfu2020-02-222-0/+6
|
* Instead of using automodule, only document public api functionskotfu2020-02-221-1/+74
|
* Add links to recently added API documentationkotfu2020-02-221-13/+14
|
* Add argparse stuff to apikotfu2020-02-225-11/+18
|
* Revisions and improvements for hooks and pluginskotfu2020-02-224-62/+97
|
* plugin and hook documentation updateskotfu2020-02-206-76/+141
| | | | | | - add api documentation for plugin data classes - update hook and plugin documentation to link to now documented api classes
* Add history api documentationkotfu2020-02-203-1/+26
|
* Merge branch 'master' into api_docskotfu2020-02-203-11/+1
|\ | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md # cmd2/__init__.py # cmd2/decorators.py # docs/api/utility_functions.rst