Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent postcmd_hook from running when argparse fails | Kevin Van Brunt | 2020-03-05 | 1 | -8/+7 |
| | |||||
* | Making build_settables() public again | Kevin Van Brunt | 2020-02-28 | 1 | -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 |
| | |||||
* | Fix flake8 error. | kotfu | 2020-02-22 | 1 | -10/+15 |
| | |||||
* | 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 |
| | |||||
* | Removed hyphen from tab-completion | Kevin Van Brunt | 2020-02-21 | 1 | -6/+6 |
| | |||||
* | 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. | ||||
* | Updated comment | Kevin Van Brunt | 2020-02-20 | 1 | -2/+3 |
| | |||||
* | Renamed _autocomplete_default to _complete_argparse_command | Kevin Van Brunt | 2020-02-19 | 1 | -4/+4 |
| | |||||
* | Moved custom cmd2 exceptions to a separate file and removed them from public API | Todd Leonhardt | 2020-02-18 | 1 | -10/+1 |
| | |||||
* | 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 |
| | |||||
* | Added apply_style to CompletionError | Kevin Van Brunt | 2020-02-18 | 1 | -3/+5 |
| | | | | Simplified error class structure in argparse_completer.py | ||||
* | Fixed issue where argparse completion errors were being rewrapped as ↵ | Kevin Van Brunt | 2020-02-18 | 1 | -1/+1 |
| | | | | _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 | 1 | -2/+8 |
| | |||||
* | Renamed AutoCompleter to ArgparseCompleter for clarity | Kevin Van Brunt | 2020-02-17 | 1 | -11/+11 |
| | |||||
* | 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. | ||||
* | Renamed set command's -l/--long flag to -v/--verbose for consistency with ↵ | Kevin Van Brunt | 2020-02-10 | 1 | -2/+2 |
| | | | | help and history commands | ||||
* | Corrected issue where the actual new value was not always being printed in ↵ | Kevin Van Brunt | 2020-02-10 | 1 | -11/+9 |
| | | | | | | | | do_set. Fixed do_set unit test. Made allow_ansi setter error message consistent with str_to_bool. Updated a docstring | ||||
* | Updated documentation | Kevin Van Brunt | 2020-02-05 | 1 | -1/+1 |
| | |||||
* | No longer displaying list of subcommands in usage text of alias and macro | Kevin Van Brunt | 2020-02-05 | 1 | -2/+2 |
| | |||||
* | Fixing tab-completion hints when completing the value field of set | Kevin Van Brunt | 2020-02-05 | 1 | -1/+5 |
| | |||||
* | Updated help text | Kevin Van Brunt | 2020-02-05 | 1 | -1/+1 |
| | |||||
* | Added remove_settable() since cmd2 has add_settable() | Kevin Van Brunt | 2020-02-05 | 1 | -0/+11 |
| | | | | Documented Settable.onchange_cb | ||||
* | Added support to do_set() for setting a parameter to an empty string as well ↵ | Kevin Van Brunt | 2020-02-05 | 1 | -3/+7 |
| | | | | as something resembling an argparse flag (e.g. -h) | ||||
* | Fixed missing parenthesis | Kevin Van Brunt | 2020-02-04 | 1 | -1/+1 |
| | |||||
* | To support completer/choices functions that receive arg_tokens, changed ↵ | Kevin Van Brunt | 2020-02-04 | 1 | -26/+34 |
| | | | | complete_set_value() to pass all tokens into its AutoCompleter | ||||
* | Fixed a bug in a very unusual case and added some unit tests | Todd Leonhardt | 2020-02-04 | 1 | -1/+2 |
| | |||||
* | Updated CHANGELOG and made a few minor tweaks | Todd Leonhardt | 2020-02-04 | 1 | -7/+3 |
| | |||||
* | Updated set command to support tab completion of values | Kevin Van Brunt | 2020-02-04 | 1 | -94/+107 |
| | |||||
* | Attempt to make "help -v" more discoverable by changing the default help text | Todd Leonhardt | 2020-01-29 | 1 | -0/+3 |
| | |||||
* | Addressed PR comments | Todd Leonhardt | 2020-01-27 | 1 | -2/+0 |
| | |||||
* | Renamed locals_in_py to self_in_py | Todd Leonhardt | 2020-01-27 | 1 | -4/+4 |
| | | | | This more accurately reflects what it controls | ||||
* | Made three public attributes of cmd2.Cmd no longer settable at runtime by ↵ | Todd Leonhardt | 2020-01-27 | 1 | -8/+8 |
| | | | | | | | | | end users The 3 attributes are: - continuation_prompt - locals_in_py - prompt | ||||
* | Flushed out initialization documentation | Todd Leonhardt | 2020-01-26 | 1 | -36/+36 |
| | | | | | Also: - Rearranged some instance attributes in Cmd class to make it clear that they were not used by tab-completion functions. | ||||
* | Improved responsiveness when setting windows title and printing alerts | Kevin Van Brunt | 2020-01-17 | 1 | -0/+2 |
| | |||||
* | Updating some doc text | Kevin Van Brunt | 2020-01-16 | 1 | -1/+1 |
| | |||||
* | Add comment for broken_pipe_warning | kotfu | 2020-01-14 | 1 | -0/+1 |
| | |||||
* | Move settable documentation from source code to api docs | kotfu | 2020-01-14 | 1 | -6/+0 |
| | |||||
* | Remove attribute documentation for #821 | kotfu | 2020-01-14 | 1 | -22/+0 |
| | | | | We will not try and have Sphnix extract attribute documentation from the source code, it will just live in the documentation. | ||||
* | Merge branch 'master' into generating_output_docs | Todd Leonhardt | 2020-01-09 | 1 | -41/+49 |
|\ | | | | | | | | | | | # Conflicts: # docs/features/generating_output.rst # docs/features/settings.rst | ||||
| * | Updated documentation | Kevin Van Brunt | 2020-01-07 | 1 | -1/+1 |
| | | |||||
| * | Renamed ansi_safe_wcswidth() to style_aware_wcswidth() | Kevin Van Brunt | 2019-12-19 | 1 | -5/+5 |
| | | | | | | | | Renamed ansi_aware_write() to style_aware_write() | ||||
| * | Merge branch 'master' into ansi_to_style | Kevin Van Brunt | 2019-12-19 | 1 | -1/+1 |
| |\ |