Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed Cmd2ArgParser to ArgParser | Kevin Van Brunt | 2019-07-12 | 2 | -6/+5 |
| | |||||
* | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-11 | 1 | -3/+3 |
|\ | |||||
| * | Restore self.statement_parser to a public attribute in cmd2.Cmd | Todd Leonhardt | 2019-07-10 | 1 | -3/+3 |
| | | |||||
* | | More argparse completer unit tests | Kevin Van Brunt | 2019-07-07 | 1 | -6/+6 |
| | | |||||
* | | Moved all custom argparse classes intended for normal development to ↵ | Kevin Van Brunt | 2019-07-07 | 1 | -3/+2 |
| | | | | | | | | | | | | | | argparse_custom.py. Lazy loading AutoCompleter in cmd2 instance methods to allow argparse_completer.py to import cmd2.Cmd class. This Architecture makes more sense because AutoCompleter depends on cmd2.Cmd. | ||||
* | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-06 | 2 | -4/+63 |
|\ \ | |/ | |||||
| * | Merge branch 'master' into docstructure | kotfu | 2019-07-06 | 1 | -5/+0 |
| |\ | |||||
| * | | Fix build error for unused import | kotfu | 2019-07-06 | 1 | -1/+0 |
| | | | |||||
| * | | Work on Getting Started section of documentation | kotfu | 2019-07-06 | 1 | -0/+61 |
| | | | | | | | | | | | | | | | - change the walk through from example.py to a new first_app.py (based on example.py) - remove the feature tour section, we’ll use the first application to demo the key features | ||||
| * | | Added a walkthrough of constructing a simple application to the overview | kotfu | 2019-07-05 | 1 | -4/+3 |
| | | | | | | | | | | | | For #709 | ||||
* | | | Simplifying unit tests for AutoCompleter | Kevin Van Brunt | 2019-07-05 | 1 | -1/+3 |
| | | | |||||
* | | | Fixed unit tests | Kevin Van Brunt | 2019-07-05 | 2 | -493/+0 |
| | | | |||||
* | | | Fixing examples | Kevin Van Brunt | 2019-07-04 | 1 | -39/+25 |
| | | | |||||
* | | | Fixing examples | Kevin Van Brunt | 2019-07-04 | 1 | -2/+3 |
| | | | |||||
* | | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-04 | 1 | -5/+0 |
|\ \ \ | | |/ | |/| | |||||
| * | | Reverting changes that should have been made on a different branch | Kevin Van Brunt | 2019-07-04 | 1 | -3/+2 |
| | | | |||||
| * | | Fixing some examples | Kevin Van Brunt | 2019-07-04 | 2 | -7/+3 |
| |/ | |||||
* | | Fixing unit tests | Kevin Van Brunt | 2019-07-04 | 1 | -4/+2 |
|/ | |||||
* | Whitespace and doc fixes | Kevin Van Brunt | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | Fixed a couple example transcripts that didn't get updated when colors got ↵ | Todd Leonhardt | 2019-06-29 | 2 | -2/+2 |
| | | | | renamed to allow_ansi | ||||
* | Updated color examples to support bold and underline options | Todd Leonhardt | 2019-06-28 | 2 | -2/+6 |
| | |||||
* | Improve background color display of prompt in async_printing.py example | Todd Leonhardt | 2019-06-28 | 1 | -1/+1 |
| | |||||
* | Simplified ansi color dictionaries and lookup methods | Todd Leonhardt | 2019-06-27 | 5 | -163/+47 |
| | | | | | | | Also: - Updated examples that use color to use cmd2.ansi instead of colorama - Updated tests that use color to use cmd2.ansi instead of colorama - plumbum_colorspy example shows how to override color lookup functions to use a different color library | ||||
* | Changed signature of style() to allow for simpler calling and overriding of ↵ | Kevin Van Brunt | 2019-06-26 | 1 | -1/+1 |
| | | | | settings in a provided TextStyle | ||||
* | Added TextStyle class and default implementations for various message types ↵ | Kevin Van Brunt | 2019-06-26 | 1 | -1/+2 |
| | | | | like Warning, Error, and Succes | ||||
* | Moved code related to ANSI escape codes to new file called ansi.py | Kevin Van Brunt | 2019-06-26 | 1 | -2/+1 |
| | |||||
* | Renamed style_message to style | Kevin Van Brunt | 2019-06-26 | 1 | -1/+1 |
| | |||||
* | Removed color args from poutput since the style function is going to do more ↵ | Kevin Van Brunt | 2019-06-25 | 1 | -14/+2 |
| | | | | than color | ||||
* | Replaced more pexcept uses with perror | Kevin Van Brunt | 2019-06-25 | 2 | -8/+8 |
| | |||||
* | Initial Commit for Issue 698 | xNinjaKittyx | 2019-06-24 | 3 | -10/+9 |
| | |||||
* | Made tokens_for_completion() method public since a couple of our examples use it | Todd Leonhardt | 2019-06-23 | 1 | -3/+3 |
| | |||||
* | Made last_result public and restored the initialization of it in __init__ ↵ | Todd Leonhardt | 2019-06-23 | 2 | -6/+6 |
| | | | | and associated comment | ||||
* | Restored a few attributes to be public | Todd Leonhardt | 2019-06-23 | 1 | -5/+5 |
| | |||||
* | Fixed a bunch of examples which were broken due to moving DEFAULT_SHORTCUTS ↵ | Todd Leonhardt | 2019-06-16 | 7 | -7/+7 |
| | | | | from cmd2.py to constants.py | ||||
* | Began work to minimize public API | Todd Leonhardt | 2019-06-15 | 3 | -11/+11 |
| | |||||
* | Updated comment | Kevin Van Brunt | 2019-06-15 | 1 | -4/+4 |
| | |||||
* | Updated various documentation and tests to not use load | Todd Leonhardt | 2019-06-15 | 2 | -6/+6 |
| | |||||
* | Fix unit test failures I introduced in last commit | Todd Leonhardt | 2019-06-15 | 1 | -2/+2 |
| | |||||
* | Updated documentation | Kevin Van Brunt | 2019-06-15 | 4 | -7/+7 |
| | |||||
* | Updated comment | Kevin Van Brunt | 2019-06-15 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into history_fixes | Kevin Van Brunt | 2019-06-14 | 7 | -13/+4 |
|\ | |||||
| * | Removed support for cmd.cmdqueue | Kevin Van Brunt | 2019-06-11 | 3 | -7/+2 |
| | | | | | | | | allow_cli_args is now an argument to __init__ instead of a cmd2 class member | ||||
| * | Removed copyright headers from source files and updated LICENSE with current ↵ | Kevin Van Brunt | 2019-06-07 | 2 | -6/+0 |
| | | | | | | | | year | ||||
| * | Transcript testing now properly handles commands which signal the ↵ | Todd Leonhardt | 2019-06-06 | 2 | -0/+2 |
| | | | | | | | | | | | | application to quit Implemented an antediluvian TODO | ||||
* | | Fix history display issues | Todd Leonhardt | 2019-06-13 | 1 | -1/+2 |
|/ | | | | | | | | | | | Issues were two fold: - HistoryItem statement.raw was getting mangled for multiline commands due to macro-related changes in _input_line_to_statement() - HistoryItem pretty printing wasn't using rstrip() anymore in verbose mode I added a couple unit tests in the process of getting here. But we should add some explicit unit tests of _input_line_to_statement() for cases like: - basic single-line command - macro single-line command - multiline command | ||||
* | Changed example cmd2 history file's extension from txt to dat since it is ↵ | Kevin Van Brunt | 2019-06-05 | 1 | -1/+1 |
| | | | | now binary | ||||
* | Refactor exit_code implementation | Todd Leonhardt | 2019-05-20 | 23 | -36/+56 |
| | | | | | | | | | | | | cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer Also: - Refactored examples to call sys.exit(app.cmdloop()) in their __main__ - Running transcript tests now sets the exit_code accordingly based on success/failure - Updated CHANGELOG - Updated README - Updated Sphinx docs - Added unit test for case when transcript test fails | ||||
* | Improved code coverage | Kevin Van Brunt | 2019-05-07 | 2 | -2/+2 |
| | |||||
* | Fixed issue when printing alerts caused by a prompt with a new line character | Kevin Van Brunt | 2019-03-21 | 1 | -4/+4 |
| | |||||
* | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-17 | 1 | -5/+11 |
|\ |