Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed docstring | Kevin Van Brunt | 2020-03-12 | 1 | -1/+1 | |
| | ||||||
* | Added unit test for Cmd2ArgparseError | Kevin Van Brunt | 2020-03-12 | 1 | -1/+38 | |
| | ||||||
* | Added Cmd2ShlexError | Kevin Van Brunt | 2020-03-12 | 1 | -2/+2 | |
| | ||||||
* | Moved custom cmd2 exceptions to a separate file and removed them from public API | Todd Leonhardt | 2020-02-18 | 3 | -8/+8 | |
| | ||||||
* | Added apply_style to CompletionError | Kevin Van Brunt | 2020-02-18 | 1 | -39/+0 | |
| | | | | 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/+41 | |
| | | | | _ActionCompletionError in some cases | |||||
* | Updated unit test | Kevin Van Brunt | 2020-02-17 | 1 | -2/+5 | |
| | ||||||
* | Made CompletionError exception available to non-argparse tab completion | Kevin Van Brunt | 2020-02-17 | 1 | -2/+2 | |
| | ||||||
* | Renamed AutoCompleter to ArgparseCompleter for clarity | Kevin Van Brunt | 2020-02-17 | 1 | -12/+12 | |
| | ||||||
* | Only tab complete after redirection tokens if redirection is allowed | Kevin Van Brunt | 2020-02-17 | 1 | -28/+32 | |
| | ||||||
* | Updated documentation and tests | Kevin Van Brunt | 2020-02-17 | 1 | -1/+8 | |
| | ||||||
* | Fixed bug where pyscripts could edit cmd2.Cmd.py_locals dictionary. | Kevin Van Brunt | 2020-02-14 | 6 | -19/+34 | |
| | | | | | | | | | 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. | |||||
* | Removed dash from 'tab complete' string | Kevin Van Brunt | 2020-02-13 | 2 | -8/+8 | |
| | ||||||
* | Allowing for colored fill char in align_text | Kevin Van Brunt | 2020-02-11 | 1 | -1/+10 | |
| | | | | Added function to index all style sequences found in a string | |||||
* | Fixed bug where ANSI style sequences were not correctly handled in ↵ | Kevin Van Brunt | 2020-02-11 | 1 | -6/+37 | |
| | | | | utils.truncate_line() | |||||
* | 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 | -8/+11 | |
| | | | | | | | | do_set. Fixed do_set unit test. Made allow_ansi setter error message consistent with str_to_bool. Updated a docstring | |||||
* | Added unit test for ColorBase.colors() | Kevin Van Brunt | 2020-02-07 | 1 | -0/+7 | |
| | ||||||
* | Added __str__() back to ColorBase for more flexibility in its usage | Kevin Van Brunt | 2020-02-07 | 1 | -6/+18 | |
| | | | | Updated documentation and added unit tests | |||||
* | Removed unnecessary methods from fg and bg color enums | Todd Leonhardt | 2020-02-07 | 1 | -12/+6 | |
| | ||||||
* | Having two parallel datastructures each for foreground and background colors ↵ | Todd Leonhardt | 2020-02-06 | 1 | -5/+10 | |
| | | | | | | felt really clunky - now we just have one The Enum classes are now smart and deal with it all. | |||||
* | Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background ↵ | Todd Leonhardt | 2020-02-06 | 1 | -0/+14 | |
| | | | | | | colors which style() can now optionally use This is to make it easier to autocomplete color names in an IDE | |||||
* | No longer displaying list of subcommands in usage text of alias and macro | Kevin Van Brunt | 2020-02-05 | 1 | -2/+2 | |
| | ||||||
* | 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 | 2 | -1/+7 | |
| | | | | 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 | -1/+11 | |
| | | | | as something resembling an argparse flag (e.g. -h) | |||||
* | Added unit tests | Kevin Van Brunt | 2020-02-05 | 1 | -10/+41 | |
| | ||||||
* | Removed unnecessary inheritance from object | Kevin Van Brunt | 2020-02-04 | 1 | -1/+1 | |
| | ||||||
* | Fixed a bug in a very unusual case and added some unit tests | Todd Leonhardt | 2020-02-04 | 2 | -0/+26 | |
| | ||||||
* | Updated CHANGELOG and made a few minor tweaks | Todd Leonhardt | 2020-02-04 | 1 | -39/+0 | |
| | ||||||
* | Updated set command to support tab completion of values | Kevin Van Brunt | 2020-02-04 | 4 | -35/+16 | |
| | ||||||
* | 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 | 4 | -18/+5 | |
| | | | | | | | | | end users The 3 attributes are: - continuation_prompt - locals_in_py - prompt | |||||
* | Updating unit tests and docs | Kevin Van Brunt | 2020-01-20 | 1 | -0/+15 | |
| | ||||||
* | Renamed function | Kevin Van Brunt | 2020-01-17 | 1 | -15/+15 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2020-01-17 | 1 | -1/+38 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2020-01-17 | 1 | -10/+17 | |
| | ||||||
* | Updated documentation | Kevin Van Brunt | 2020-01-07 | 1 | -1/+1 | |
| | ||||||
* | Added dim text style support | Kevin Van Brunt | 2020-01-07 | 1 | -4/+13 | |
| | ||||||
* | Renamed ansi_safe_wcswidth() to style_aware_wcswidth() | Kevin Van Brunt | 2019-12-19 | 2 | -3/+3 | |
| | | | | Renamed ansi_aware_write() to style_aware_write() | |||||
* | Merge branch 'master' into ansi_to_style | Kevin Van Brunt | 2019-12-19 | 3 | -63/+44 | |
|\ | ||||||
| * | Updating unit tests | Kevin Van Brunt | 2019-12-17 | 1 | -0/+15 | |
| | | ||||||
| * | Updating unit tests | Kevin Van Brunt | 2019-12-17 | 3 | -63/+29 | |
| | | ||||||
* | | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵ | Kevin Van Brunt | 2019-12-19 | 6 | -41/+41 | |
|/ | | | | sequences are handled | |||||
* | Merge branch 'master' into rstrip | Kevin Van Brunt | 2019-12-10 | 1 | -2/+2 | |
|\ | ||||||
| * | Increased code coverage in argparse_completer.py back to 100% | Kevin Van Brunt | 2019-12-10 | 1 | -2/+2 | |
| | | ||||||
* | | Increased code coverage | Kevin Van Brunt | 2019-12-10 | 1 | -11/+17 | |
|/ | ||||||
* | Renamed functions based on code review comments. Fixed Python warnings. | Kevin Van Brunt | 2019-12-09 | 1 | -32/+32 | |
| | ||||||
* | Added more unit tests for text alignment | Kevin Van Brunt | 2019-12-09 | 1 | -10/+28 | |
| | ||||||
* | Added more text alignment unit tests | Kevin Van Brunt | 2019-12-09 | 1 | -1/+8 | |
| |