Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | run_pyscript now passes a keyword arg to do_py instead of using a hidden ↵ | Kevin Van Brunt | 2020-04-21 | 1 | -9/+8 |
| | | | | argparse flag | ||||
* | argument_list and argparse wrappers now pass kwargs through to the wrapped ↵ | Kevin Van Brunt | 2020-04-20 | 1 | -7/+35 |
| | | | | command function | ||||
* | Updated error text | Kevin Van Brunt | 2020-04-20 | 1 | -4/+2 |
| | |||||
* | cmd2 now considers ipy a pyscript environment | Kevin Van Brunt | 2020-04-20 | 1 | -8/+17 |
| | |||||
* | Consistently use :raises: instead of :raises (make sure there is a trailing ↵ | Todd Leonhardt | 2020-04-20 | 3 | -6/+6 |
| | | | | colon) | ||||
* | Fix doc build | Todd Leonhardt | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | ipy now returns its PyBridge's stop value so the main loop can know to stop. ↵ | Kevin Van Brunt | 2020-04-20 | 1 | -10/+29 |
| | | | | This is consistent with the py command. | ||||
* | Removed exception handling around tempfile.TemporaryFile() | Kevin Van Brunt | 2020-04-13 | 1 | -5/+1 |
| | |||||
* | onecmd_plus_hooks() no longer handles updating any state data related to ↵ | Kevin Van Brunt | 2020-04-12 | 2 | -51/+56 |
| | | | | | | redirection. For simplicity, it's all done in _redirect_output() and _restore_output(). | ||||
* | Simplfied _redirect_output() by raising exception instead of returning bool | Kevin Van Brunt | 2020-04-11 | 3 | -39/+40 |
| | |||||
* | Simplified onecmd_plus_hooks by reducing number of calls to ↵ | Kevin Van Brunt | 2020-04-11 | 1 | -6/+6 |
| | | | | _run_cmdfinalization_hooks() | ||||
* | Made some optional arguments with defaults keyword-only. | Kevin Van Brunt | 2020-04-11 | 3 | -9/+10 |
| | | | | | Added unit test for echo argument to pyscript app() command. Removed _relative_load from hidden commands since that command was renamed. | ||||
* | Removed the shebang from cmd2.py which was a hangover from when that file ↵ | Todd Leonhardt | 2020-04-08 | 1 | -1/+0 |
| | | | | formerly had a __main__ | ||||
* | Updated comment | Kevin Van Brunt | 2020-03-26 | 1 | -1/+1 |
| | |||||
* | Since runcode() catches most KeyboardInterrupts, just ignore any that make ↵ | Kevin Van Brunt | 2020-03-26 | 1 | -5/+3 |
| | | | | | | their way up to our code. This is more consistent than raising the rare few that we see. | ||||
* | Ctrl-C now stops a running text script instead of just the current script ↵ | Kevin Van Brunt | 2020-03-26 | 1 | -17/+33 |
| | | | | command | ||||
* | do_shell() now saves the return code of the command it runs in ↵ | Kevin Van Brunt | 2020-03-20 | 1 | -0/+3 |
| | | | | self.last_result for use in pyscripts | ||||
* | Added Cmd2ShlexError | Kevin Van Brunt | 2020-03-12 | 4 | -18/+32 |
| | |||||
* | Changed name of exception class as requested in code review | Kevin Van Brunt | 2020-03-05 | 3 | -7/+7 |
| | |||||
* | Prevent postcmd_hook from running when argparse fails | Kevin Van Brunt | 2020-03-05 | 3 | -10/+15 |
| | |||||
* | Making build_settables() public again | Kevin Van Brunt | 2020-02-28 | 2 | -4/+4 |
| | |||||
* | Removed duplicate word and capitalized two comment sentences | Kevin Van Brunt | 2020-02-25 | 2 | -3/+3 |
| | |||||
* | Clarify docstring for cmd_func | kotfu | 2020-02-24 | 1 | -0/+7 |
| | |||||
* | Revise docstring for _build_settables | kotfu | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | standardize language on ‘ansi style sequences’ | kotfu | 2020-02-24 | 1 | -9/+9 |
| | |||||
* | Revise table of contents to include a description of each module | kotfu | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | Add examples to argpars decorators | kotfu | 2020-02-24 | 1 | -3/+31 |
| | |||||
* | Fix flake8 error. | kotfu | 2020-02-22 | 1 | -10/+15 |
| | |||||
* | Add py_bridge API documentation | kotfu | 2020-02-22 | 1 | -18/+24 |
| | |||||
* | Add argparse stuff to api | kotfu | 2020-02-22 | 1 | -142/+173 |
| | |||||
* | Revisions and improvements for hooks and plugins | kotfu | 2020-02-22 | 1 | -10/+20 |
| | |||||
* | Make build_settables a private method. | kotfu | 2020-02-22 | 1 | -3/+3 |
| | |||||
* | Add stubs and documentation for parent methods. Fix #896 | kotfu | 2020-02-22 | 1 | -1/+42 |
| | |||||
* | Merge branch 'master' into api_docs | kotfu | 2020-02-21 | 2 | -12/+9 |
|\ | |||||
| * | Removed hyphen from tab-completion | Kevin Van Brunt | 2020-02-21 | 2 | -8/+8 |
| | | |||||
| * | Since CompletionError handling has been moved from ArgparseCompleter to ↵ | Kevin Van Brunt | 2020-02-21 | 1 | -4/+1 |
| | | | | | | | | | | | | complete(), there is no longer a need to suppress tab hints in the top-level parser for do_set. | ||||
* | | plugin and hook documentation updates | kotfu | 2020-02-20 | 1 | -0/+4 |
| | | | | | | | | | | | | - add api documentation for plugin data classes - update hook and plugin documentation to link to now documented api classes | ||||
* | | Add history api documentation | kotfu | 2020-02-20 | 1 | -16/+26 |
| | | |||||
* | | Embedded examples and cross-links for categorize() and with_category() | kotfu | 2020-02-20 | 2 | -1/+16 |
| | | |||||
* | | Fix merge error | kotfu | 2020-02-20 | 1 | -15/+0 |
| | | |||||
* | | Merge branch 'master' into api_docs | kotfu | 2020-02-20 | 7 | -253/+260 |
|\ \ | |/ | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md # cmd2/__init__.py # cmd2/decorators.py # docs/api/utility_functions.rst | ||||
| * | Updated comment | Kevin Van Brunt | 2020-02-20 | 1 | -2/+3 |
| | | |||||
| * | Moved categorize() to utils.py and made set_parser_prog() non-public | Kevin Van Brunt | 2020-02-20 | 3 | -22/+23 |
| | | |||||
| * | Renamed _autocomplete_default to _complete_argparse_command | Kevin Van Brunt | 2020-02-19 | 1 | -4/+4 |
| | | |||||
| * | Oops forgot to commit a file | Todd Leonhardt | 2020-02-18 | 1 | -0/+12 |
| | | |||||
| * | Moved custom cmd2 exceptions to a separate file and removed them from public API | Todd Leonhardt | 2020-02-18 | 2 | -11/+2 |
| | | |||||
| * | Redrawing the prompt when an exception occurs during tab completion | Kevin Van Brunt | 2020-02-18 | 1 | -0/+1 |
| | | |||||
| * | Updated change log and comment | Kevin Van Brunt | 2020-02-18 | 1 | -1/+1 |
| | | |||||
| * | Removed extra new line in error message | Kevin Van Brunt | 2020-02-18 | 1 | -1/+1 |
| | | |||||
| * | Added apply_style to CompletionError | Kevin Van Brunt | 2020-02-18 | 3 | -48/+32 |
| | | | | | | | | Simplified error class structure in argparse_completer.py |