summaryrefslogtreecommitdiff
path: root/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
* Preparing for 0.8.4 release0.8.4Kevin Van Brunt2018-04-101-1/+1
|
* Swapped line order for comment clarityKevin Van Brunt2018-04-101-3/+3
|
* 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
|
* Forgot that topic and command names can overlapKevin Van Brunt2018-03-311-3/+3
|
* Sorting matches earlierKevin Van Brunt2018-03-311-9/+12
|
* Removed unnecessary sorting and duplicate removal from the completers since allKevin Van Brunt2018-03-311-57/+35
| | | | | | results from these functions are returned to complete() which already does these things. These changes also provide better examples of what is required to write a completer and what isn't.
* Fixed commentKevin Van Brunt2018-03-301-2/+2
|
* Fixed bug where display width was not being calculated for display_matchesKevin Van Brunt2018-03-301-83/+69
|
* Updated comments and simplified a check for an unclosed quoteKevin Van Brunt2018-03-301-22/+12
|
* Fixed commentKevin Van Brunt2018-03-291-1/+1
|
* Fixed a comment a made a line more readableKevin Van Brunt2018-03-291-3/+3
|
* Updated commentKevin Van Brunt2018-03-281-1/+2
|
* Simplified the readline lib loadingKevin Van Brunt2018-03-281-17/+8
|
* Simplified how to add tab completion to a subcommandKevin Van Brunt2018-03-281-25/+61
|
* Addressed code review commentsKevin Van Brunt2018-03-271-2/+6
|
* Added checks for readline implementation typeKevin Van Brunt2018-03-271-26/+41
|
* Fixed a case where display_matches wasn't being set. Added unit tests.Kevin Van Brunt2018-03-271-12/+15
|
* Restoring all changes to readline before command loop exitsKevin Van Brunt2018-03-261-17/+30
|
* Simplified codeKevin Van Brunt2018-03-261-5/+4
|
* Updated commentKevin Van Brunt2018-03-261-1/+1
|
* Added delimiter_complete functionKevin Van Brunt2018-03-261-0/+58
|
* Allowing multiple redirectors when tab completingKevin Van Brunt2018-03-261-33/+38
|
* Added logic for choosing quote typeKevin Van Brunt2018-03-261-2/+8
|
* Fixed indexing bug and unit testKevin Van Brunt2018-03-261-3/+3
|
* All completer routines now receive the entire token being completed in the ↵Kevin Van Brunt2018-03-261-96/+37
| | | | text variable
* Improved parsing for tab completing redirectorsKevin Van Brunt2018-03-251-20/+22
|
* Added completion for redirection to every commandKevin Van Brunt2018-03-251-2/+57
|
* Added functions to set realine line buffer and cursor offsetKevin Van Brunt2018-03-251-25/+45
|
* Handling redirection characters in tab completion tokenizingKevin Van Brunt2018-03-251-16/+64
|
* Updated documentationKevin Van Brunt2018-03-251-1/+1
|
* Merge branch 'master' into new_quoted_completionKevin Van Brunt2018-03-251-4/+9
|\
| * Allow quoted file paths when redirecting with < and >Kevin Van Brunt2018-03-241-4/+9
| |
* | Moving toward properly tab completing redirectionsKevin Van Brunt2018-03-251-20/+30
| |
* | Made subcommand specific completion work with Python 2 in the examplesKevin Van Brunt2018-03-241-7/+8
| |
* | Remove unneeded use of functools.partialKevin Van Brunt2018-03-241-1/+1
| |
* | Moved all completer functions into cmd2 since they will now depend on ↵Kevin Van Brunt2018-03-241-643/+530
| | | | | | | | cmd2.allow_redirection
* | Removed unused variableKevin Van Brunt2018-03-241-1/+0
| |
* | Moving codeKevin Van Brunt2018-03-241-16/+18
| |
* | Simplifying the code by calling readline functions directly.Kevin Van Brunt2018-03-241-86/+119
| | | | | | | | For tab completion, do work break on whitespace and quotes only. We will handle other delimitation ourselves.
* | Renamed variable for clarityKevin Van Brunt2018-03-241-10/+10
| |
* | Reversed logic for readabilityKevin Van Brunt2018-03-241-9/+9
| |
* | Returning both the unquoted and raw tokens for tab completionKevin Van Brunt2018-03-241-37/+45
| |
* | Using shlex.split() again since filenames were being split on periodsKevin Van Brunt2018-03-231-2/+1
| |