Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate support for Python 3.4 and begin testing with Python 3.8 beta | Todd Leonhardt | 2019-06-14 | 1 | -6/+1 |
| | |||||
* | Updated unit test | Kevin Van Brunt | 2019-06-12 | 1 | -4/+3 |
| | |||||
* | Transcript generation no longer terminates _cmdloop() when a command returns ↵ | Kevin Van Brunt | 2019-06-12 | 1 | -4/+3 |
| | | | | True for stop | ||||
* | Fixed unit tests | Kevin Van Brunt | 2019-06-12 | 3 | -74/+93 |
| | |||||
* | Removed support for cmd.cmdqueue | Kevin Van Brunt | 2019-06-11 | 3 | -40/+41 |
| | | | | allow_cli_args is now an argument to __init__ instead of a cmd2 class member | ||||
* | Added unit test for stopping during transcript generation | Kevin Van Brunt | 2019-06-10 | 1 | -0/+23 |
| | |||||
* | Added unit test | Kevin Van Brunt | 2019-06-10 | 2 | -0/+23 |
| | |||||
* | Removed copyright headers from source files and updated LICENSE with current ↵ | Kevin Van Brunt | 2019-06-07 | 9 | -27/+0 |
| | | | | year | ||||
* | Removed self._should_quit from cmd2 and add logic to PyscriptBridge to ↵ | Kevin Van Brunt | 2019-06-07 | 1 | -1/+0 |
| | | | | | | return whether a command returned True for stop. Added stop to CommandResult so pyscripts can now know the return value of a command's do_* function. | ||||
* | Refactored how and when transcript file glob patterns are expanded in order ↵ | Todd Leonhardt | 2019-06-06 | 1 | -1/+20 |
| | | | | to present a better error message to user | ||||
* | Merge branch 'master' into script_refactor | Kevin Van Brunt | 2019-06-06 | 2 | -126/+346 |
|\ | |||||
| * | Changed wrapping point of history's help text to match all other help text ↵ | Kevin Van Brunt | 2019-06-05 | 1 | -1/+2 |
| | | | | | | | | in cmd2 | ||||
| * | Add the -a/--all flag to the history command for showing all commands ↵ | Todd Leonhardt | 2019-05-27 | 2 | -4/+77 |
| | | | | | | | | | | | | | | | | | | | | including those persisted from previous sessions Also: - History class has been modified to keep track of the session start index - History class span(), str_search(), and regex_search() methods now take an optional 2nd boolean parameter `include_persisted` which determines whether or not commands persisted from previous sessions should be included by default - If a start index is manually specified, then it automatically includes the full search - Updates unit tests | ||||
| * | Improve unit test coverage for history | kotfu | 2019-05-25 | 1 | -65/+128 |
| | | |||||
| * | Refactored implementation of HistoryItem.__str__ and added an explicit ↵ | Todd Leonhardt | 2019-05-25 | 1 | -6/+15 |
| | | | | | | | | HistoryItem unit test | ||||
| * | Manually check whether persistent_history_file is a directory | kotfu | 2019-05-25 | 1 | -12/+5 |
| | | |||||
| * | Another try to fix the appveyor on windows permission issue | kotfu | 2019-05-25 | 1 | -10/+12 |
| | | |||||
| * | Try and fix an Appveyor permission problem | kotfu | 2019-05-25 | 1 | -1/+6 |
| | | |||||
| * | Resolve PR feedback | kotfu | 2019-05-25 | 1 | -8/+5 |
| | | |||||
| * | Populate readline history from unpickled history | kotfu | 2019-05-24 | 1 | -40/+28 |
| | | |||||
| * | Refactor HistoryItem to not subclass str | kotfu | 2019-05-24 | 1 | -30/+91 |
| | | |||||
| * | Cleanup some history tests | kotfu | 2019-05-24 | 1 | -7/+3 |
| | | |||||
| * | Initializing history now detects plaintext or pickle format | kotfu | 2019-05-24 | 1 | -8/+40 |
| | | |||||
* | | Removed _STOP_AND_EXIT cmd2 class member since it was meant to be a boolean ↵ | Kevin Van Brunt | 2019-06-04 | 1 | -1/+2 |
| | | | | | | | | constant and was only used internally | ||||
* | | Running commands from history stops if a command returns True for its stop ↵ | Kevin Van Brunt | 2019-05-24 | 1 | -1/+0 |
| | | | | | | | | value. The command loop will also terminate. | ||||
* | | Removed most return statements from finally blocks to avoid hiding exceptions | Kevin Van Brunt | 2019-05-24 | 1 | -5/+10 |
| | | |||||
* | | Change load to run scripts immediately instead of queueing commands | Kevin Van Brunt | 2019-05-23 | 1 | -66/+65 |
|/ | |||||
* | Modified transcript testing so that the useless exception trackeback isn't ↵ | Todd Leonhardt | 2019-05-21 | 1 | -2/+2 |
| | | | | printed in failure cases | ||||
* | Refactor exit_code implementation | Todd Leonhardt | 2019-05-20 | 3 | -5/+34 |
| | | | | | | | | | | | | cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer Also: - Refactored examples to call sys.exit(app.cmdloop()) in their __main__ - Running transcript tests now sets the exit_code accordingly based on success/failure - Updated CHANGELOG - Updated README - Updated Sphinx docs - Added unit test for case when transcript test fails | ||||
* | Added unit tests | Kevin Van Brunt | 2019-05-15 | 1 | -17/+39 |
| | |||||
* | Increased code coverage of _complete_worker() to 100% | Kevin Van Brunt | 2019-05-13 | 1 | -2/+43 |
| | |||||
* | Added unit tests | Kevin Van Brunt | 2019-05-13 | 1 | -0/+28 |
| | |||||
* | Added unit test | Kevin Van Brunt | 2019-05-13 | 1 | -0/+15 |
| | |||||
* | Added unit tests | Kevin Van Brunt | 2019-05-13 | 1 | -1/+99 |
| | |||||
* | Removed unused code | Kevin Van Brunt | 2019-05-13 | 1 | -1/+0 |
| | |||||
* | Fixed parsing issue in case where output redirection (e.g. > file) appears ↵ | Kevin Van Brunt | 2019-05-13 | 1 | -4/+8 |
| | | | | | | before a pipe. In that case, the pipe was given precedence even though it appeared later in the command. | ||||
* | Added capability to redirect pipe commands and chain them together | Kevin Van Brunt | 2019-05-07 | 2 | -18/+17 |
| | |||||
* | Merged master and resolved conflicts in CHANGELOG | Todd Leonhardt | 2019-05-07 | 2 | -4/+33 |
|\ | |||||
| * | Improved code coverage | Kevin Van Brunt | 2019-05-07 | 1 | -4/+15 |
| | | |||||
| * | Merge branch 'master' into completion_exceptions | Kevin Van Brunt | 2019-05-06 | 2 | -8/+8 |
| |\ | |||||
| * \ | Merge branch 'master' into completion_exceptions | Kevin Van Brunt | 2019-05-06 | 1 | -1/+0 |
| |\ \ | |||||
| * | | | Exceptions occurring in tab completion functions are now printed to stderr ↵ | Kevin Van Brunt | 2019-05-06 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | before returning control back to readline | ||||
* | | | | Merge branch 'master' into macro_refactor | Kevin Van Brunt | 2019-05-06 | 2 | -8/+8 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Merge branch 'master' into argparse_error | Kevin Van Brunt | 2019-05-06 | 1 | -1/+0 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | ACArgumentParser no longer prints complete help text when a parsing error occurs | Kevin Van Brunt | 2019-05-06 | 2 | -8/+8 |
| | |/ | |/| | |||||
* | | | Merge branch 'master' into macro_refactor | Kevin Van Brunt | 2019-05-06 | 1 | -1/+0 |
|\ \ \ | | |/ | |/| | |||||
| * | | Fixed issue where the wrong terminator was being appended by ↵ | Kevin Van Brunt | 2019-05-06 | 1 | -1/+0 |
| |/ | | | | | | | Statement.expanded_command_line() | ||||
* | | Updated unit test | Kevin Van Brunt | 2019-05-05 | 1 | -6/+6 |
| | | |||||
* | | Broke _complete_statement into 2 functions. | Kevin Van Brunt | 2019-05-05 | 1 | -0/+5 |
| | | | | | | | | Fixed issue where terminators could not be used in alias/macro values. | ||||
* | | Macros can now share their name with a command | Kevin Van Brunt | 2019-05-02 | 1 | -5/+0 |
| | |