summaryrefslogtreecommitdiff
path: root/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Added a convenience function for tagging command categories.Eric Lin2018-04-091-0/+13
| |
* | Added ability to group commands by category when printing the help menu.Eric Lin2018-04-091-3/+20
|/ | | | Added example of multiple commands grouped by categories
* Updated version number of release0.8.3Kevin Van Brunt2018-04-091-1/+1
|
* No longer expanding env vars since the shell will do thatKevin Van Brunt2018-04-061-2/+3
|
* Refactored functionKevin Van Brunt2018-04-031-6/+6
|
* Added padding to display matches for visual appealKevin Van Brunt2018-04-031-1/+31
|
* Don't try to load empty or non-existent startup scriptKevin Van Brunt2018-04-021-5/+7
|
* Added ability to query individual aliasKevin Van Brunt2018-04-021-7/+17
|
* Allowing aliases to contain other aliasesKevin Van Brunt2018-04-021-12/+50
|
* Allow an alias name to match a command nameKevin Van Brunt2018-03-311-9/+3
|