summaryrefslogtreecommitdiff
path: root/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Added get_all_commandsKevin Van Brunt2018-03-221-9/+18
| |
* | Renamed exclude_from_help to hidden_commandsKevin Van Brunt2018-03-221-51/+61
| | | | | | | | | | Renamed excludeFromHistory to exclude_from_history No longer tab completing hidden commands
* | Make sure completion tokens are never emptyKevin Van Brunt2018-03-221-12/+14
| |
* | Fixed Python 2.7 issueKevin Van Brunt2018-03-211-2/+6
| |
* | Added better analysis of tab completing shell commandsKevin Van Brunt2018-03-211-21/+19
| |
* | More unit test updatesKevin Van Brunt2018-03-211-1/+1
| |
* | Don't try to look for subcommands on something that is running as a shell ↵Kevin Van Brunt2018-03-211-8/+12
| | | | | | | | command
* | Merge branch 'master' into new_quoted_completionKevin Van Brunt2018-03-211-5/+9
|\ \ | |/
| * Fixed bug where readline got imported separately laterTodd Leonhardt2018-03-211-1/+0
| |
| * Added back in preference for gnureadline if it is presentTodd Leonhardt2018-03-211-5/+9
| | | | | | | | | | | | Now that the crash bug in the gnureadline Python module which statically links against a compatible version of GNU Readline has been fixed for macOS, we added back in the top-level import boilerplate to prefer it if it is available. Also updated some documentation in relation to getting readline installed for macOS.
* | Fixed Pycharm warningsKevin Van Brunt2018-03-211-11/+35
| |
* | Fixed check for unclosed quoteKevin Van Brunt2018-03-211-1/+7
| |
* | Corrected display_entire_match behavior. A bit of refactoring.Kevin Van Brunt2018-03-211-44/+97
| |
* | Fixed issue where display matches were not being setKevin Van Brunt2018-03-211-3/+5
| |
* | Added generic code for getting terminal size for Python versions prior to 3.3Todd Leonhardt2018-03-211-1/+7
| |
* | shutil.get_terminal_size does not exist before Python 3.3Kevin Van Brunt2018-03-211-1/+4
| |
* | Renamed a functionKevin Van Brunt2018-03-211-2/+2
| |
* | Updated commentsKevin Van Brunt2018-03-211-4/+6
| |
* | Made sure quoting of a token works on Python 2.7.Kevin Van Brunt2018-03-201-20/+28
| |
* | Fixed unit test failure on Python 2.7Todd Leonhardt2018-03-201-1/+2
| | | | | | | | | | | | | | The shlex.quote() function wasn't added until Python 3.3. TODO: - <TAB><TAB> is broken on Python 2.7
* | Returning on errorKevin Van Brunt2018-03-201-0/+1
| |
* | Merge branch 'master' into quoted_completionKevin Van Brunt2018-03-201-3/+40
|\ \ | |/
| * Added an extra check to ppaged() to make sure cmd2 app is running in a real ↵Todd Leonhardt2018-03-201-2/+11
| | | | | | | | terminal before attempting to use a pager
| * Fixed the text of the KeyboardInterrupt Exception that is getting raised ↵Todd Leonhardt2018-03-201-1/+1
| | | | | | | | within the SIGINT handler
| * Fix unit testsTodd Leonhardt2018-03-191-1/+1
| |
| * Added a default signal handler for SIGINT (Ctrl-C)Todd Leonhardt2018-03-191-1/+24
| | | | | | | | | | | | | | | | | | | | Added a default signal handler for SIGINT that does the following: - Terminates a pipe process if one exists - Raises a KeyboardInterrupt for other parts othe code to catch Also: - Changed the default value for quit_on_sigint to False - Modified the way the subcommand functions are called in subcommand.py (unrelated to rest of commit)
| * ~ only needs to be expanded if search text was enteredKevin Van Brunt2018-03-181-2/+2
| |
| * Fixed how we complete ~Kevin Van Brunt2018-03-181-7/+6
| |
* | Expanded do_shell parsing of commandKevin Van Brunt2018-03-201-1/+14
| |
* | Fixed Windows since pyreadline does not implement ↵Kevin Van Brunt2018-03-201-3/+28
| | | | | | | | set_completion_display_matches_hook
* | Fixed index bugKevin Van Brunt2018-03-201-3/+9
| |
* | Made cmd2.py executableKevin Van Brunt2018-03-201-0/+0
| |
* | Fixed some unit testsKevin Van Brunt2018-03-201-6/+9
| |
* | Made path completion work with tildes againKevin Van Brunt2018-03-201-19/+30
| |
* | Using same completer delimiters. Added customization for how tab-completion ↵Kevin Van Brunt2018-03-201-94/+203
| | | | | | | | suggestions are displayed.
* | Renamed variableKevin Van Brunt2018-03-201-7/+7
| |
* | Not altering copy of completion_tokenKevin Van Brunt2018-03-201-8/+6
| |
* | Automatically adding an opening quote if needed during tab completionKevin Van Brunt2018-03-201-65/+84
| |
* | Adding opening quote with GNU readlineKevin Van Brunt2018-03-201-1/+47
| |
* | Simplified function that tokenizes for tab completionKevin Van Brunt2018-03-191-20/+45
| |
* | Appending closing quote and space when neededKevin Van Brunt2018-03-191-0/+14
| |
* | First steps toward automatically added opening quoteKevin Van Brunt2018-03-191-98/+67
| |
* | Allowing quotes in help commandKevin Van Brunt2018-03-191-9/+17
| |
* | Fixed pycharm warningsKevin Van Brunt2018-03-191-3/+6
| |
* | Don't try to tab complete when the cursor is right after a closed quoteKevin Van Brunt2018-03-181-1/+11
| |
* | Changed when a closing quote is addedKevin Van Brunt2018-03-181-30/+52
| |
* | Fixed Pycharm warningsKevin Van Brunt2018-03-181-15/+11
| |
* | Updated remaining completion functions to handle spaces within quotesKevin Van Brunt2018-03-181-27/+45
| |
* | Updated complete_shell to handle spaces in exesKevin Van Brunt2018-03-181-6/+14
| |
* | GNU readline hack to prevent automatically closing quotesKevin Van Brunt2018-03-181-16/+27
| |