summaryrefslogtreecommitdiff
path: root/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
* rely on already-imported String()python2Dave Eargle2019-06-181-2/+1
| | | | closes #694
* py27 tests passing -- redirect operator was not being recognized because was ↵Dave Eargle2019-06-181-0/+1
| | | | | | nested within a parsed list. Therefore appending >> was not working
* Updated version numberKevin Van Brunt2018-08-011-1/+1
|
* Fixed case where extra slash was printing when tab completing users on WindowsKevin Van Brunt2018-08-011-2/+5
|
* display_matches is no longer restricted to delimited strings0.8.8Kevin Van Brunt2018-06-071-13/+18
|
* Backported file open crash fixes for Issue #430 to python2 branchTodd Leonhardt2018-06-071-31/+75
| | | | | | Also: - Bumped version on python2 branch to 0.8.8 - Updated CHANGELOG
* Trying 0.8.7 for #4210.8.7kotfu2018-05-281-1/+1
|
* Update version to 0.8.6.1 for #4210.8.6.1kotfu2018-05-281-1/+1
|
* no dashes in rc version0.8.7rc1kotfu2018-05-281-1/+1
|
* Add ‘python-requires >= 2.7’ for #421kotfu2018-05-281-1/+1
|
* Updated the py console to tab complete Python identifiers and have its own ↵Kevin Van Brunt2018-05-261-18/+161
| | | | history
* Completing alias names in value field of alias command since aliases can be ↵Kevin Van Brunt2018-05-151-2/+5
| | | | nested
* Removed test codeKevin Van Brunt2018-05-151-2/+2
|
* Changed readline warning messageKevin Van Brunt2018-05-081-5/+6
|
* Removed colorKevin Van Brunt2018-05-071-1/+1
|
* Backporting readline warningKevin Van Brunt2018-05-071-17/+30
|
* Fixed issue where completion display function was overwritten when a submenu ↵Kevin Van Brunt2018-04-281-32/+35
| | | | | | quits. Fixed issue where submenus did not pass up all completion parameters to complete().
* Backport bugfix related to help completion on commands using ↵Eric Lin2018-04-201-2/+12
| | | | with_argparser_and_unknown_args.
* Created python2 branch for 0.8.x bug fix releasesTodd Leonhardt2018-04-151-1/+1
| | | | | Also: - Bumped version to 0.8.6 on this branch
* Comment changeKevin Van Brunt2018-04-151-1/+1
|
* Comment updateKevin Van Brunt2018-04-151-1/+1
|
* Updated comments and examplesKevin Van Brunt2018-04-151-0/+1
|
* More unit tests and commentsKevin Van Brunt2018-04-151-0/+3
|
* Improving documentationKevin Van Brunt2018-04-141-11/+18
|
* Still hammering out adding an opening quoteKevin Van Brunt2018-04-141-11/+13
|
* Corrected how an opening quote is added to delimited matches like pathsKevin Van Brunt2018-04-141-8/+13
|
* Changed opening quote check and comment for clarityKevin Van Brunt2018-04-141-3/+3
|
* Preparation for 0.8.5 releaseTodd Leonhardt2018-04-131-1/+1
| | | | | - Bumped version to 0.8.5 - Added details to CHANGELOG.md regarding recent changes
* Correcting when to add an opening quoteKevin Van Brunt2018-04-141-3/+3
|
* Added more clarification to commentKevin Van Brunt2018-04-131-5/+4
|
* Added commentKevin Van Brunt2018-04-131-4/+5
|
* Simplifying adding opening quotesKevin Van Brunt2018-04-131-166/+72
|
* Fixed comment and changed Python 3 check to use sixKevin Van Brunt2018-04-131-2/+2
|
* Removed unused variablesKevin Van Brunt2018-04-131-2/+0
|
* Added better check for whether a path is a directoryKevin Van Brunt2018-04-131-3/+4
|
* Fixed unbound local warningKevin Van Brunt2018-04-131-3/+3
|
* Added some basic user completion on WindowsKevin Van Brunt2018-04-131-18/+24
|
* Allowing the use of ~user expansion in pathsKevin Van Brunt2018-04-121-29/+53
|
* #350 Pass the return value back through for wrapped functions.Eric Lin2018-04-121-3/+3
|
* Removed an emty line.Eric Lin2018-04-111-1/+0
|
* Added a with_category decorator that can be used to tag a command category.Eric Lin2018-04-111-7/+51
| | | | | | | | | Changed the detection of with_argparse decorated commands to be less hacky/brittle. Now it tags the function with help_summary. Fixed issue with handling commands that provide a custom help_ function. We can now redirect the output to a string to be formatted with the other commands. Added some documentation explaining the new help categories. Updated unit tests.
* Fixed issue where categorization is skipped when there's a help_<command> ↵Eric Lin2018-04-111-6/+11
| | | | | | | | function provided. In verbose help, added check for argparse usage block (starting with 'usage: '), to skip that block and move to the next comment block Added unit tests for new categorization code Updated example to demonstrate skipping of argparse usage statement
* Removed extra new lineKevin Van Brunt2018-04-111-1/+0
|
* Added verbose help output with help -v or help --verboseEric Lin2018-04-101-12/+59
| | | | | Reads the __doc__ for a command function and provides the first block of text for each command. Updated help_categories.py to demonstrate a multi-line comment block for a command.
* Merge remote-tracking branch 'origin/master' into help_categoriesEric Lin2018-04-101-1/+1
|\
| * Preparing for 0.8.4 release0.8.4Kevin Van Brunt2018-04-101-1/+1
| |
* | Fixed imports since new categorization feature requires IterableTodd Leonhardt2018-04-091-1/+1
| |
* | Remove usage of optional type hinting which is not allowed in Python 2.7Todd Leonhardt2018-04-091-4/+6
| |
* | Merge branch 'master' into help_categoriesTodd Leonhardt2018-04-091-3/+3
|\ \ | |/
| * Swapped line order for comment clarityKevin Van Brunt2018-04-101-3/+3
| |