Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmdloop now checks to see if it is running in the main thread before ↵ | Todd Leonhardt | 2018-10-21 | 1 | -0/+4 |
| | | | | attempting to register a signal handler for SIGINT | ||||
* | Deleted Cmd.colorize() method and Cmd._colorcodes dictionary which were ↵ | Todd Leonhardt | 2018-10-18 | 1 | -3/+0 |
| | | | | deprecated in 0.9.5 | ||||
* | Documentation updates | Kevin Van Brunt | 2018-10-12 | 1 | -3/+1 |
| | |||||
* | Added warning to documentation about how help_foo won't be called for ↵ | Todd Leonhardt | 2018-10-06 | 1 | -2/+10 |
| | | | | | | | command foo if it uses an argparse decorator Also: - Renamed argparse_example.py to decorator_example.py | ||||
* | Added documentation stating that parsers passed to argparse decorators need ↵ | Todd Leonhardt | 2018-10-06 | 1 | -2/+14 |
| | | | | | | | to be unique Also: - Modified table_display.py to demonstrate a workaround | ||||
* | Merge branch 'macro' into argparse_conversion | Kevin Van Brunt | 2018-09-27 | 1 | -8/+45 |
|\ | |||||
| * | Documented macros | Kevin Van Brunt | 2018-09-27 | 1 | -8/+45 |
| | | |||||
* | | Merge branch 'macro' into argparse_conversion | Kevin Van Brunt | 2018-09-26 | 2 | -12/+32 |
|\ \ | |/ | |||||
| * | Merged alert_printer stuff from master and resolved conflicts | Todd Leonhardt | 2018-09-25 | 1 | -0/+30 |
| |\ | |||||
| * \ | Merged master and resolved conflicts in CHANGELOG | Todd Leonhardt | 2018-09-25 | 2 | -52/+28 |
| |\ \ | |||||
| * \ \ | Merged master into colorize branch | Todd Leonhardt | 2018-09-12 | 1 | -7/+36 |
| |\ \ \ | |||||
| * | | | | Fixed unit test failures | Todd Leonhardt | 2018-09-04 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed following unit test failures: - Doc build failure due to Sphinx warnings - Windows unit test failures related to colorize (hopefully) | ||||
| * | | | | Merged master in and resolved conflicts | Todd Leonhardt | 2018-09-04 | 1 | -0/+7 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | @kotfu - I hope this doesn't screw you up, but I wanted to minimize some of the merge pain that will likely be coming up soon | ||||
| * | | | | | First pass at improved colorizing | kotfu | 2018-08-11 | 2 | -6/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - colors setting now allows Always, Terminal, Never values - poutput() and perror() honor these new settings | ||||
| * | | | | | Update help for ‘quiet’ setting. | kotfu | 2018-08-11 | 1 | -7/+9 |
| | | | | | | |||||
* | | | | | | First steps in converting all commands to argparse | Kevin Van Brunt | 2018-09-26 | 1 | -7/+3 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Addressing code review comments | Kevin Van Brunt | 2018-09-25 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Added more examples and documentation | Kevin Van Brunt | 2018-09-25 | 1 | -2/+9 |
| | | | | | |||||
* | | | | | Merge branch 'master' into alert_printer | Todd Leonhardt | 2018-09-25 | 2 | -52/+28 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | Deleted the hook methods which were deprecated in the previous release | Todd Leonhardt | 2018-09-25 | 2 | -52/+28 |
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following methods of cmd2.Cmd have been deleted: - preparse - postparsing_precmd - postparsing_postcmd The new application lifecycle hook framework allows for registering callbacks to be called at various points in the application lifecycle and is more powerful and flexible than the old system of fixed hook methods. | ||||
* | | | | Made async stuff public | Kevin Van Brunt | 2018-09-25 | 1 | -2/+2 |
| | | | | |||||
* | | | | Documented async functions | Kevin Van Brunt | 2018-09-24 | 1 | -0/+23 |
|/ / / | |||||
* | | | Docstring updates | Kevin Van Brunt | 2018-09-09 | 1 | -6/+6 |
| | | | |||||
* | | | Added/updated documentation for `Statement` | kotfu | 2018-09-09 | 1 | -1/+30 |
| |/ |/| | |||||
* | | Added way of returning a non-zero exit code to the shell | Todd Leonhardt | 2018-08-23 | 1 | -0/+7 |
|/ | |||||
* | Removed non-working Module Index link from the main Sphinx docs page | Todd Leonhardt | 2018-07-31 | 2 | -6/+3 |
| | | | | | | | | | Also: * Improved Sphinx build options in Makefile and via invoke by adding the following options: * -n : nit-picky mode, warn about all missing references * -v : increase verbosity (can be repeated) * -W : turn warnings into errors * -T : show full traceback on exception | ||||
* | Fix Sphinx warning due to _static directory | Todd Leonhardt | 2018-07-30 | 1 | -1/+1 |
| | | | | | Also: - Made alias_startup.py example robust as to what directory it is launched from | ||||
* | Remove docs/requirements.txt which should no longer be used | kotfu | 2018-07-30 | 1 | -5/+0 |
| | | | | Slowly trying to reduce the number of places we have dependencies specified. The documentation building processes for both `tox -e docs` and readthedocs.org should now use the dependencies specified in `setup.py`. | ||||
* | We now must install cmd2 in place for readthedocs to work | kotfu | 2018-07-30 | 1 | -0/+1 |
| | | | | Attempted fix for #483 | ||||
* | Merge branch 'master' into run_at_invocation | Todd Leonhardt | 2018-07-29 | 1 | -5/+6 |
|\ | |||||
| * | Use setuptools_scm for version numbers | kotfu | 2018-07-29 | 1 | -5/+6 |
| | | |||||
* | | Add example and documentation for #452 | kotfu | 2018-07-29 | 1 | -21/+101 |
|/ | |||||
* | Add missing dependency on attrs to docs/requirements.txt to fix Sphinx autodoc | Todd Leonhardt | 2018-07-27 | 1 | -0/+1 |
| | |||||
* | Fix documentation in regards to requirements on Python 3.4 | Todd Leonhardt | 2018-07-17 | 1 | -3/+3 |
| | | | | Added typing backport dependency for Python 3.4 | ||||
* | Fix erroneous indication that ‘precmd()’ and ‘postcmd()’ are deprecated | kotfu | 2018-07-16 | 1 | -4/+0 |
| | |||||
* | Started updating CHANGELOG | Todd Leonhardt | 2018-07-16 | 2 | -2/+6 |
| | | | | | | Also: - Bumped version to 0.9.4 - Updated info in Readme and Sphinx docs to reflect new dependency on attrs | ||||
* | Fix typo. | kotfu | 2018-07-15 | 1 | -3/+4 |
| | |||||
* | Update description of command loop | kotfu | 2018-07-15 | 2 | -25/+32 |
| | |||||
* | preloop() and postloop() should not have been shown as deprecated | kotfu | 2018-07-12 | 1 | -10/+8 |
| | |||||
* | Fix a couple minor typos in hooks.rst | Todd Leonhardt | 2018-07-11 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' into plugin_functions | kotfu | 2018-07-05 | 2 | -2/+2 |
|\ | |||||
| * | Bumped version to 0.9.3 now that 0.9.2 release is out | Todd Leonhardt | 2018-06-28 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.9.2 in preparation for release | Todd Leonhardt | 2018-06-28 | 1 | -1/+1 |
| | | |||||
| * | Deprecated CmdResult helper class and promoted CommandResult | Todd Leonhardt | 2018-06-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | These classes are subtly different, particularly in terms of their truthiness. CmdResult - attributes: out, err, war - truthy: if err is falsy CommandResult - attributes: stdout, stderr, data - truthy: if err is falsy AND data is not None So CmdResult was oriented to provide essentially info, error, and warning messages to the user (typically as stirngs), whereas CommandResult is geared towards providing info and error messages to the user as strings in addition to data to the user in a command-specific format which is arbitrary other than it should never be None if the command succeeds. | ||||
* | | Add command finalization hooks | kotfu | 2018-07-05 | 1 | -0/+2 |
| | | |||||
* | | Postcommand hooks implemented | kotfu | 2018-06-22 | 1 | -11/+12 |
| | | |||||
* | | Revised postparsing hooks | kotfu | 2018-06-21 | 1 | -19/+25 |
| | | |||||
* | | Formating and light editing | kotfu | 2018-06-03 | 1 | -23/+36 |
| | | |||||
* | | Precommand hooks now check typing of passed callables | kotfu | 2018-06-03 | 1 | -11/+22 |
| | | |||||
* | | Begin converting precmd to passing and returning a data object | kotfu | 2018-06-03 | 1 | -3/+11 |
| | |