Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | Fixed issue where argparse completion errors were being rewrapped as ↵ | Kevin Van Brunt | 2020-02-18 | 2 | -8/+17 |
| | | | | | | | | _ActionCompletionError in some cases | ||||
| * | Updated unit test | Kevin Van Brunt | 2020-02-17 | 1 | -0/+1 |
| | | |||||
| * | Made CompletionError exception available to non-argparse tab completion | Kevin Van Brunt | 2020-02-17 | 5 | -145/+134 |
| | | |||||
| * | Renamed AutoCompleter to ArgparseCompleter for clarity | Kevin Van Brunt | 2020-02-17 | 4 | -40/+40 |
| | | |||||
| * | Only tab complete after redirection tokens if redirection is allowed | Kevin Van Brunt | 2020-02-17 | 1 | -2/+2 |
| | | |||||
| * | Updated documentation and tests | Kevin Van Brunt | 2020-02-17 | 1 | -1/+3 |
| | | |||||
| * | Fixed bug where pyscripts could edit cmd2.Cmd.py_locals dictionary. | Kevin Van Brunt | 2020-02-14 | 1 | -45/+47 |
| | | | | | | | | | | | | | | | | | | Fixed bug where cmd2 set sys.path[0] for a pyscript to its cwd instead of the script's directory. Fixed bug where sys.path was not being restored after a pyscript ran. Setting the following pyscript variables: __name__: __main__ __file__: script path (as typed) Removed do_py.run() function since it didn't handle arguments and offered no benefit over run_pyscript. | ||||
* | | Add API documentation for constants | kotfu | 2020-02-15 | 1 | -3/+7 |
| | | |||||
* | | Add documentation for parsing classes | kotfu | 2020-02-14 | 2 | -122/+104 |
| | | |||||
* | | move `categorize()` to `utils.py` and make `set_parser_prog` a private method | kotfu | 2020-02-14 | 3 | -21/+22 |
| | | |||||
* | | Merge branch 'master' into api_docs | kotfu | 2020-02-14 | 6 | -57/+115 |
|\ \ | |/ | | | | | | | | | # Conflicts: # cmd2/ansi.py # docs/features/completion.rst | ||||
| * | Using metavar in CompletionItem header if it has been set | Kevin Van Brunt | 2020-02-13 | 1 | -2/+4 |
| | | |||||
| * | Removed dash from 'tab complete' string | Kevin Van Brunt | 2020-02-13 | 1 | -7/+7 |
| | |