summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated formattingtest_oneKevin Van Brunt2018-10-131-1/+1
|
* Merge pull request #578 from python-cmd2/func_plus_hooks0.9.6kmvanbrunt2018-10-133-27/+37
|\ | | | | Func plus hooks
| * Removed venvKevin Van Brunt2018-10-131-4/+1
| |
| * Moved bug fixes to topKevin Van Brunt2018-10-131-4/+4
| |
| * Added bug fixes to change logKevin Van Brunt2018-10-131-0/+3
| |
| * RefactoredKevin Van Brunt2018-10-132-26/+30
| |
| * Argparse commands called as methods of PyscriptBridge now go through ↵Kevin Van Brunt2018-10-121-14/+15
| | | | | | | | onecmd_plus_hooks
| * Non-argparse commands called as methods of PyscriptBridge now go through ↵Kevin Van Brunt2018-10-121-1/+6
|/ | | | onecmd_plus_hooks
* Merge pull request #576 from python-cmd2/extra_argskmvanbrunt2018-10-124-18/+38
|\ | | | | You can now call a macro with extra arguments
| * You can now call a macro with extra argumentsKevin Van Brunt2018-10-124-18/+38
|/
* Merge pull request #575 from python-cmd2/prompt_updatekmvanbrunt2018-10-127-84/+86
|\ | | | | Do not asynchronously redraw continuation prompts
| * Documentation updatesKevin Van Brunt2018-10-125-10/+7
| |
| * Refactored async_alertKevin Van Brunt2018-10-111-56/+43
| |
| * Using wcwidth to calculate display width of promptKevin Van Brunt2018-10-114-26/+34
| |
| * Do not asynchronously update continuation promptsKevin Van Brunt2018-10-111-16/+26
|/
* Fixed invoke command text0.9.5Kevin Van Brunt2018-10-111-1/+1
|
* Filled in 0.9.5 release dateKevin Van Brunt2018-10-111-1/+1
|
* Merge pull request #573 from python-cmd2/double_dashkmvanbrunt2018-10-119-61/+123
|\ | | | | Double dash
| * Syle-based refactorKevin Van Brunt2018-10-111-2/+2
| |
| * Fixed ArgparseFunctor to allow flag looking tokens in REMAINDER sectionsKevin Van Brunt2018-10-103-4/+9
| |
| * Fixed issue where flag at beginning of REMAINDER section was tab completingKevin Van Brunt2018-10-102-18/+31
| |
| * Added code to handle -- in argparse completerKevin Van Brunt2018-10-106-57/+101
|/
* Merge pull request #571 from python-cmd2/argparse_remainderTodd Leonhardt2018-10-0916-85/+311
|\ | | | | Fixes related to handling of argparse.REMAINDER
| * Increasing code coverageKevin Van Brunt2018-10-091-0/+24
| |
| * Added unit testsKevin Van Brunt2018-10-091-1/+18
| |
| * Added additional unit test for StdSimTodd Leonhardt2018-10-091-0/+12
| |
| * Added tests for token_resembles_flagKevin Van Brunt2018-10-092-2/+18
| |
| * Fixed error where an inner stream like StringIO doesn't have a buffer attribute.Kevin Van Brunt2018-10-091-2/+8
| |
| * Added ability for argcompleter to determine difference between flag and ↵Kevin Van Brunt2018-10-092-15/+37
| | | | | | | | negative number
| * Use argparser to determine if a token looks like an optionalKevin Van Brunt2018-10-071-17/+2
| |
| * Allowing negative number values when checking for optional prefix charactersKevin Van Brunt2018-10-071-5/+6
| |
| * Added check to prevent optional value strings from being accepted as positionalsKevin Van Brunt2018-10-061-4/+23
| |
| * Quoting strings with utility functionKevin Van Brunt2018-10-061-5/+3
| |
| * Added warning to documentation about how help_foo won't be called for ↵Todd Leonhardt2018-10-064-8/+16
| | | | | | | | | | | | | | 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 Leonhardt2018-10-063-13/+33
| | | | | | | | | | | | | | to be unique Also: - Modified table_display.py to demonstrate a workaround
| * Moved main.py to exampels/hello_cmd2.py and added some commentsTodd Leonhardt2018-10-061-1/+5
| |
| * Fixed unit test failures and addressed code review commentsTodd Leonhardt2018-10-064-23/+24
| |
| * Merge remote-tracking branch 'origin/master' into argparse_remainderEric Lin2018-10-0612-91/+134
| |\ | |/ |/|
* | Merge pull request #570 from python-cmd2/title_lockTodd Leonhardt2018-10-051-17/+32
|\ \ | | | | | | set_window_title() will no longer write to stderr unless self._terminal_lock can be acquired
| * | set_window_title() will no longer write to stderr unless self._terminal_lock ↵Kevin Van Brunt2018-10-051-17/+32
|/ / | | | | | | can be acquired
* | Merge pull request #569 from python-cmd2/command_resultkmvanbrunt2018-10-052-4/+25
|\ \ | | | | | | No longer using stderr and self.data together to determine truthiness of a CommandResult.
| * | Simplified codeKevin Van Brunt2018-10-051-1/+1
| | |
| * | No longer using stderr and self.data together to determine truthiness of a ↵Kevin Van Brunt2018-10-052-4/+25
|/ / | | | | | | | | | | | | 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.
* | Merge pull request #568 from python-cmd2/sub-commandTodd Leonhardt2018-10-0511-70/+77
|\ \ | | | | | | Using sub-command instead of subcommand where possible to be consistent with argparse
| * | Using sub-command instead of subcommand where possible to be consistent with ↵Kevin Van Brunt2018-10-0511-70/+77
|/ / | | | | | | argparse
| * Added description of changes to CHANGELOG.Eric Lin2018-10-061-0/+10
| |
| * Fixed a few edge cases:Eric Lin2018-10-062-6/+19
| | | | | | | | | | | | | | | | | | - Once the argument list can match a positional and that positional is tagged with nargs=argparse.REMAINDER it will consume all tokens including flag tokens. AutoCompleter now correctly detects this case will no longer attempt to complete flag tokens - A single-character token that is a flag prefix doesn't count as a flag and is parsed as a value. AutoCompleter now correctly detects this case.
| * Added handling of nargs=argparse.REMAINDER in both AutoCompleter and ↵Eric Lin2018-10-063-48/+118
|/ | | | | | | | ArgparseFunctor Should correctly force all subsequent arguments to go to the REMAINDER argument once it is detected. Re-arranged the command generation in ArgparseFunctor to print flag arguments before positionals Also forces the remainder arguments to always be last.
* Merge pull request #565 from python-cmd2/subparser_titlesTodd Leonhardt2018-10-041-2/+2
|\ | | | | Added title subcommand groups
| * Added hyphen to subparser titleKevin Van Brunt2018-10-041-2/+2
| |