| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Removed os.system in favor of do_shell | Kevin Van Brunt | 2019-02-21 | 1 | -19/+17 |
| | | |||||
| * | Changed examples to reflect that settable doesn't need to be updated before ↵ | Kevin Van Brunt | 2019-02-20 | 1 | -2/+3 |
| | | | | | calling init() | ||||
| * | Added unit test | Kevin Van Brunt | 2019-02-20 | 1 | -0/+3 |
| | | |||||
| * | Increased code coverage | Kevin Van Brunt | 2019-01-24 | 1 | -1/+1 |
| | | |||||
| * | Fixed typos in comments | Todd Leonhardt | 2018-12-13 | 1 | -2/+2 |
| | | |||||
| * | Fixed bug in cmd2.Cmd.select() when user enters 0 or negative number | Todd Leonhardt | 2018-12-13 | 1 | -1/+25 |
| | | |||||
| * | Fix Deprecation warnings for escape sequences | kotfu | 2018-12-06 | 1 | -5/+5 |
| | | |||||
| * | Change deprecated mock to mocker | kotfu | 2018-12-06 | 1 | -6/+6 |
| | | |||||
| * | Removed ERROR: text from perror output | Kevin Van Brunt | 2018-12-06 | 2 | -27/+20 |
| | | |||||
| * | Fix flake8 issues | Todd Leonhardt | 2018-12-06 | 33 | -3/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | This commit contains a very large number of trivial changes in order to fix flake8 errors and warnings. Predominantly these are whitespace changes. Additionally, the build for Python 3.7 on TravisCI has been tweaked to fail if there are any flake8 errors using the following commandline: * flake8 . --count --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics NOTE: In the future the max cyclomatic complexity should be lowered, but some improvements need to be made first. One flake8 error is being ignored entirely: * E252 missing whitespace around parameter equals * ignored because it doesn't correctly deal with default argument values after a type hint A few flake8 errors are being selectively ignored in certain files: * C901 fuction is too complex * ignored in argparse_completer.py because the complex code is an override of argparse complexity * E302 expected 2 blank lines after ... * ignored in all unit test files for convenience * F401 module imported but unused * ignored in cmd2/__init__.py because imports are for convenience of cmd2 developers and backwards compatibility * F821 undefined name * ignored in cmd2 script files which are intended to run only within cmd2 applications via pyscript where "app" and "cmd" are defined | ||||
| * | Made it so default_to_shell results in do_shell being called so that output ↵ | Kevin Van Brunt | 2018-11-30 | 2 | -35/+12 |
| | | | | | can be captured | ||||
| * | Renamed display_width to ansi_safe_wcswidth | Kevin Van Brunt | 2018-11-16 | 1 | -2/+2 |
| | | |||||
| * | Added wrapper for wcswidth that removes ansi escape characters | Kevin Van Brunt | 2018-11-15 | 1 | -0/+5 |
| | | |||||
| * | Strip color codes when redirecting w/ ppaged() | Ethan McCreadie | 2018-11-01 | 1 | -0/+18 |
| | | |||||
| * | Added more code coverage of shell_cmd_complete | Kevin Van Brunt | 2018-10-26 | 1 | -0/+15 |
| | | |||||
| * | Added more coverage for path_complete | Kevin Van Brunt | 2018-10-26 | 1 | -3/+24 |
| | | |||||
| * | Refactored filtering in path_complete to use a function | Kevin Van Brunt | 2018-10-26 | 1 | -1/+1 |
| | | |||||
| * | Deleted Cmd.colorize() method and Cmd._colorcodes dictionary which were ↵ | Todd Leonhardt | 2018-10-18 | 1 | -10/+0 |
| | | | | | deprecated in 0.9.5 | ||||
| * | You can now call a macro with extra arguments | Kevin Van Brunt | 2018-10-12 | 1 | -11/+20 |
| | | |||||
| * | Fixed ArgparseFunctor to allow flag looking tokens in REMAINDER sections | Kevin Van Brunt | 2018-10-10 | 1 | -2/+3 |
| | | |||||
| * | Fixed issue where flag at beginning of REMAINDER section was tab completing | Kevin Van Brunt | 2018-10-10 | 1 | -8/+23 |
| | | |||||
| * | Added code to handle -- in argparse completer | Kevin Van Brunt | 2018-10-10 | 3 | -34/+57 |
| | | |||||
| * | Increasing code coverage | Kevin Van Brunt | 2018-10-09 | 1 | -0/+24 |
| | | |||||
| * | Added unit tests | Kevin Van Brunt | 2018-10-09 | 1 | -1/+18 |
| | | |||||
| * | Added additional unit test for StdSim | Todd Leonhardt | 2018-10-09 | 1 | -0/+12 |
| | | |||||
| * | Added tests for token_resembles_flag | Kevin Van Brunt | 2018-10-09 | 1 | -1/+16 |
| | | |||||
| * | Fixed unit test failures and addressed code review comments | Todd Leonhardt | 2018-10-06 | 1 | -1/+1 |
| | | |||||
| * | No longer using stderr and self.data together to determine truthiness of a ↵ | Kevin Van Brunt | 2018-10-05 | 1 | -1/+15 |
| | | | | | | | | CommandResult. Either self.data is used or if that's not possible, then self.stderr is used. This provided applications the ability to print to stderr even if an error didn't occur. | ||||
| * | Using sub-command instead of subcommand where possible to be consistent with ↵ | Kevin Van Brunt | 2018-10-05 | 3 | -28/+28 |
| | | | | | argparse | ||||
| * | Added unit tests for new methods of StdSim | Todd Leonhardt | 2018-10-03 | 1 | -0/+10 |
| | | |||||
| * | Added unit test for valid case of calling is_valid_command() | Todd Leonhardt | 2018-10-03 | 1 | -6/+12 |
| | | |||||
| * | Added unit test for is_valid_command | Kevin Van Brunt | 2018-10-03 | 1 | -0/+26 |
| | | |||||
| * | Merge branch 'master' into py_enhancements | Todd Leonhardt | 2018-10-03 | 1 | -1/+7 |
| |\ | |||||
| | * | Added unit test for categorized command without a docstring | Kevin Van Brunt | 2018-10-03 | 1 | -1/+7 |
| | | | |||||
| * | | Returned cmd_echo default to False except when running a Python command at ↵ | Kevin Van Brunt | 2018-10-02 | 18 | -0/+18 |
| | | | | | | | | | the CLI | ||||
| * | | Don't worry about unquoting alias and macro names as they shouldn't be ↵ | Kevin Van Brunt | 2018-10-02 | 1 | -32/+0 |
| | | | | | | | | | entered this way anyway | ||||
| * | | Default cmd_echo to True in PyscriptBridge so things like 'py app.help()' ↵ | Kevin Van Brunt | 2018-10-02 | 18 | -18/+0 |
| |/ | | | | will show output | ||||
| * | Remove self from pystate if locals_in_py is False | Kevin Van Brunt | 2018-10-01 | 1 | -1/+18 |
| | | |||||
| * | Preserving quotes for do_py input | Kevin Van Brunt | 2018-10-01 | 1 | -0/+5 |
| | | |||||
| * | Fixed transcript testing bug where last command in transcript has no ↵ | Todd Leonhardt | 2018-09-30 | 3 | -1/+9 |
| | | | | | | | | expected output Also: - Added unit test for this specific case | ||||
| * | Merged master into transcript_fixes branch and resolved conflicts | Todd Leonhardt | 2018-09-30 | 14 | -295/+968 |
| |\ | |||||
| | * | Added more code coverage with unit tests | Kevin Van Brunt | 2018-09-28 | 1 | -0/+17 |
| | | | |||||
| | * | Added unit test for onchange_hook | Kevin Van Brunt | 2018-09-28 | 1 | -0/+24 |
| | | | |||||
| | * | Added more code coverage | Kevin Van Brunt | 2018-09-28 | 1 | -0/+9 |
| | | | |||||
| | * | Merge branch 'macro' into argparse_conversion | Kevin Van Brunt | 2018-09-28 | 2 | -7/+6 |
| | |\ | |||||
| | | * | Addressing code review comments | Kevin Van Brunt | 2018-09-28 | 2 | -7/+6 |
| | | | | |||||
| | * | | Merge branch 'macro' into argparse_conversion | Kevin Van Brunt | 2018-09-27 | 3 | -7/+22 |
| | |\ \ | | |/ | |||||
| | | * | Made _func_named() more reliable | Kevin Van Brunt | 2018-09-27 | 2 | -4/+19 |
| | | | | | | | | | | | | | Added unit tests | ||||
| | | * | Addressing code review comments | Kevin Van Brunt | 2018-09-27 | 1 | -3/+3 |
| | | | | |||||
| | * | | Merge branch 'macro' into argparse_conversion | Kevin Van Brunt | 2018-09-27 | 2 | -0/+116 |
| | |\ \ | | |/ | |||||
