Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | 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 | ||||
* | | Add example to with_argument_list docstring | kotfu | 2020-02-10 | 1 | -3/+13 |
| | | |||||
* | | All public api functions now documented | kotfu | 2020-02-08 | 1 | -3/+45 |
|/ | |||||
* | 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 |
| |