summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'master' into plugin_functionskotfu2018-05-261-19/+130
|\ \ | |/
| * Merge branch 'master' into pyshell_readlineKevin Van Brunt2018-05-251-319/+40
| |\
| * | Updated comments and removed unneeded callKevin Van Brunt2018-05-251-8/+11
| | |
| * | Fixed issue where IPython was overwriting prompts and exception formatting ↵Kevin Van Brunt2018-05-251-1/+25
| | | | | | | | | | | | in the Python console
| * | Made Python console tab complete from the correct namespace.Kevin Van Brunt2018-05-241-59/+58
| | | | | | | | | | | | Reduced the amount of code within a try block.
| * | Clearing py's history before rebuilding itKevin Van Brunt2018-05-231-6/+8
| | |
| * | Added tab completion of Python identifiers when running the Python consoleKevin Van Brunt2018-05-231-6/+51
| | |
| * | Stopped sharing history between cmd2 and python consoleKevin Van Brunt2018-05-231-12/+48
| | |
* | | Allow registration of multiple postparsing hookskotfu2018-05-261-1/+30
| |/ |/|
* | Make changes requested in PR #413kotfu2018-05-241-2/+8
| |
* | Fix merge errorkotfu2018-05-231-2/+0
| |
* | Merge branch 'master' into speedup_importkotfu2018-05-231-46/+76
|\ \ | |/ | | | | | | | | | | # Conflicts: # cmd2/cmd2.py # tests/test_completion.py # tests/test_submenu.py
| * Merge branch 'master' into pyscriptEric Lin2018-05-161-394/+132
| |\
| | * Completing alias names in value field of alias command since aliases can be ↵Kevin Van Brunt2018-05-151-3/+5
| | | | | | | | | | | | nested
| | * Get rid of last hard-coded redirection constantskotfu2018-05-101-7/+4
| | |
| | * Remove cmd2.Cmd.redirector for #381kotfu2018-05-101-7/+12
| | |
| | * Extract submenu code to new projectkotfu2018-05-091-264/+0
| | |
| | * Updated warning messageKevin Van Brunt2018-05-081-4/+4
| | |
| | * Expanded readline warning to include other missing featuresKevin Van Brunt2018-05-081-3/+5
| | |
| | * Grouped readline code togetherKevin Van Brunt2018-05-081-14/+13
| | |
| | * Merge branch 'master' into ignore_identcharskotfu2018-05-071-12/+27
| | |\
| | | * Added newline to warningKevin Van Brunt2018-05-071-1/+1
| | | |
| | | * Added warning if tab completion will be disabled. Not allowing libeditKevin Van Brunt2018-05-071-12/+27
| | | |
| | * | Make alias checking and command parsing use the same regexkotfu2018-05-071-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a new is_valid_command() method on StatementParser to determine whether a string of characters could be a valid command. That means it can’t include any redirection, quote chars, whitespace, or terminator characters. This method is used when someone tries to create an alias, to ensure when we try and parse the alias that it will actually parse. This nicely encapsulates and standardizes all the logic for parsing and expansion into the StatementParser class. Also fix a bug in the regex to match valid command names, and add a bunch of new unit tests to ensure the bug stays fixed.
| | * | Clarify comments for self.invalid_alias_patternkotfu2018-05-061-1/+4
| | | |
| | * | Merge branch 'master' into ignore_identcharskotfu2018-05-061-62/+8
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | # Conflicts: # cmd2/parsing.py # tests/test_parsing.py
| | * | Don’t allow wierd characters in alias nameskotfu2018-05-061-0/+19
| | | |
| | * | Remove check on self.identchars in do_alias()kotfu2018-05-051-7/+0
| | | | | | | | | | | | | | | | self.identchars is no longer used by cmd2.
| * | | Some more pyscripting tweaks. Fixed issue with capturing ppaged output. ↵Eric Lin2018-05-041-3/+15
| | | | | | | | | | | | | | | | Added pyscript bridge to ipy command. Saving progress.
* | | | Move more code from cmd2.py into utils.pykotfu2018-05-061-98/+4
| | | |
* | | | Extract AddSubmenu() into it’s own modulekotfu2018-05-061-261/+0
| | | |
* | | | Defer 5 more importskotfu2018-05-061-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - datetime - functools - io - subprocess - traceback
* | | | Defer five importskotfu2018-05-061-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - atexit - codecs - signal - tempfile - copy
* | | | Defer import of InteractiveConsolekotfu2018-05-061-1/+1
| | | |
* | | | Defer import of unittestkotfu2018-05-061-211/+3
| |_|/ |/| |
* | | Fixed commentKevin Van Brunt2018-05-061-2/+1
| | |
* | | Refactor parseline() for #380kotfu2018-05-051-54/+4
| | |
* | | Refactor self.complete() for #380kotfu2018-05-051-6/+3
| |/ |/| | | | | Use self.statement_parser() instead of self.parseline()
* | Refactor transcript from history implementation and testkotfu2018-05-041-59/+63
| |
* | Fix transcript generate to close #385kotfu2018-05-041-18/+38
| |
* | Fix #384, multiline commands now appear properly in transcriptskotfu2018-05-031-6/+17
|/
* Merge branch 'test_merge' into test_ply_mergeEric Lin2018-05-021-10/+26
|\
| * Merge branch 'bash_completion' into bash_to_pyscriptEric Lin2018-05-021-54/+41
| |\
| | * Merge branch 'master' into bash_completionTodd Leonhardt2018-04-281-34/+36
| | |\
| | * \ Merge remote-tracking branch 'origin/master' into bash_completionEric Lin2018-04-271-36/+23
| | |\ \ | | | | | | | | | | | | | | | Updated argcomplete_bridge to use new constants/utils.
| | * | | Initial customization of CompletionFinderEric Lin2018-04-241-17/+1
| | | | |
| * | | | Updated some documentation.Eric Lin2018-05-021-3/+3
| | | | |
| * | | | Restored legacy cmd/self access when locals_in_py is True. Changed default ↵Eric Lin2018-05-021-2/+6
| | | | | | | | | | | | | | | | | | | | to False
| * | | | Added support for customizing the pyscript bridge pystate object name.Eric Lin2018-05-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed all legacy pystate objects. Changed default behavior to clear _last_result before each command Added utility for creating named tuples with default values Added tests to exercise new changes.
| * | | | Merge remote-tracking branch 'origin/master' into pyscriptEric Lin2018-04-271-32/+18
| |\ \ \ \ | | | |/ / | | |/| |