| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Replaced more pexcept uses with perror | Kevin Van Brunt | 2019-06-25 | 1 | -1/+1 |
| | | |||||
| * | Made last_result public and restored the initialization of it in __init__ ↵ | Todd Leonhardt | 2019-06-23 | 1 | -1/+1 |
| | | | | | and associated comment | ||||
| * | Updated docs | Kevin Van Brunt | 2019-05-16 | 1 | -1/+4 |
| | | |||||
| * | Added documentation for ns_provider | Kevin Van Brunt | 2019-05-16 | 1 | -1/+23 |
| | | |||||
| * | Updated docs and example | Kevin Van Brunt | 2019-03-17 | 1 | -2/+2 |
| | | |||||
| * | Added more documentation | Kevin Van Brunt | 2019-03-17 | 1 | -1/+3 |
| | | |||||
| * | Updated examples and documentation pertaining to disabling commands | Kevin Van Brunt | 2019-03-10 | 1 | -132/+0 |
| | | |||||
| * | Minor doc updates that fix a few typos and inaccuracies | Todd Leonhardt | 2019-02-06 | 1 | -2/+3 |
| | | |||||
| * | Removed a few unecessary newlines | Todd Leonhardt | 2018-10-26 | 1 | -3/+0 |
| | | |||||
| * | Improved documentation for argument parsing decorators | Todd Leonhardt | 2018-10-26 | 1 | -0/+17 |
| | | | | | | Also: - Improved type hinting for these decorators | ||||
| * | 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 | ||||
| * | Docstring updates | Kevin Van Brunt | 2018-09-09 | 1 | -6/+6 |
| | | |||||
| * | Added/updated documentation for `Statement` | kotfu | 2018-09-09 | 1 | -1/+30 |
| | | |||||
| * | 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. | ||||
| * | Added some documentation related to the latest changes. | Eric Lin | 2018-04-21 | 1 | -6/+4 |
| | | |||||
| * | Merge branch 'master' into delete_optparse | Todd Leonhardt | 2018-04-11 | 1 | -0/+132 |
| |\ | | | | | | | | | # Conflicts: # cmd2.py | ||||
| | * | Added a with_category decorator that can be used to tag a command category. | Eric Lin | 2018-04-11 | 1 | -0/+132 |
| | | | | | | | | | | | | | | | | | | | Changed the detection of with_argparse decorated commands to be less hacky/brittle. Now it tags the function with help_summary. Fixed issue with handling commands that provide a custom help_ function. We can now redirect the output to a string to be formatted with the other commands. Added some documentation explaining the new help categories. Updated unit tests. | ||||
| * | | Deleted optparse code which had been previously deprecated in 0.8.0 release | Todd Leonhardt | 2018-04-09 | 1 | -39/+0 |
| |/ | | | | | Also: - Bumped version to 0.8.4 | ||||
| * | Documented cmd_with_subs_completer function | Kevin Van Brunt | 2018-03-16 | 1 | -0/+6 |
| | | |||||
| * | Improved argument processing docs | Todd Leonhardt | 2018-02-01 | 1 | -14/+38 |
| | | | | | | | | | Improved the documentation related to how to use the argparse decorators. Also: - Fixed a comment in cmd2.py which referred to the old decorator before the rename - Fixed README.md which had the old decorator name in it prior to the rename | ||||
| * | Renamed @with_argument_parser decorator to @with_argparser | Todd Leonhardt | 2018-01-21 | 1 | -9/+9 |
| | | | | | | Also: - Reanamed foo and bar subcommand methods to base_foo and base_bar | ||||
| * | Added unit tests for newly-overridden complete() method | Todd Leonhardt | 2018-01-20 | 1 | -2/+11 |
| | | | | | Also added a section on Sub-commands to the documentation. | ||||
| * | Simplified a few argparse examples and fixed some incorrect documentation | Todd Leonhardt | 2018-01-17 | 1 | -10/+12 |
| | | | | | | | I eliminated a few "narg=1" configurations so that a single str value is returned instead of a List[str]. I also reworded some documentation which was no longer correct after the last commit which made "history command" have the same help text as "command -h" when using one of the two argparse decorators. | ||||
| * | Revised some of the Sphinx documentation which referenced the deprecated ↵ | Todd Leonhardt | 2018-01-15 | 1 | -0/+2 |
| | | | | | @options optparse-based decorator | ||||
| * | Changed @with_argument_parser to only pass single argument to commands | Todd Leonhardt | 2018-01-15 | 1 | -10/+33 |
| | | | | | Also added another @with_argparser_and_list decorator that uses argparse.parse_known_args to pass two arguments to a command: both the argparse output and a list of unknown/unmatched args. | ||||
| * | remove use_argument_list attribute | kotfu | 2018-01-14 | 1 | -33/+1 |
| | | |||||
| * | new @with_argument_list decorator | kotfu | 2018-01-12 | 1 | -0/+51 |
| | | |||||
| * | @with_argument_parser now passes an arglist instead of a string | kotfu | 2018-01-12 | 1 | -5/+8 |
| | | |||||
| * | Trivial doc change to get readthedocs to rebuild | Todd Leonhardt | 2018-01-10 | 1 | -2/+3 |
| | | |||||
| * | Write documentation | kotfu | 2018-01-07 | 1 | -112/+146 |
| | | |||||
| * | Plan and first working code for argparse decorator | Jared Crapo | 2017-12-11 | 1 | -0/+141 |
