Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced unicode escape sequence for horizontal ellipsis with actual character | Kevin Van Brunt | 2020-02-11 | 1 | -1/+3 |
| | |||||
* | Fix optional type hint | Todd Leonhardt | 2020-02-11 | 1 | -2/+2 |
| | | | | typing.OrderedDict wasn't added until Python 3.7.2; so replace with Dict. | ||||
* | Allowing for colored fill char in align_text | Kevin Van Brunt | 2020-02-11 | 1 | -14/+34 |
| | | | | Added function to index all style sequences found in a string | ||||
* | Whitespace | Kevin Van Brunt | 2020-02-11 | 1 | -0/+1 |
| | |||||
* | Fixed bug where ANSI style sequences were not correctly handled in ↵ | Kevin Van Brunt | 2020-02-11 | 2 | -17/+62 |
| | | | | 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 | -11/+9 |
| | | | | | | | | do_set. Fixed do_set unit test. Made allow_ansi setter error message consistent with str_to_bool. Updated a docstring | ||||
* | Fixed docs error | Kevin Van Brunt | 2020-02-07 | 1 | -1/+2 |
| | |||||
* | Updated plumbum example | Kevin Van Brunt | 2020-02-07 | 1 | -9/+10 |
| | |||||
* | Added __str__() back to ColorBase for more flexibility in its usage | Kevin Van Brunt | 2020-02-07 | 1 | -4/+18 |
| | | | | Updated documentation and added unit tests | ||||
* | Simplified ColorBase.__add__() | Kevin Van Brunt | 2020-02-07 | 1 | -6/+0 |
| | |||||
* | Corrected docstring | Kevin Van Brunt | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | Support using fg and bg enum in + operations to build color strings | Kevin Van Brunt | 2020-02-07 | 1 | -16/+33 |
| | |||||
* | Removed unnecessary methods from fg and bg color enums | Todd Leonhardt | 2020-02-07 | 1 | -20/+2 |
| | |||||
* | Simplified fg's and bg's get_value() | Kevin Van Brunt | 2020-02-07 | 1 | -2/+2 |
| | |||||
* | Removed repeated Pycharm warning suppression | Kevin Van Brunt | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | Renamed argument from color to name for fg.get_value() and bg.get_value() | Todd Leonhardt | 2020-02-06 | 1 | -4/+4 |
| | |||||
* | Suppressed bogus PyCharm warnings and improved error message for invalid ↵ | Todd Leonhardt | 2020-02-06 | 1 | -2/+6 |
| | | | | colors passed to style | ||||
* | Having two parallel datastructures each for foreground and background colors ↵ | Todd Leonhardt | 2020-02-06 | 1 | -49/+27 |
| | | | | | | 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 | 2 | -13/+73 |
| | | | | | | colors which style() can now optionally use This is to make it easier to autocomplete color names in an IDE | ||||
* | 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 |
| | |||||
* | Added more to Settable docstring | Kevin Van Brunt | 2020-02-05 | 1 | -2/+9 |
| | |||||
* | Added more to onchange_cb documentation | Kevin Van Brunt | 2020-02-05 | 1 | -3/+7 |
| | |||||
* | 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 | -4/+18 |
| | | | | Documented Settable.onchange_cb | ||||
* | Updated documentation | Kevin Van Brunt | 2020-02-05 | 1 | -2/+4 |
| | |||||
* | 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 | ||||
* | Removed unnecessary inheritance from object | Kevin Van Brunt | 2020-02-04 | 3 | -8/+8 |
| | |||||
* | Added cmd2.utils.Settable to the cmd2 namespace and updated examples and docs | Todd Leonhardt | 2020-02-04 | 1 | -0/+1 |
| | |||||
* | Fixed a bug in a very unusual case and added some unit tests | Todd Leonhardt | 2020-02-04 | 2 | -5/+7 |
| | |||||
* | Updated CHANGELOG and made a few minor tweaks | Todd Leonhardt | 2020-02-04 | 2 | -44/+8 |
| | |||||
* | Updated set command to support tab completion of values | Kevin Van Brunt | 2020-02-04 | 2 | -97/+165 |
| | |||||
* | 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. | ||||
* | Import ABC from collections.abc instead of collections for Python 3.9 ↵ | Karthikeyan Singaravelan | 2020-01-22 | 1 | -2/+3 |
| | | | | compatibility. | ||||
* | Renamed function | Kevin Van Brunt | 2020-01-17 | 1 | -14/+14 |
| | |||||
* | Updating unit tests | Kevin Van Brunt | 2020-01-17 | 1 | -2/+2 |
| | |||||
* | Added string truncation function and support for it in the alignment functions | Kevin Van Brunt | 2020-01-17 | 1 | -14/+71 |
| | |||||
* | 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 |
| | |||||
* | Updating docs for default style functions | Kevin Van Brunt | 2020-01-16 | 1 | -3/+3 |
| | |||||
* | Add comment for broken_pipe_warning | kotfu | 2020-01-14 | 1 | -0/+1 |
| | |||||
* | Clean up function documentation so it renders properly | kotfu | 2020-01-14 | 1 | -3/+7 |
| |