summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | | * | | | | | | | | | | Added read_input() exampleKevin Van Brunt2020-09-011-0/+89
| | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | Refactored ArgparseCompleter to support custom completionKevin Van Brunt2020-09-015-74/+66
| | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | Refactored read_input to support custom completionKevin Van Brunt2020-08-311-59/+138
| | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | Refactored complete() to handle custom behavior from read_input()Kevin Van Brunt2020-08-313-80/+107
| | |_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-288-35/+94
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Removed Namespace.__statement__Kevin Van Brunt2020-08-273-10/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-2714-41/+88
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-258-18/+64
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-2014-52/+340
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #977 from python-cmd2/refactor_completionKevin Van Brunt2020-08-1920-522/+375
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring completion for 2.0.0 release
| | * | | | | | | | | | | | | | | | | | | Updated change logKevin Van Brunt2020-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Documented support for standalone functions being used as completers and ↵Kevin Van Brunt2020-08-183-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | choices_providers. Added unit tests for this case.
| | * | | | | | | | | | | | | | | | | | | Updated async printing example to use thread event instead of a boolean flagKevin Van Brunt2020-08-181-7/+7
| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-1319-514/+329
| |/ / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced completer_function / completer_method with completer. ArgparseCompleter now always passes cmd2.Cmd or CommandSet instance as the self argument to choices_provider and completer functions. Moved basic_complete from utils into cmd2.Cmd class. Moved CompletionError to exceptions.py
| | | | | | | | | | | | | | | | | | | * Merge branch 'master' into blackblackTodd Leonhardt2021-02-091-1/+3
| | | | | | | | | | | | | | | | | | | |\ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge pull request #1054 from jayrod/cookiecutter_readme_additionTodd Leonhardt2021-02-091-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | docs(README): Added links for cookiecutter projects
| * | | | | | | | | | | | | | | | | | | Merge branch 'master' into cookiecutter_readme_additionTodd Leonhardt2021-02-095-7/+52
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | docs(README): Added links for cookiecutter projectsjay2021-02-031-1/+3
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added section to README for community donated cookiecutter templates. refs #940
| | | | | | | | | | | | | | | | | | * Merge branch 'master' into blackTodd Leonhardt2021-02-090-0/+0
| | | | | | | | | | | | | | | | | | |\ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #1053 from python-cmd2/black_configTodd Leonhardt2021-02-095-7/+52
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | Added black to Pipfile and black configuration to pyrpoject.toml
| * | | | | | | | | | | | | | | | | | Added black to Pipfile and black configuration to pyrpoject.tomlblack_configTodd Leonhardt2021-02-015-7/+52
|/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Updated flake8 and isort config in setup.cfg to be consistent with black - Simplified how flake8 is executed by invoke task - Simplified how flake8 is executed by GitHub Actions workflow
| | | | | | | | | | | | | | | | | * Need to install isort before we can run it ;-)Todd Leonhardt2021-01-311-1/+1
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Add in isort changesTodd Leonhardt2021-01-3157-145/+441
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Exclude various directories from isortTodd Leonhardt2021-01-312-1/+2
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Attempt to fix remaining black failuresTodd Leonhardt2021-01-3115-44/+177
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Hopefully print out what files black would want to changeTodd Leonhardt2021-01-311-1/+1
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Change black configTodd Leonhardt2021-01-311-1/+1
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Attempt to make flake8 and black play nicelyTodd Leonhardt2021-01-312-2/+2
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Add black for automatic code formatTodd Leonhardt2021-01-3191-2122/+3001
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Updated CHANGELOG to prepare for next release1.5.0Todd Leonhardt2021-01-312-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Upated README to reflect this will be the last release to support Python 3.5
* | | | | | | | | | | | | | | | | Merge pull request #1051 from python-cmd2/github_actionsTodd Leonhardt2021-01-3116-146/+141
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | Use GitHub Actions for CI
| * | | | | | | | | | | | | | | | Removed CONTRIBUTING.md file from the manifest (i.e. from the PyPI package)github_actionsTodd Leonhardt2021-01-311-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Simplify workflow configs by removing an environment variable that wasn't ↵Todd Leonhardt2021-01-313-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | used any longer
| * | | | | | | | | | | | | | | | Simplify GitHub Actions workflow configs so they run on any push or PR ↵Todd Leonhardt2021-01-313-27/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of only ones to specific branches I like getting to see the output of CI tools while I develop on a branch and suspect that will be handy for others as well.
| * | | | | | | | | | | | | | | | Fix syntax error in doc.yml workflow files building Sphinx docs using GitHub ↵Todd Leonhardt2021-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actions
| * | | | | | | | | | | | | | | | Finish removing use of caching in GitHub Actions YAML configTodd Leonhardt2021-01-303-6/+0
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Remove GitHub Actions cache step because it wasn't working correctlyTodd Leonhardt2021-01-303-21/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Change name of lint and doc jobsTodd Leonhardt2021-01-302-3/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add back in GitHub Actions cachingTodd Leonhardt2021-01-303-10/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Move flake8 linting to its own workflow - Add new workflow for Sphinx documentation build
| * | | | | | | | | | | | | | | | Remove Python 3.10 testing because it doesn't appear to be available in ↵Todd Leonhardt2021-01-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GitHub Actions yet
| * | | | | | | | | | | | | | | | Try to fix flake8 lint run and Python 3.10 runsTodd Leonhardt2021-01-302-3/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Fix nox session name for running testsTodd Leonhardt2021-01-301-2/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Damn computers, doing what I said instead of what I meantTodd Leonhardt2021-01-301-2/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Fix how python version is passed to nox command-line argumentTodd Leonhardt2021-01-301-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Only run a single nox session for each version of Python in GitHub Actions ↵Todd Leonhardt2021-01-303-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix Also: - Temporarily disable dependency caching in GitHub Actions - For Azure Pipelines MacOs testing, add Python 3.9 and remove 3.5
| * | | | | | | | | | | | | | | | Remove all use of AppVeyor for Windows testing because it is slower than ↵Todd Leonhardt2021-01-305-36/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GitHub Actions for the same purpose
| * | | | | | | | | | | | | | | | Replaced Travis CI badge in README with a GitHub Actions CI badgeTodd Leonhardt2021-01-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also tried to fix AppVeyor build
| * | | | | | | | | | | | | | | | Try to fix syntax error in AppVeyor configTodd Leonhardt2021-01-301-3/+0
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Attempt to speedup AppVeyor buildTodd Leonhardt2021-01-301-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This switches from using a conda-based Windows environment on AppVeyor to a default one. The purpose is to see if we can significantly speed up tests running on AppVeyor. Because if we can't, then I am just going to remove use of AppVeyor entirely in favor of GitHub Actions.
| * | | | | | | | | | | | | | | | Try to fix missing Python dependencies on WindowsTodd Leonhardt2021-01-301-1/+2
| | | | | | | | | | | | | | | | |